By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
100000 rows affected
| i | b | f1 | f2 | f3 | f4 |
|---|---|---|---|---|---|
| 0 | null | 0 | 0 | 0 | |
| 2 | 10 | 2 | 2 | 2 | 2 |
| 5 | 101 | 5 | 5 | 5 | 5 |
| 9 | 1001 | 9 | 9 | 9 | 9 |
| 2 | 10 | 2 | 2 | 2 | 2 |
| 40 | 101000 | 40 | 40 | 40 | 40 |
| 115 | 1110011 | 115 | 115 | 115 | 115 |
| 146 | 10010010 | 146 | 146 | 146 | 146 |
| 251 | 11111011 | 251 | 251 | 251 | 251 |
| 651 | 1010001011 | 651 | 651 | 651 | 651 |
| QUERY PLAN |
|---|
| Seq Scan on t (actual rows=100000 loops=1) |
| Planning Time: 0.073 ms |
| Execution Time: 37.052 ms |
| QUERY PLAN |
|---|
| Seq Scan on t (actual rows=100000 loops=1) |
| Planning Time: 0.449 ms |
| Execution Time: 6216.246 ms |
| QUERY PLAN |
|---|
| Seq Scan on t (actual rows=100000 loops=1) |
| Planning Time: 0.076 ms |
| Execution Time: 89.847 ms |
| QUERY PLAN |
|---|
| Seq Scan on t (actual rows=100000 loops=1) |
| Planning Time: 0.068 ms |
| Execution Time: 90.165 ms |