Unix Technical Forum

Clustered PostgreSQL

This is a discussion on Clustered PostgreSQL within the Pgsql General forums, part of the PostgreSQL category; --> Is it possible to cluster PostgreSQL? If yes where can I find the resource information on how to implement ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql General

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-09-2008, 08:44 AM
Jojo Paderes
 
Posts: n/a
Default Clustered PostgreSQL

Is it possible to cluster PostgreSQL? If yes where can I find the
resource information on how to implement it?

--
http://jojopaderes.multiply.com
http://jojopaderes.wordpress.com

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-09-2008, 08:44 AM
Devrim GUNDUZ
 
Posts: n/a
Default Re: Clustered PostgreSQL


Hi,

On Tue, 14 Mar 2006, Jojo Paderes wrote:

> Is it possible to cluster PostgreSQL? If yes where can I find the
> resource information on how to implement it?


You can use pgcluster: http://pgcluster.projects.postgresql.org/ (I
haven't tried it yet)

Of course, you can install any clustering software (like Red Hat Cluster
Suite) if you want an active-passive cluster.

Regards,
--
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: PL/php, plPerlNG - http://www.commandprompt.com/


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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-09-2008, 08:44 AM
Louis Gonzales
 
Posts: n/a
Default Re: Clustered PostgreSQL

Jojo Paderes wrote:

>Is it possible to cluster PostgreSQL? If yes where can I find the
>resource information on how to implement it?
>
>--
>http://jojopaderes.multiply.com
>http://jojopaderes.wordpress.com
>
>---------------------------(end of broadcast)---------------------------
>TIP 4: Have you searched our list archives?
>
> http://archives.postgresql.org
>
>

Slony-I is another cluster software for postgreSQL. What OS are you
running? I just deployed it on Solaris 9, between a Sun Ultra
Enterprise E450 and a Sun Ultra 30.

It's really great. Currently, it only supports Single
Master-to-multipleSlaves. Meaning, the single master is the only node
where database updates can occur, the changes are then propagated to the
slave nodes.

http://gborg.postgresql.org/project/...rojdisplay.php

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-09-2008, 08:44 AM
Thomas Hallgren
 
Posts: n/a
Default Re: Clustered PostgreSQL

If you're using JDBC, the C-JDBC (http://c-jdbc.objectweb.org/) might be a good option.

Regards,
Thomas Hallgren


Devrim GUNDUZ wrote:
>
> Hi,
>
> On Tue, 14 Mar 2006, Jojo Paderes wrote:
>
>> Is it possible to cluster PostgreSQL? If yes where can I find the
>> resource information on how to implement it?

>
> You can use pgcluster: http://pgcluster.projects.postgresql.org/ (I
> haven't tried it yet)
>
> Of course, you can install any clustering software (like Red Hat Cluster
> Suite) if you want an active-passive cluster.
>
> Regards,
> --
> The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
> PostgreSQL Replication, Consulting, Custom Development, 24x7 support
> Managed Services, Shared and Dedicated Hosting
> Co-Authors: PL/php, plPerlNG - http://www.commandprompt.com/
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
>



---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-09-2008, 08:44 AM
Devrim GUNDUZ
 
Posts: n/a
Default Re: Clustered PostgreSQL


Hi,

On Tue, 14 Mar 2006, Thomas Hallgren wrote:

> If you're using JDBC, the C-JDBC (http://c-jdbc.objectweb.org/) might be a
> good option.


Definitely. I've read some papers on C-JDBC 3 years ago, and was really
satisfies with its features.

Regards,
--
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: PL/php, plPerlNG - http://www.commandprompt.com/


---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 04-09-2008, 08:45 AM
Jojo Paderes
 
Posts: n/a
Default Re: Clustered PostgreSQL

We're currently using Ubuntu Breezy Hedgehog for our existing
PostgreSQL database server (8.0.x). A Java-based applications uses the
database server via JDBC.

I'm not sure if this question is within the context but I would like
to know if clustering can provide a hot-standby instance for a
production-running PostgreSQL server? Say if the main db server goes
down, another hot-standy with mirrored data from the main server can
be used to replaced the defective db server.

On 3/14/06, Louis Gonzales <louis.gonzales@linuxlouis.net> wrote:
>
> Slony-I is another cluster software for postgreSQL. What OS are you
> running? I just deployed it on Solaris 9, between a Sun Ultra
> Enterprise E450 and a Sun Ultra 30.
>
> It's really great. Currently, it only supports Single
> Master-to-multipleSlaves. Meaning, the single master is the only node
> where database updates can occur, the changes are then propagated to the
> slave nodes.
>
> http://gborg.postgresql.org/project/...rojdisplay.php
>



--
http://jojopaderes.multiply.com
http://jojopaderes.wordpress.com

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 04-09-2008, 08:45 AM
Devrim GUNDUZ
 
Posts: n/a
Default Re: Clustered PostgreSQL

Hi,

On Tue, 2006-03-14 at 11:08 -0700, Brendan Duddridge wrote:
> Do you know if pgcluster will work with PostgreSQL 8.1.3?


I haven't tested but as far as I can read from web page, 1.5.0rc1 works
on 8.1.1 -- They now have rc7, and maybe it works on 8.1.3, but I don't
know...

Regards,
--
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: PL/php, plPerlNG - http://www.commandprompt.com/


---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 04-09-2008, 08:50 AM
Chris Travers
 
Posts: n/a
Default Re: Clustered PostgreSQL

Jojo Paderes wrote:

>We're currently using Ubuntu Breezy Hedgehog for our existing
>PostgreSQL database server (8.0.x). A Java-based applications uses the
>database server via JDBC.
>
>I'm not sure if this question is within the context but I would like
>to know if clustering can provide a hot-standby instance for a
>production-running PostgreSQL server? Say if the main db server goes
>down, another hot-standy with mirrored data from the main server can
>be used to replaced the defective db server.
>
>

PgPool or Slony-I could be used for this. The difference being that
PgPool is statement level and thus may not be usable in some
environments. It is also synchronous. Slony-I is row-level and async,
but if your system goes down you may lose a small amount of unreplicated
data during the switchover.

YMMV...

HTH,
Chris Travers
Metatron Technology Consulting

>On 3/14/06, Louis Gonzales <louis.gonzales@linuxlouis.net> wrote:
>
>
>>Slony-I is another cluster software for postgreSQL. What OS are you
>>running? I just deployed it on Solaris 9, between a Sun Ultra
>>Enterprise E450 and a Sun Ultra 30.
>>
>>It's really great. Currently, it only supports Single
>>Master-to-multipleSlaves. Meaning, the single master is the only node
>>where database updates can occur, the changes are then propagated to the
>>slave nodes.
>>
>>http://gborg.postgresql.org/project/...rojdisplay.php
>>
>>
>>

>
>
>--
>http://jojopaderes.multiply.com
>http://jojopaderes.wordpress.com
>
>---------------------------(end of broadcast)---------------------------
>TIP 2: Don't 'kill -9' the postmaster
>
>




---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:10 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com