Removed duplicate d parameter. Used i for disk parameter for sga indexing