Re: [GENERAL] Dynamic Partial Index

2006-08-18 Thread gustavo halperin
Jeff Davis wrote: On Fri, 2006-08-18 at 00:19 +0300, gustavo halperin wrote: Create an index on the table, and then periodically move records into a separate archive table. Regards, Jeff Dave Thanks, but I have a question. If the table is a BIIG table, use your solution i

Re: [GENERAL] Dynamic partial index

2006-08-18 Thread Harald Fuchs
In article <[EMAIL PROTECTED]>, gustavo halperin <[EMAIL PROTECTED]> writes: > Hello > I'm interesting in a partial index for a rows that aren't older than > 6 mounts, something like the sentence below: > /CREATE INDEX name_for_the_index ON table > (the_column_of_type_date) WHERE ( the

Re: [GENERAL] Dynamic Partial Index

2006-08-17 Thread Jeff Davis
On Fri, 2006-08-18 at 00:19 +0300, gustavo halperin wrote: > > Create an index on the table, and then periodically move records into a > > separate archive table. > > > > Regards, > > Jeff Dave > Thanks, but I have a question. If the table is a BIIG table, use > your solution is still a go

Re: [GENERAL] Dynamic Partial Index

2006-08-17 Thread gustavo halperin
Jeff Davis wrote: On Thu, 2006-08-17 at 20:50 +0300, gustavo halperin wrote: I'm interesting in a partial index for a rows that aren't older than 6 mounts, something like the sentence below: -

Re: [GENERAL] Dynamic Partial Index

2006-08-17 Thread Jeff Davis
On Thu, 2006-08-17 at 20:50 +0300, gustavo halperin wrote: > I'm interesting in a partial index for a rows that aren't older than 6 > mounts, something like the sentence below: > ---

[GENERAL] Dynamic Partial Index

2006-08-17 Thread gustavo halperin
Hello I'm interesting in a partial index for a rows that aren't older than 6 mounts, something like the sentence below: -- /CREATE INDEX name_for_th

[GENERAL] Dynamic partial index

2006-08-17 Thread gustavo halperin
Hello I'm interesting in a partial index for a rows that aren't older than 6 mounts, something like the sentence below: /CREATE INDEX name_for_the_index ON table (the_column_of_type_date) WHERE ( the_column_of_type_date > (current_date - interval '6 month')::date );/ But this is n