query tuning and system performance