@@ -65,6 +65,16 @@ EXPLAIN (ANALYZE, BUFFERS, TIMING OFF, SUMMARY OFF)
6565 Buffers: shared hit=114
6666(4 rows)
6767
68+ EXPLAIN (ANALYZE, BUFFERS, TIMING OFF, SUMMARY OFF)
69+ SELECT * FROM moc100 WHERE coverage = '0/0-11';
70+ QUERY PLAN
71+ --------------------------------------------------------------------------------
72+ Seq Scan on moc100 (cost=0.00..6.26 rows=1 width=96) (actual rows=23 loops=1)
73+ Filter: (coverage = '0/0-11'::smoc)
74+ Rows Removed by Filter: 78
75+ Buffers: shared hit=59
76+ (4 rows)
77+
6878EXPLAIN (ANALYZE, BUFFERS, TIMING OFF, SUMMARY OFF)
6979SELECT * FROM moc100 WHERE coverage = '6/43225,43227';
7080 QUERY PLAN
@@ -85,6 +95,36 @@ EXPLAIN (ANALYZE, BUFFERS, TIMING OFF, SUMMARY OFF)
8595 Buffers: shared hit=59
8696(4 rows)
8797
98+ EXPLAIN (ANALYZE, BUFFERS, TIMING OFF, SUMMARY OFF)
99+ SELECT * FROM moc100 WHERE coverage <> '0/0-11';
100+ QUERY PLAN
101+ ----------------------------------------------------------------------------------
102+ Seq Scan on moc100 (cost=0.00..6.26 rows=100 width=96) (actual rows=78 loops=1)
103+ Filter: (coverage <> '0/0-11'::smoc)
104+ Rows Removed by Filter: 23
105+ Buffers: shared hit=59
106+ (4 rows)
107+
108+ EXPLAIN (ANALYZE, BUFFERS, TIMING OFF, SUMMARY OFF)
109+ SELECT * FROM moc100 WHERE coverage <> '6/43225,43227';
110+ QUERY PLAN
111+ -----------------------------------------------------------------------------------
112+ Seq Scan on moc100 (cost=0.00..6.26 rows=100 width=96) (actual rows=100 loops=1)
113+ Filter: (coverage <> '6/43225 43227'::smoc)
114+ Rows Removed by Filter: 1
115+ Buffers: shared hit=59
116+ (4 rows)
117+
118+ EXPLAIN (ANALYZE, BUFFERS, TIMING OFF, SUMMARY OFF)
119+ SELECT * FROM moc100 WHERE coverage <> '0/';
120+ QUERY PLAN
121+ -----------------------------------------------------------------------------------
122+ Seq Scan on moc100 (cost=0.00..6.26 rows=100 width=96) (actual rows=100 loops=1)
123+ Filter: (coverage <> '0/'::smoc)
124+ Rows Removed by Filter: 1
125+ Buffers: shared hit=59
126+ (4 rows)
127+
88128SET enable_seqscan = off;
89129EXPLAIN (ANALYZE, BUFFERS, TIMING OFF, SUMMARY OFF)
90130SELECT * FROM moc100 WHERE coverage && '4/0';
@@ -127,6 +167,20 @@ EXPLAIN (ANALYZE, BUFFERS, TIMING OFF, SUMMARY OFF)
127167 Buffers: shared hit=9
128168(8 rows)
129169
170+ EXPLAIN (ANALYZE, BUFFERS, TIMING OFF, SUMMARY OFF)
171+ SELECT * FROM moc100 WHERE coverage = '0/0-11';
172+ QUERY PLAN
173+ ---------------------------------------------------------------------------------------------------------------
174+ Bitmap Heap Scan on moc100 (cost=98308.01..98312.02 rows=1 width=96) (actual rows=23 loops=1)
175+ Recheck Cond: (coverage = '0/0-11'::smoc)
176+ Rows Removed by Index Recheck: 1
177+ Heap Blocks: exact=2
178+ Buffers: shared hit=24581
179+ -> Bitmap Index Scan on moc100_coverage_idx (cost=0.00..98308.01 rows=1 width=0) (actual rows=24 loops=1)
180+ Index Cond: (coverage = '0/0-11'::smoc)
181+ Buffers: shared hit=24577
182+ (8 rows)
183+
130184EXPLAIN (ANALYZE, BUFFERS, TIMING OFF, SUMMARY OFF)
131185SELECT * FROM moc100 WHERE coverage = '6/43225,43227';
132186 QUERY PLAN
@@ -154,3 +208,45 @@ EXPLAIN (ANALYZE, BUFFERS, TIMING OFF, SUMMARY OFF)
154208 Buffers: shared hit=4
155209(7 rows)
156210
211+ EXPLAIN (ANALYZE, BUFFERS, TIMING OFF, SUMMARY OFF)
212+ SELECT * FROM moc100 WHERE coverage <> '0/0-11';
213+ QUERY PLAN
214+ ------------------------------------------------------------------------------------------------------------------
215+ Bitmap Heap Scan on moc100 (cost=98316.77..98323.02 rows=100 width=96) (actual rows=78 loops=1)
216+ Recheck Cond: (coverage <> '0/0-11'::smoc)
217+ Rows Removed by Index Recheck: 23
218+ Heap Blocks: exact=5
219+ Buffers: shared hit=24821
220+ -> Bitmap Index Scan on moc100_coverage_idx (cost=0.00..98316.75 rows=100 width=0) (actual rows=101 loops=1)
221+ Index Cond: (coverage <> '0/0-11'::smoc)
222+ Buffers: shared hit=24762
223+ (8 rows)
224+
225+ EXPLAIN (ANALYZE, BUFFERS, TIMING OFF, SUMMARY OFF)
226+ SELECT * FROM moc100 WHERE coverage <> '6/43225,43227';
227+ QUERY PLAN
228+ ------------------------------------------------------------------------------------------------------------------
229+ Bitmap Heap Scan on moc100 (cost=98316.77..98323.02 rows=100 width=96) (actual rows=100 loops=1)
230+ Recheck Cond: (coverage <> '6/43225 43227'::smoc)
231+ Rows Removed by Index Recheck: 1
232+ Heap Blocks: exact=5
233+ Buffers: shared hit=247
234+ -> Bitmap Index Scan on moc100_coverage_idx (cost=0.00..98316.75 rows=100 width=0) (actual rows=101 loops=1)
235+ Index Cond: (coverage <> '6/43225 43227'::smoc)
236+ Buffers: shared hit=188
237+ (8 rows)
238+
239+ EXPLAIN (ANALYZE, BUFFERS, TIMING OFF, SUMMARY OFF)
240+ SELECT * FROM moc100 WHERE coverage <> '0/';
241+ QUERY PLAN
242+ ------------------------------------------------------------------------------------------------------------------
243+ Bitmap Heap Scan on moc100 (cost=98316.77..98323.02 rows=100 width=96) (actual rows=100 loops=1)
244+ Recheck Cond: (coverage <> '0/'::smoc)
245+ Rows Removed by Index Recheck: 1
246+ Heap Blocks: exact=5
247+ Buffers: shared hit=245
248+ -> Bitmap Index Scan on moc100_coverage_idx (cost=0.00..98316.75 rows=100 width=0) (actual rows=101 loops=1)
249+ Index Cond: (coverage <> '0/'::smoc)
250+ Buffers: shared hit=186
251+ (8 rows)
252+