On index-based query in SQL Server database
Indexes are very important in query data from database, especially in large scale of data. Rational use of index technology is essential in improving database's query performance. SQL Server database use B + tree structure to store indexes. Clustered index can change data's physical positi...
Saved in:
| Published in | Chinese Control Conference pp. 9519 - 9523 |
|---|---|
| Main Author | |
| Format | Conference Proceeding Journal Article |
| Language | English |
| Published |
TCCT
01.07.2016
|
| Subjects | |
| Online Access | Get full text |
| ISSN | 1934-1768 |
| DOI | 10.1109/ChiCC.2016.7554868 |
Cover
| Summary: | Indexes are very important in query data from database, especially in large scale of data. Rational use of index technology is essential in improving database's query performance. SQL Server database use B + tree structure to store indexes. Clustered index can change data's physical position. Both of Clustered index and non-clustered index depend on B + index tree to query data. Non-clustered index should depend on either data row pointer or clustered index key to find the retrieve data. Two algorithms are used in SQL Server database to retrieve data. Usually table scan should be avoided except that large-scale of data involved in the query or most columns of the table are covered in the query. Table seek has a better efficiency for most cases. Some principle of how to use index properly are given in this paper. The paper also suggest that functions, calculations and some query conditions should to be avoided or replaced, or to be used as little as possible in query statement to make indexes effective. |
|---|---|
| Bibliography: | ObjectType-Article-2 SourceType-Scholarly Journals-1 ObjectType-Conference-1 ObjectType-Feature-3 content type line 23 SourceType-Conference Papers & Proceedings-2 |
| ISSN: | 1934-1768 |
| DOI: | 10.1109/ChiCC.2016.7554868 |