Re: [ADMIN] Migrate postgres to newer hardware

2010-04-06 Thread Renato Oliveira
:pgsql-admin-ow...@postgresql.org] On Behalf Of Iñigo Martinez Lasala Sent: 02 April 2010 08:41 To: Brad Nicholson Cc: pgsql-admin Subject: Re: [ADMIN] Migrate postgres to newer hardware I would never sing a SLA for HA if I don't have system, at least, fully redundant in order to deal with t

Re: [ADMIN] Migrate postgres to newer hardware

2010-04-05 Thread Brad Nicholson
On Fri, 2010-04-02 at 09:58 +0200, Iñigo Martinez Lasala wrote: > I've never worked with Bucardo and Londiste, so I cannot give you any > hint about it. > With slony it's not necessary to restore all database prior staring > sync process. You only have to restore your schema but not data. Slony > w

Re: [ADMIN] Migrate postgres to newer hardware

2010-04-02 Thread Scott Marlowe
On Fri, Apr 2, 2010 at 1:58 AM, Iñigo Martinez Lasala wrote: > I've never worked with Bucardo and Londiste, so I cannot give you any hint > about it. > With slony it's not necessary to restore all database prior staring sync > process. You only have to restore your schema but not data. Slony will

Re: [ADMIN] Migrate postgres to newer hardware

2010-04-02 Thread Iñigo Martinez Lasala
ge- From: Renato Oliveira To: Iñigo Martinez Lasala Cc: pgsql-admin Subject: RE: [ADMIN] Migrate postgres to newer hardware Date: Wed, 31 Mar 2010 09:11:37 +0100  Hi Iñigo, Thank you for your input, really appreciated. I just had a thought; if I backup ‘pg_dump’ full database, t

Re: [ADMIN] Migrate postgres to newer hardware

2010-04-02 Thread Iñigo Martinez Lasala
grate postgres to newer hardware Date: Tue, 30 Mar 2010 10:38:02 -0400 On Tue, 2010-03-30 at 16:29 +0200, Iñigo Martinez Lasala wrote: > Hi Renato. > > I would follow the ancient method: perform a pg_dump / pg_restore This is the easiest approach. The problem is that a lot of people ha

Re: [ADMIN] Migrate postgres to newer hardware

2010-03-31 Thread Greg Smith
Renato Oliveira wrote: I am going to gather the figures about our database and I will email to the list, if I am allowed to. Number of tables, number of transactions per day etc. A quick snapshot from "vmstat 1" during a busy time is also very helpful. -- Greg Smith 2ndQuadrant US Baltim

Re: [ADMIN] Migrate postgres to newer hardware

2010-03-31 Thread Brad Nicholson
On Wed, 2010-03-31 at 09:22 +0100, Renato Oliveira wrote: > Greg, > > I am going to gather the figures about our database and I will email to the > list, if I am allowed to. > Number of tables, number of transactions per day etc. Absolutely allowed, and encouraged. Also, do you have long runni

Re: [ADMIN] Migrate postgres to newer hardware

2010-03-31 Thread Tino Schwarze
On Tue, Mar 30, 2010 at 10:07:54PM -0400, Dai, Tino wrote: > I'm not a dba. I'm a sysadmin by training. Is there some way to > mirror the disks at the OS level? And then move it to the new > machine. Just a though, I don't know the exact steps. But if you > are interested,

Re: [ADMIN] Migrate postgres to newer hardware

2010-03-31 Thread Renato Oliveira
: Renato Oliveira Cc: Greg Smith; Tino Schwarze; pgsql-admin@postgresql.org Subject: Re: [ADMIN] Migrate postgres to newer hardware On Wed, Mar 31, 2010 at 1:43 AM, Renato Oliveira wrote: > Greg, > > Thank you very much for your input. > I agree with you and I do understand where you are

Re: [ADMIN] Migrate postgres to newer hardware

2010-03-31 Thread Renato Oliveira
office address: 29 Station Road, Shepreth, CAMBS SG8 6GB UK From: Iñigo Martinez Lasala [mailto:imarti...@vectorsf.com] Sent: 30 March 2010 16:27 To: Renato Oliveira Cc: pgsql-admin Subject: RE: [ADMIN] Migrate postgres to newer hardware Yes, you only have that two possibilities, I think. PITR

Re: [ADMIN] Migrate postgres to newer hardware

2010-03-31 Thread Scott Marlowe
On Wed, Mar 31, 2010 at 1:43 AM, Renato Oliveira wrote: > Greg, > > Thank you very much for your input. > I agree with you and I do understand where you are coming from. > > I do agree that in order to transition without a noticeable downtime the > application would need to be built for that. > >

Re: [ADMIN] Migrate postgres to newer hardware

2010-03-31 Thread Renato Oliveira
] Sent: 30 March 2010 18:06 To: Renato Oliveira Cc: Tino Schwarze; pgsql-admin@postgresql.org Subject: Re: [ADMIN] Migrate postgres to newer hardware Renato Oliveira wrote: > Are there any commercial solutions out there for migrating large DBs? > I'm not aware of any. The main way to a

Re: [ADMIN] Migrate postgres to newer hardware

2010-03-31 Thread Renato Oliveira
--Original Message- From: Dai, Tino [mailto:t...@loc.gov] Sent: 31 March 2010 03:08 To: Greg Smith; Renato Oliveira Cc: pgsql-admin@postgresql.org; Tino Schwarze Subject: RE: [ADMIN] Migrate postgres to newer hardware Hi Everybody, I'm not a dba. I'm a sysadmin by training.

Re: [ADMIN] Migrate postgres to newer hardware

2010-03-30 Thread Dai, Tino
n find. -Tino From: pgsql-admin-ow...@postgresql.org [pgsql-admin-ow...@postgresql.org] On Behalf Of Greg Smith [g...@2ndquadrant.com] Sent: Tuesday, March 30, 2010 1:05 PM To: Dai, Tino; Renato Oliveira Cc: pgsql-admin@postgresql.org; Tino Schwarze Subject: Re: [ADMIN] Migrate po

Re: [ADMIN] Migrate postgres to newer hardware

2010-03-30 Thread Greg Sabino Mullane
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 > What would be the easiest and fastest way to > migrate Postgres 8.2.24 32 BIT to a new server 64 Bit. ... > If we cannot use PITR what would be the best approach, > we can't have down time I am afraid. > > Any ideas or suggestions would be v

Re: [ADMIN] Migrate postgres to newer hardware

2010-03-30 Thread Greg Smith
Renato Oliveira wrote: Are there any commercial solutions out there for migrating large DBs? I'm not aware of any. The main way to address this problem by throwing money at it is to hire someone extremely familiar with PostgreSQL replication technology and figure out how to customize one

Re: [ADMIN] Migrate postgres to newer hardware

2010-03-30 Thread Brad Nicholson
On Tue, 2010-03-30 at 16:38 +0200, Tino Schwarze wrote: > Hi Renato, > > dump/restore is the way to go. I suppose, you don't want to compile > Postgres for 32 bit on the new machine which might work and might allow > you to do the PITR migration. > > And "downtime is not an option" is always a sig

Re: [ADMIN] Migrate postgres to newer hardware

2010-03-30 Thread jose javier parra sanchez
> -Original Message- > From: Renato Oliveira > To: pgsql-admin@postgresql.org > Subject: [ADMIN] Migrate postgres to newer hardware > Date: Tue, 30 Mar 2010 12:18:36 +0100 > > Dear All, > > > > What would be the easiest and fastest way to migrate Postgre

Re: [ADMIN] Migrate postgres to newer hardware

2010-03-30 Thread Iñigo Martinez Lasala
take less time that export. Anyway, if you cannot leave database down for a day, I think slony will be your best bet, although it's not exempt of problems. :) -Original Message- From: Renato Oliveira To: Iñigo Martinez Lasala Subject: RE: [ADMIN] Migrate postgres to newer hardware Date:

Re: [ADMIN] Migrate postgres to newer hardware

2010-03-30 Thread Rosser Schwarz
On Tue, Mar 30, 2010 at 8:51 AM, Renato Oliveira wrote: > If I use postgres 32 bit will it benefit from the extra memory on the system? Indirectly, yes. No individual PG process will be able to address more than 4 gbytes of memory. Assuming you have a 64-bit OS living underneath, however, that

Re: [ADMIN] Migrate postgres to newer hardware

2010-03-30 Thread Tom Lane
Renato Oliveira writes: > If I use postgres 32 bit will it benefit from the extra memory on the system? Yes, although perhaps not as much as you'd get with a 64-bit build. You still get the ability to have more than 4GB worth of kernel-managed disk cache, and in many situations that's all the val

Re: [ADMIN] Migrate postgres to newer hardware

2010-03-30 Thread jose javier parra sanchez
2010/3/30 Renato Oliveira : > If I use postgres 32 bit will it benefit from the extra memory on the system? > > I don't think it will. > > Thank you very much > > Renato > Depending on the system, with a 32Bit OS you can only address 2 or 3 GB of continuous memory. 64Bit OS's have not this limitat

Re: [ADMIN] Migrate postgres to newer hardware

2010-03-30 Thread Matt Janssen
Matt -Original Message- From: pgsql-admin-ow...@postgresql.org [mailto:pgsql-admin-ow...@postgresql.org] On Behalf Of Tino Schwarze Sent: Tuesday, March 30, 2010 9:39 AM To: pgsql-admin@postgresql.org Subject: Re: [ADMIN] Migrate postgres to newer hardware Hi Renato, dump/restore is

Re: [ADMIN] Migrate postgres to newer hardware

2010-03-30 Thread Renato Oliveira
: Re: [ADMIN] Migrate postgres to newer hardware Hi Renato, dump/restore is the way to go. I suppose, you don't want to compile Postgres for 32 bit on the new machine which might work and might allow you to do the PITR migration. And "downtime is not an option" is always a sign

Re: [ADMIN] Migrate postgres to newer hardware

2010-03-30 Thread Renato Oliveira
t: 30 March 2010 15:39 To: pgsql-admin@postgresql.org Subject: Re: [ADMIN] Migrate postgres to newer hardware Hi Renato, dump/restore is the way to go. I suppose, you don't want to compile Postgres for 32 bit on the new machine which might work and might allow you to do the PITR migration. And

Re: [ADMIN] Migrate postgres to newer hardware

2010-03-30 Thread Tino Schwarze
2 and everything is > running smooth. > > -Original Message- > From: Renato Oliveira > To: pgsql-admin@postgresql.org > Subject: [ADMIN] Migrate postgres to newer hardware > Date: Tue, 30 Mar 2010 12:18:36 +0100 > > Dear All, > > > > What would

Re: [ADMIN] Migrate postgres to newer hardware

2010-03-30 Thread Renato Oliveira
office address: 29 Station Road, Shepreth, CAMBS SG8 6GB UK -Original Message- From: Brad Nicholson [mailto:bnich...@ca.afilias.info] Sent: 30 March 2010 15:38 To: Iñigo Martinez Lasala Cc: Renato Oliveira; pgsql-admin Subject: Re: [ADMIN] Migrate postgres to newer hardware On Tue, 2010

Re: [ADMIN] Migrate postgres to newer hardware

2010-03-30 Thread Brad Nicholson
On Tue, 2010-03-30 at 16:29 +0200, Iñigo Martinez Lasala wrote: > Hi Renato. > > I would follow the ancient method: perform a pg_dump / pg_restore This is the easiest approach. The problem is that a lot of people have contractual SLA's that do not allow them to take their systems down long enoug

Re: [ADMIN] Migrate postgres to newer hardware

2010-03-30 Thread Iñigo Martinez Lasala
aving also to upgrade to new tsearch2 and everything is running smooth. -Original Message- From: Renato Oliveira To: pgsql-admin@postgresql.org Subject: [ADMIN] Migrate postgres to newer hardware Date: Tue, 30 Mar 2010 12:18:36 +0100 Dear All, What would be the easiest and fast

Re: [ADMIN] Migrate postgres to newer hardware

2010-03-30 Thread Renato Oliveira
Guz; pgsql-admin@postgresql.org Subject: Re: [ADMIN] Migrate postgres to newer hardware On Tue, 2010-03-30 at 12:36 +0100, Renato Oliveira wrote: > ? > Szymon, > > > > We had Slony running previously, but it lagged behind so badly that > never managed to catch up. > > >

Re: [ADMIN] Migrate postgres to newer hardware

2010-03-30 Thread Brad Nicholson
1763 262410 > www.grant.co.uk > > Grant Instruments (Cambridge) Ltd > > Company registered in England, registration number 658133 > > Registered office address: > 29 Station Road, > Shepreth, > CAMBS SG8 6GB > UK > > > > From: Szymon G

Re: [ADMIN] Migrate postgres to newer hardware

2010-03-30 Thread Renato Oliveira
igrate postgres to newer hardware 2010/3/30 Renato Oliveira mailto:renato.olive...@grant.co.uk>> Dear All, What would be the easiest and fastest way to migrate Postgres 8.2.24 32 BIT to a new server 64 Bit. The existing server runs on 32 bit architecture and has a database as big as 160GB.

Re: [ADMIN] Migrate postgres to newer hardware

2010-03-30 Thread Szymon Guz
2010/3/30 Renato Oliveira >Dear All, > > What would be the easiest and fastest way to migrate Postgres 8.2.24 32 BIT > to a new server 64 Bit. > > The existing server runs on 32 bit architecture and has a database as big > as 160GB. > > We initially thought of using PITR, but as one of the PI

[ADMIN] Migrate postgres to newer hardware

2010-03-30 Thread Renato Oliveira
Dear All, What would be the easiest and fastest way to migrate Postgres 8.2.24 32 BIT to a new server 64 Bit. The existing server runs on 32 bit architecture and has a database as big as 160GB. We initially thought of using PITR, but as one of the PITR requirements is both machines need to be