Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-29-2006, 04:26 AM   #1
Registered: Nov 2003
Distribution: centos 4.4
Posts: 94

Rep: Reputation: 15
postgreSQL vs mysql: backup & recovery

i'll be maintaining a database server and have a choice btwn mysql and postgresql. We need transactional support, this means in mysql we'll be using their InnoDB engine. this is for an ecommerce site. i don't want to loose any orders or registrations. Very recent backups of the data is important.

I haven't dug into either very deeply in the backup & recovery area, hoping those who have walked the path can give me some shortcuts. mysql has mysqldump and binary log files. seems InnoDB needs the server stopped to do backups other than mysqldump. postgres has pg_dump that does hot backups.

one thing i know for sure, there are plenty more books on mysql than postgresql. however, i think 1 quality book on either one is all anyone needs.
Old 08-30-2006, 03:11 AM   #2
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
I agree that one good book is a good thing to have; my personal preference in
the "battle of the RDBMS" is clearly PostgreSQL, popularity aside ;}

I'm not sure whether you've stumbled across these pages in your quest for

They discuss WAL archiving (which is similar to Oracles archive-log
mechanism - in the functionality, anyway). Basically what you do is
to start with a, for example, week-old snapshot for the restore, and
then just add the (always current) WAL chunks back to it on restore.
After all, on a heavily loaded production database system you can't
run an export every 30 minutes. ;}



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get backup/recovery gugamare Debian 2 05-24-2006 11:14 PM
Concurrent installation of mySQL & postgreSQL theNbomr Linux - Software 1 02-27-2006 02:31 PM
Backup/Recovery aerogate Mandriva 2 11-11-2005 04:17 AM
Backup/recovery recommendations stutterbug Red Hat 2 04-25-2005 03:17 AM
postgresql -odbc & postgresql-jdbc installation kjsubbu Linux - Software 0 06-19-2003 02:50 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:59 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration