Download presentation
Presentation is loading. Please wait.
Published byJoseph Pelfrey Modified over 10 years ago
1
Tuning in Relational Systems 2012/06/04
2
Index The performance of queries largely depends upon what indexes or hashing scheme exist. – Efficiency of queries – Maintain overload
3
Tuning in Relational Systems As a DBA (database administrator), you have to know: – The files that are accessed by queries. – The attributes on which selection conditions are specified. – Expected frequency of invocation of query and transaction. – Time constraints of queries and transaction.
4
Tuning in Relational Systems As a DBA, you have to decide: – Indexing – Denormalization Tuning in Relational Systems – Tuning indexes – Tuning the database design – Tuning queries
5
Tuning Indexes Certain queries may take too long to run for lack of indexes. Certain indexes may not get utilized at all. Certain indexes may be causing excessive overhead because the index is on an attribute that undergoes frequent changes.
6
Tuning the Database Design Existing tables may be joined because certain attributes from two or more tables are frequently needed together. For the given set of tables, there may be alternative design choices, all of which achieves 3NF or BCNF.
7
Tuning Queries A query issues too many disk access. The query plan shows that relevant indexes are not being used.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.