展会信息港展会大全

PostgreSQL位图索引
来源:互联网   发布日期:2016-02-16 10:25:11   浏览:1702次  

导读: 什么是位图索引? 位图索引的一些特性? 位图索引的优缺点? 来看下位图扫描的例子。 QUERY PLAN ---------------------------------...

什么是位图索引?

位图索引的一些特性?

位图索引的优缺点?

来看下位图扫描的例子。

QUERY PLAN-------------------------------------------------------------------------------------------------------------------------------------------- Bitmap Heap Scan on bitmap_test (cost=2023.16..4157.75rows=99967 width=4) (actual time=24.373..41.054 rows=100000 loop s=1) RecheckCond: (is_visible = 'yes'::bpchar) -> Bitmap Index Scan onidx_bitmap_is_visible (cost=0.00..1998.17 rows=99967 width=0) (actualtime=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

赞助本站

人工智能实验室

相关热词: 开发 编程 android

AiLab云推荐
展开

热门栏目HotCates

Copyright © 2010-2024 AiLab Team. 人工智能实验室 版权所有    关于我们 | 联系我们 | 广告服务 | 公司动态 | 免责声明 | 隐私条款 | 工作机会 | 展会港