Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql General > Re: changing th...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 6 Topic 15513 of 17437
Post > Topic >>

Re: changing the endianness of a database

by postgres@[EMAIL PROTECTED] ("Chris Saldanha") May 12, 2008 at 05:15 PM

> Maybe it's an op****tunity to introduce the users to backups.

Yes, we do backups for the user, but the problem with Apple's migration is
that it happens not on a schedule that meshes with the backup schedule. 
Our
applications have fairly frequently changing data.

> Honestly, though, PostgreSQL doesn't seem to be designed for application
> bundling and embedding, where the user never knows there's a database
> engine present. I'm under the impression that there's no consideration
> of what happens if you move from 32 to 64 bit hosts, big endian to
> little endian, etc; it's expected that you'll dump and reload.

Agreed that PGSQL isn't designed for embedding, but it's actually very
close
to being sup****table in that kind of use model.  The binaries and database
files are nicely contained, the server/libraries can be easily built as a
Universal (i.e. multi-architecture) binary for Macs, and the server is
actually quite small (26MB for a complete install as PPC/Intel binaries
not
stripped) compared to commercial databases.

If the data files themselves were ****table or convertible, then it would
be
an almost perfect solution.

> It's a pity the system cloning/migration tools don't have hooks for
> applications to do pre-migration and post-migration tasks, so you could
> just dump then initdb and reload.

Yes, that's exactly the problem.  For the migration, you actually shut
down
the old Mac that's the source of the data and boot it in a special
FireWire
disk mode, and connect it like a hard disk to the new Mac.  As a result,
there's no code able to run on the source computer during the migration.

For our kind of users (non-technical often), it's almost impossible to
have
them plan out stuff or even consider what needs to be done in terms of
advance tasks.

I had hoped that there would be a way to "rescue" the database, even if it
took a lot of processing...

Chris

--
Chris Saldanha
Parliant Cor****ation
http://www.parliant.com/


-- 
Sent via pgsql-general mailing list (pgsql-general@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
 




 6 Posts in Topic:
changing the endianness of a database
postgres@[EMAIL PROTECTED  2008-05-12 16:02:43 
Re: changing the endianness of a database
mmoncure@[EMAIL PROTECTED  2008-05-12 16:20:08 
Re: changing the endianness of a database
craig@[EMAIL PROTECTED]   2008-05-13 04:42:44 
Re: changing the endianness of a database
postgres@[EMAIL PROTECTED  2008-05-12 17:15:01 
Re: changing the endianness of a database
agentm@[EMAIL PROTECTED]   2008-05-12 17:59:06 
Re: changing the endianness of a database
pgsql@[EMAIL PROTECTED]   2008-05-13 09:06:07 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 12:55:24 CST 2008.