Optimizing University Data Systems with AI-Driven Database Analytics