看Sybase官方手册学索引工作原理
不过似乎多是大公司的遗留系统。正是上面的历史原因,Sybase中不少语法跟MS SQLServer的T-SQL很像。现在网上的Sybase资料和文档比较少,多是很多年以前的了。这个Sybase的在线帮助手册算是比较完整的了,地址是http://infocenter.sybase.com。
Indexes are the most important physical design element in improving database performance:
-
Indexes help prevent table scans. Instead of reading hundreds of data pages, a few index pages and data pages can satisfy many queries.
-
For some queries, data can be retrieved from a nonclustered index without ever accessing the data rows.
-
Clustered indexes can randomize data inserts, avoiding insert “hot spots” on the last page of a table.
-
Indexes can help avoid sorts, if the index order matches the order of columns in an order by clause.
In addition to their performance benefits, indexes can enforce the uniqueness of data.
Indexes are database objects that can be created for a table to speed direct access to specific data rows. Indexes store the values of the key(s) that were named when the index was created, and logical pointers to the data pages or to other index pages.
Although indexes speed data retrieval, they can slow down data modifications, since most changes to the data also require updating the indexes.
Types of indexes
Adaptive Server provides two types of indexes:
-
Clustered indexes, where the table data is physically stored in the order of the keys on the index:
-
For allpages-locked tables, rows are stored in key order on pages, and pages are linked in key order.
-
For data-only-locked tables, indexes are used to direct the storage of data on rows and pages, but strict key orderi
-
上一个:PB9写的一个拆解SQL语句的通用函数
下一个:sybase sa密码重置
- 更多SYBASE疑问解答:
- 用vb.net 或是 c#.net 连接sybase数据库,读取的中文是乱码,怎么解决?数据库是现成的,不能重构。。。
- jtree sybase的连接的问题。。。
- sybase与jtree的连接
- sybase与jtree的连接的问题。。。
- oracle 如何调用 sybase 的数据
- sybase与oracle数据库的服务端口分别是什么?
- 数据库里面的数据被删除了,有没有什么工具可以修复?比如是sybase ,oracle等等,要详细一点解决方案,
- 主流数据库(比如oracle、mysql、sybase等)有哪些提供了存储、传输加密?加密方式是什么?
- 请问不同数据库管理系统之间有什么异同呢,比如Oracle,SQL Server,DB2,SYBASE,MY SQL,VF,Access。
- 小生新入门,能不能简略的比较下oracle、SQL Server、DB2、sybase、mySQL五款主流数据系统优缺点,搞b/s的
- ORACLE,Sybase,MsSql 三个分别应用什么场合?
- MSSQL转Sybase问题
- Oracle、DB2、MySQL、SQL Server、Sybase这几款数据的重点应用领域分别是哪些?比如电信、互联网、银行等礯百度知道
- Oracle,DB2,Sybase等数据库一年的授权费大概多少钱呢?
- 银行应聘数据库管理人员,要求db2,informix,sybase等大型数据库,请朋友们支招~~如何准备