设为首页 加入收藏

TOP

PostgreSQL位图索引
2014-11-23 22:21:08 来源: 作者: 【 】 浏览:11
Tags:PostgreSQL 位图 索引
什么是位图索引?
位图索引的一些特性?
位图索引的优缺点?
来看下位图扫描的例子。
QUERY PLAN ------------------------------------------------------------------------------------------------------------------------- ------------------- Bitmap Heap Scan on bitmap_test (cost=2023.16..4157.75 rows=99967 width=4) (actual time=24.373..41.054 rows=100000 loop s=1) Recheck Cond: (is_visible = 'yes'::bpchar) -> Bitmap Index Scan on idx_bitmap_is_visible (cost=0.00..1998.17 rows=99967 width=0) (actual time=24.252..24.252 ro ws=100000 loops=1) Index Cond: (is_visible = 'yes'::bpchar) Total runtime: 47.175 ms (5 rows) Time: 47.725 ms
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇被PL/SQLdeveloper坑了 下一篇SQLSERVER中XML查询:FORXML指定E..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: