位图索引的一些特性? 位图索引的优缺点? 来看下位图扫描的例子。 QUERY PLAN ------------------------------------------------------------------------------------------------------------------------- ------------------- Bitmap Heap Scan on bit
位图索引的一些特性?
位图索引的优缺点?
来看下位图扫描的例子。
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
Copyright © 2019- xdyj.cn 版权所有
违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务