Re: [PERFORM] PG 9.3 materialized view VS Views, indexes, shared memory

2015-03-10 Thread Nicolas Paris
> > ​ > Why are you dropping and re-loading? You mentioned it before and it > sounded like it had something to do with adding columns, but you don't have to drop and reload to add a column.​ ​Adding a NULL column is fast. Dropping one too. I need to set some row as TRUE. I can do it with an upda

Re: [PERFORM] PG 9.3 materialized view VS Views, indexes, shared memory

2015-03-10 Thread Jim Nasby
On 3/9/15 8:17 AM, Nicolas Paris wrote: (sorry for top-posting, gmail does not help.) *shakes fist at gmail* Thanks to your advice Jim, I have done an other test : No partial indexes, just a partial index on boolean columns does the job. (I get same perfs as MV) CREATE INDEX ..ON (BoolColumn