unique 是指值不可重复的索引,是用B*树来保存的。
bitmap 一般用于值重复率很高的索引,如性别字段只有男、女两种选项。
bitmap 一般用于值重复率很高的索引,如性别字段只有男、女两种选项。
解决方案 »
- 存储过程
- 請教ORACLE中自增列函數是什麼
- 求助:查出一个表里面每个主键的满足一定条件的唯一一条记录(Oracle)
- vs2008连接Oracle数据库问题
- 如何实现SQL的轮流显示
- 请问如下sql查询语句怎么写
- red flag6下安装oracle10g,每次安装到62%时总卡在linking ntcontab这里
- 怎么用pl/sql语句 ,判断一个表,和序列是否存在,如果存在就删除,重建呢?
- 建立job出错
- 我的存储函数中返回记录集时所用的cursor类型为什么不对?
- oracle的OracleszhoraHTTPServer服务强占了我的80端口,,怎样改过来??
- 请各位大侠帮忙:怎样用sql 把一个表空间中的表复制到另一个表空间?
Specify UNIQUE to indicate that the value of the column (or columns) upon which the index is based must be unique. If the index is local nonprefixed (see local_partitioned_index), then the index key must contain the partitioning key.BITMAP
Specify BITMAP to indicate that index is to be created with a bitmap for each distinct key, rather than indexing each row separately. Bitmap indexes store the rowids associated with a key value as a bitmap. Each bit in the bitmap corresponds to a possible rowid, and if the bit is set, it means that the row with the corresponding rowid contains the key value. The internal representation of bitmaps is best suited for applications with low levels of concurrent transactions, such as data warehousing.
--------------------------------------------------------------------------------
Note:
Oracle does not index table rows in which all key columns are null except in the case of bitmap indexes. Therefore, if you want an index on all rows of a table, you must either specify NOT NULL constraints for the index key columns or create a bitmap index.