473,378 Members | 1,175 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

PostgreSQL and HA?

Hi,
Just having read http://developer.postgresql.org/todo.php - seems
like quite a few features for high availibility are still
missing. So - what's the recommended way to get some kind of HA
up and running using PostgreSQL at the moment? How much HA will I be
able to get?

Please Cc me on Replies (I'm not subscribed to this list and
might miss something).

Bye,
Thomas

--
Thomas Köhler Linux without limits: http://linux.s390.org/
Millenux GmbH http://www.millenux.de/ th************@millenux.de
Lilienthalstraße 2 phone: +49.711.88770.300
D-70825 Stuttgart-Korntal fax: +49.711.88770.349

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/SiIETEYXWMJlHuYRAuqpAJ9qgVLwWD0FTYKlO7TY0cQYvoJ8bg CdHGHm
+1kmz2okpp3yteUZTvQZkF4=
=scbc
-----END PGP SIGNATURE-----

Nov 11 '05 #1
2 2294
Thomas Köhler wrote:
-- Start of PGP signed section.
Hi,
Just having read http://developer.postgresql.org/todo.php - seems
like quite a few features for high availibility are still
missing. So - what's the recommended way to get some kind of HA
up and running using PostgreSQL at the moment? How much HA will I be
able to get?


You can get master/slave replication from /contrib/dbmirror or
/contrib/rserv.

--
Bruce Momjian | http://candle.pha.pa.us
pg***@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Nov 11 '05 #2
You can do HA from the OS level:

Have a SCSI disk array shared between two computers
Use a journalling filesystem on this array
Have a "serial kill switch"
Have a program that checks if each server is alive.
If the primary goes down, the secondary will:
a) Shut off the power to the primary
b) Mount the disks
c) Start necessary services
d) Do IP takeover of the main server's IP address

The "serial kill switch" is necessary when disk arrays are being shared,
so that two computers don't inadvertantly access the disk array at the
same time. That way, if the problem is just a comm problem between the
computers, the primary will be killed off completely, and not be able to
cause problems.

There are packages that automate parts of it, and if this is of interest
to you, I can find some good articles on it. Personally, I've found that
using a stable operating system, hardware with hotswappable drivers/power
supplies, power coming in from two different circuits, and a UPS, will
give you almost as much uptime, with less difficulty and cost.

Jon
On Mon, 25 Aug 2003, Thomas [iso-8859-1] Köhler wrote:
Hi,
Just having read http://developer.postgresql.org/todo.php - seems
like quite a few features for high availibility are still
missing. So - what's the recommended way to get some kind of HA
up and running using PostgreSQL at the moment? How much HA will I be
able to get?

Please Cc me on Replies (I'm not subscribed to this list and
might miss something).

Bye,
Thomas

--
Thomas Köhler Linux without limits: http://linux.s390.org/
Millenux GmbH http://www.millenux.de/ th************@millenux.de
Lilienthalstraße 2 phone: +49.711.88770.300
D-70825 Stuttgart-Korntal fax: +49.711.88770.349

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postgresql.org

Nov 11 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Otis Green | last post by:
Vote for or against a new newsgroup proposal. To summarize what you need to do, just send an empty e-mail to postgresql-ballot@netagw.com You will receive a ballot by e-mail. Follow the...
1
by: Mateusz [PEYN] Adamus | last post by:
Hi I'm a developer currently wondering which DB choose for my next project. I looked on the net found ofcourse Oracle but also came up with PostgreSQL. I heard quite few things about it, all...
0
by: Bill J. | last post by:
I have to update a PostgreSQL linked server through MSSQL2K. I first configured the connection with ODBC as follows and I can do queries with no problem: EXEC sp_droplinkedsrvlogin @rmtsrvname...
0
by: Bill J. | last post by:
I have to update a PostgreSQL linked server through MSSQL2K. I first configured the connection with ODBC as follows and I can do queries with no problem: EXEC sp_droplinkedsrvlogin @rmtsrvname...
0
by: ruhunu Gamarala | last post by:
Hi, I get the following exception periodically. does anybody what is the reason for it to throw this exception? I really appriciate if anyone can help me on this. thanks, Chinthaka at...
0
by: greg | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This is a PGP-signed copy of the checksums for PostgreSQL version 7.4. The latest copy of the checksums for this and other versions, as well...
29
by: Paul Ganainm | last post by:
Hi all, Following up on another thread, here is a comparison between FB and PG from an FB'ers POV. BTW, FB is the love-child of Open-Source-Interbase. BTW, I have tried to be as accurate as I...
13
by: Zlatko Matiæ | last post by:
Is it possible to use Access as front-end for POstgreSQL and how ? What about Access Projects (.adp) and PostgreSQL ?
1
by: phil campaigne | last post by:
On Mon, 1 Mar 2004, phil campaigne wrote: >> Nigel J. Andrews wrote: >> > > >>> >On Mon, 1 Mar 2004, Phil Campaigne wrote: >>> > >>> >
0
by: Greg Sabino Mullane | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This is a PGP-signed copy of the checksums for following PostgreSQL versions: 7.4.5 7.4.4 7.3.7
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.