LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
LinkBack Search this Thread
Old 08-29-2006, 04:26 AM   #1
hank43
Member
 
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
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,950
Blog Entries: 11

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
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
information:
http://www.postgresql.org/docs/curre...up-online.html
and
http://www.postgresql.org/docs/curre...iguration.html

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. ;}



Cheers,
Tink
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 04:00 AM.

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