How would you optimize a database query for a high-traffic Tesla service to reduce latency and improve throughput?
Using the provided Tesla service tables, write a PostgreSQL query that returns the requested operational summary for active requests opened on or after March 1, 2025.
center_name, service_type, open_request_count, and oldest_opened_at.open or in_progress.center_name ascending, then service_type ascending with NULL values last.| Column | Type | Description |
|---|---|---|
| request_idPK | INT | Service request identifier |
| center_id | INT | Service center identifier |
| service_type | VARCHAR(80) | Requested service category |
| status | VARCHAR(30) | Current request status |
| opened_at | TIMESTAMP | Timestamp when the request was opened |
| Column | Type | Description |
|---|---|---|
| center_idPK | INT | Service center identifier |
| center_name | VARCHAR(100) | Tesla service center name |
| city | VARCHAR(80) | City where the service center operates |