i have to migrate a 80GB database from pg8.2 to pg8.4. that database has a lot of stock procedures, and i need tips to migrate it sucesfully ( and painless ;) ) any tips are welcome :)
|
feedback
|
|
Aside from the valuable specific advice given in other answers, the canonical answer to this sort of question is to read the release notes. For example, in an upgrade from 8.2 to 8.4 you should read the release notes
in particular the Migration sections that list the known incompatibilities. | |||||
feedback
|
|
Testing is ABSOLUTELY REQUIRED. Since you skipped it, as of 8.3:
It took us quite a bit of work to go through and find all the places we had trusted the automatic casting (for instance, we had | |||
feedback
|
|
The best possible advice here is to follow the instructions for upgrading provided in the Postgres manual (also see this section) - This will involve a database dump and restore in your case. You should probably set up the new database on a development machine and test the restore (& DB functionality) before doing this on production hardware. | |||
|
feedback
|
|
Testing testing and more testing. Get it installed on a new machine/server if possible before the move, and do a test run, check what runs- and more importantly, what doesn't. Draw up a test plan of everything which needs to work. | |||
|
feedback
|