From: | Guy Rouillier <guyr-ml1(at)burntmail(dot)com> |
---|---|
To: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: Replace usage of a table in query with its array values |
Date: | 2007-07-02 15:38:16 |
Message-ID: | 46891BE8.60209@burntmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc pgsql-novice pgsql-sql |
Loredana Curugiu wrote:
> After database redesign it was decided that reminder_services table
> to be moved into another database. In production, reminder_services
> table will never have more than 100 of records, but sent_messages
> table it is a log table with a lot of records and the above query
> will be executed every minute.
Cross posting to multiple lists is frowned upon, so I'm reply only here.
Have you considered using the dblink contrib module? That seems a far
simpler solution than trying to do this with arrays.
--
Guy Rouillier
From | Date | Subject | |
---|---|---|---|
Next Message | Loredana Curugiu | 2007-07-02 16:49:54 | Re: Replace usage of a table in query with its array values |
Previous Message | Mario Splivalo | 2007-07-02 12:41:42 | Re: Log files cluttered with jdbc3/4 for pg8.2 |
From | Date | Subject | |
---|---|---|---|
Next Message | Loredana Curugiu | 2007-07-02 16:49:54 | Re: Replace usage of a table in query with its array values |
Previous Message | Tom Lane | 2007-07-02 15:12:24 | Re: Schema Problem |
From | Date | Subject | |
---|---|---|---|
Next Message | Loredana Curugiu | 2007-07-02 16:49:54 | Re: Replace usage of a table in query with its array values |
Previous Message | Loredana Curugiu | 2007-07-02 08:23:58 | Replace usage of a table in query with its array values |