• 工作总结
  • 工作计划
  • 心得体会
  • 述职报告
  • 思想汇报
  • 发言讲话稿
  • 演讲稿
  • 申请书
  • 读后感
  • 报告材料
  • 策划方案
  • 当前位置: 写作资料库 > 其他范文 > 正文

    PostgreSQL位图索引_位图索引

    时间:2018-08-15 16:30:03 来源:写作资料库 本文已影响 写作资料库手机站

    什么是位图索引?

    位图索引的一些特性?

    位图索引的优缺点?

    来看下位图扫描的例子。

    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