From: | "Chuck McDevitt" <cmcdevitt(at)greenplum(dot)com> |
---|---|
To: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Martijn van Oosterhout" <kleptog(at)svana(dot)org> |
Cc: | "Mark Woodward" <pgsql(at)mohawksoft(dot)com>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Upgrading a database dump/restore |
Date: | 2006-10-17 04:57:00 |
Message-ID: | EB48EBF3B239E948AC1E3F3780CF8F88011B9277@MI8NYCMAIL02.Mi8.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
-----Original Message-----
I think we had that problem solved too in principle: build the new
catalogs in a new $PGDATA directory alongside the old one, and hard-link
the old user table files into that directory as you go. Then pg_upgrade
never needs to change the old directory tree at all. This gets a bit
more complicated in the face of tablespaces but still seems doable.
(I suppose it wouldn't work in Windows for lack of hard links, but
anyone trying to run a terabyte database on Windows deserves to lose
.
regards, tom lane
---------------------------(end of broadcast)---------------------------
FYI:
Windows NTFS has always supported hard links. It was symlinks it didn't
support until recently (now it has both).
And there isn't any reason Terabyte databases shouldn't work as well on
Windows as on Linux, other than limitations in PostgreSQL itself.
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2006-10-17 06:05:37 | Re: [Plperlng-devel] Data Persists Past Scope |
Previous Message | Tom Lane | 2006-10-17 01:14:19 | Re: [HACKERS] Anyone using "POSIX" time zone offset capability? |