Unix Technical Forum

Replication

This is a discussion on Replication within the pgsql Admins forums, part of the PostgreSQL category; --> Hello, I need to replicate two databases in diferents servers . I'm reading about some projects but i'm not ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Admins

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 06:15 AM
vespadict
 
Posts: n/a
Default Replication

Hello,

I need to replicate two databases in diferents servers . I'm reading
about some projects but i'm not sure what is the best option. I found
interesting dbmirror and pgcluster but I have doubts . Please , May you
help me ? .

Thanks

---------------------------(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
  #2 (permalink)  
Old 04-10-2008, 06:15 AM
Scott Marlowe
 
Posts: n/a
Default Re: Replication

On Fri, 2005-09-16 at 03:35, vespadict wrote:
> Hello,
>
> I need to replicate two databases in diferents servers . I'm reading
> about some projects but i'm not sure what is the best option. I found
> interesting dbmirror and pgcluster but I have doubts . Please , May you
> help me ? .


Do you need automatic failover of some kind, async or sync replication,
one way or two way, etc...

My personal favorite two tools of late have been pgpool and slony.
dbmirror, if I remember correctly, has to be installed by modifying the
internals of postgresql, and I'm not sure how up to date it is.
Pgcluster seems to be a decent choice, but I've not played with it.

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-10-2008, 06:16 AM
the vespadict
 
Posts: n/a
Default Re: Replication

Hi ,

I want high Availability but I don't need load balance. I need sync
replication if is posible using two way.

Thak you.


2005/9/16, Scott Marlowe <smarlowe@g2switchworks.com>:
> On Fri, 2005-09-16 at 03:35, vespadict wrote:
> > Hello,
> >
> > I need to replicate two databases in diferents servers . I'm reading
> > about some projects but i'm not sure what is the best option. I found
> > interesting dbmirror and pgcluster but I have doubts . Please , May you
> > help me ? .

>
> Do you need automatic failover of some kind, async or sync replication,
> one way or two way, etc...
>
> My personal favorite two tools of late have been pgpool and slony.
> dbmirror, if I remember correctly, has to be installed by modifying the
> internals of postgresql, and I'm not sure how up to date it is.
> Pgcluster seems to be a decent choice, but I've not played with it.
>


---------------------------(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
  #4 (permalink)  
Old 04-10-2008, 06:16 AM
Scott Marlowe
 
Posts: n/a
Default Re: Replication

On Mon, 2005-09-19 at 02:02, the vespadict wrote:
> Hi ,
>
> I want high Availability but I don't need load balance. I need sync
> replication if is posible using two way.


If you need sync, then pgpool may be a good choice, or client side
replication like C-JDBC or something like that.

pgpool doesn't HAVE to do load balancing, it can do simple two way sync
replication if that's what you need.

---------------------------(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
  #5 (permalink)  
Old 04-10-2008, 06:16 AM
Jim C. Nasby
 
Posts: n/a
Default Re: Replication

There's also pgcluster, but keep in mind that these are all
statement-level replication solutions which have some rather big
gotchas.

On Mon, Sep 19, 2005 at 03:24:31PM -0500, Scott Marlowe wrote:
> On Mon, 2005-09-19 at 02:02, the vespadict wrote:
> > Hi ,
> >
> > I want high Availability but I don't need load balance. I need sync
> > replication if is posible using two way.

>
> If you need sync, then pgpool may be a good choice, or client side
> replication like C-JDBC or something like that.
>
> pgpool doesn't HAVE to do load balancing, it can do simple two way sync
> replication if that's what you need.
>
> ---------------------------(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
>


--
Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

---------------------------(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
  #6 (permalink)  
Old 04-10-2008, 06:16 AM
Craig Servin
 
Posts: n/a
Default Re: Replication

Are there any non-statement level solution? Something that appends to the WAL
on the slave server?



On Tuesday 20 September 2005 12:28 pm, Jim C. Nasby wrote:
> There's also pgcluster, but keep in mind that these are all
> statement-level replication solutions which have some rather big
> gotchas.
>
> On Mon, Sep 19, 2005 at 03:24:31PM -0500, Scott Marlowe wrote:
> > On Mon, 2005-09-19 at 02:02, the vespadict wrote:
> > > Hi ,
> > >
> > > I want high Availability but I don't need load balance. I need sync
> > > replication if is posible using two way.

> >
> > If you need sync, then pgpool may be a good choice, or client side
> > replication like C-JDBC or something like that.
> >
> > pgpool doesn't HAVE to do load balancing, it can do simple two way sync
> > replication if that's what you need.
> >
> > ---------------------------(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


---------------------------(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
  #7 (permalink)  
Old 04-10-2008, 06:17 AM
Aldor
 
Posts: n/a
Default Re: Replication

>Are there any non-statement level solution? Something that appends to

the WAL

>> on the slave server?



For this kind of solution I'm also looking for a while - but in the
meantime you can also take a look at "slony" - it can do really many
things. Don't give up at the beginning, after you've understood how it
works you will like it ;-)

Craig Servin wrote:
> Are there any non-statement level solution? Something that appends to the WAL
> on the slave server?
>
>
>
> On Tuesday 20 September 2005 12:28 pm, Jim C. Nasby wrote:
>
>>There's also pgcluster, but keep in mind that these are all
>>statement-level replication solutions which have some rather big
>>gotchas.
>>
>>On Mon, Sep 19, 2005 at 03:24:31PM -0500, Scott Marlowe wrote:
>>
>>>On Mon, 2005-09-19 at 02:02, the vespadict wrote:
>>>
>>>>Hi ,
>>>>
>>>>I want high Availability but I don't need load balance. I need sync
>>>>replication if is posible using two way.
>>>
>>>If you need sync, then pgpool may be a good choice, or client side
>>>replication like C-JDBC or something like that.
>>>
>>>pgpool doesn't HAVE to do load balancing, it can do simple two way sync
>>>replication if that's what you need.
>>>
>>>---------------------------(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

>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
> http://archives.postgresql.org
>


---------------------------(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
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 08:47 PM.


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