Hi,

Klemens wrote:
> That makes sense. My requirement is that I must continue querying the
> old data while importing the new, larger data - which can take a long
> time as we know. How can I achieve this?

I would suggest to create a second database instance (same server 
process, different database name, same table names), import into that, 
then drop the old database and rename the newly imported. This will give 
you a short service interruption.

If you cannot tolerate any service interruption, you can use the 
"pgbouncer" proxy which can be reconfigured to connect to another 
database while still serving active connections to the old database.

Bye
Frederik

-- 
Frederik Ramm  ##  eMail [email protected]  ##  N49°00'09" E008°23'33"

_______________________________________________
osmosis-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/osmosis-dev

Reply via email to