sql database administrator interview questions shared by candidates
We have data that gets loaded once a week. With that in mind we have an application that clients enter search data in to and then SQL has to dynamically build a statement that has 25 different data points/relationships. It works fine, but takes upwards of 30 seconds to return the data to the client. You can not change the existing schema, but you can however add to it. Indexes are already present and optimized on all the different tables. What could you do to make this process much faster??
Without being able to restructure the existing schema your only choice is to de-normalize the data. When the data gets loaded on that weekly schedule, also build a flat table so there are no relationships being built.
Create a denormalized view with indexes on it for most frequently asked questions and read directly from that!
See Interview Questions for Similar Jobs
- Registered Nurse
- Human Resource
- Graphic Designer
- Mechanical Engineer
- Dental Assistant
- Sales Associate