Not having tried to use pg_upgrade on a 1TB database, this might not apply, but pg_upgrade has a —link option that should greatly minimize the time required to upgrade, since it eliminates the duplication of files … apparently even works on Windows: “—link … use hard links instead of copying files to the new
cluster (use junction points on Windows)" In fact, the —link option should also mean removing the requirement for ‘double the disk space’ to do the upgrade … I don’t have a 1TB database to try it on, mind you, so your ‘wait couple of days’ might be *with* the —link option? -- Marc G Fournier http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, RemoteDBA, Training & Services |