Re: Oracle and Postgresql Play Nice Together on Same Computer?

Поиск
Список
Период
Сортировка
Искать

Re: Oracle and Postgresql Play Nice Together on Same Computer?

От:
<simon@2ndquadrant.com>
Дата:

Troyston Campano  wrote on 20.01.2005,
06:03:28:
> I am an Oracle DBA and I want do a Postgresql 'proof of concept' at the
> large corporation where I work to test the benefits of using Postgresql in
> our environment. I want to install Postgresql onto a "production" server
> that currently runs Oracle. Are there any problems with running Postgresql
> and Oracle on the same machine? I mean, I've heard that the way Sybase and
> DB2 UDB are architected to handle memory hurts Sybase when DB2 UDB is
> installed on the same machine as the Sybase Server (something about UDB
> eating up all the memory and not giving it back to Sybase).
> 
>  
> 
> Are there any issues running Postgresql and Oracle on the same
> machine.anything special to know about memory, disk layout, and things like
> that? I just want to make sure the two engines play together on this same
> server. I had a hard time finding information about this via google.
> 

There should be no issues running both on the same machine. Running both
together at the same time isn't a good way of doing a benchmark
though...

I would question your intent slightly. Should it be a relative
comparison? Or should it be an assessment of what PostgreSQL is capable
of and whether that fits a sufficient number of your needs to make it
worth adopting?

There are many ways to structure a decision as to whether PostgreSQL is
suitable for your (business?) needs. Which structure you choose is
likely to prejudice your decision, one way or the other. i.e. if
capital acquisition costs are the decising factor, then PostgreSQL
would always win.

Best Regards, Simon Riggs

Re: Oracle and Postgresql Play Nice Together on Same Computer?

От:
"Troyston Campano" <troygeekdatabase@gmail.com>
Дата:
Basically, we want to take 3 of the 10 applications running on Oracle, move
them to Postgresql on the same computer/server and just make sure it runs
about the same (really speed, memory usage, and space are the big issues).
I'm not concerned with how hard the migration will be and things like that.
The database is very low in complexity so the migration should be cake.

Thank you!

-----Original Message-----
From: simon@2ndquadrant.com [mailto:simon@2ndquadrant.com] 
Sent: Thursday, January 20, 2005 4:20 AM
To: Troyston Campano
Cc: pgsql-admin@postgresql.org; pgsql-general@postgresql.org
Subject: Re: [ADMIN] Oracle and Postgresql Play Nice Together on Same
Computer?


Troyston Campano  wrote on 20.01.2005,
06:03:28:
> I am an Oracle DBA and I want do a Postgresql 'proof of concept' at the
> large corporation where I work to test the benefits of using Postgresql in
> our environment. I want to install Postgresql onto a "production" server
> that currently runs Oracle. Are there any problems with running Postgresql
> and Oracle on the same machine? I mean, I've heard that the way Sybase and
> DB2 UDB are architected to handle memory hurts Sybase when DB2 UDB is
> installed on the same machine as the Sybase Server (something about UDB
> eating up all the memory and not giving it back to Sybase).
> 
>  
> 
> Are there any issues running Postgresql and Oracle on the same
> machine.anything special to know about memory, disk layout, and things
like
> that? I just want to make sure the two engines play together on this same
> server. I had a hard time finding information about this via google.
> 

There should be no issues running both on the same machine. Running both
together at the same time isn't a good way of doing a benchmark
though...

I would question your intent slightly. Should it be a relative
comparison? Or should it be an assessment of what PostgreSQL is capable
of and whether that fits a sufficient number of your needs to make it
worth adopting?

There are many ways to structure a decision as to whether PostgreSQL is
suitable for your (business?) needs. Which structure you choose is
likely to prejudice your decision, one way or the other. i.e. if
capital acquisition costs are the decising factor, then PostgreSQL
would always win.

Best Regards, Simon Riggs

Re: [GENERAL] Oracle and Postgresql Play Nice Together on Same Computer?

От:
Alvaro Herrera <alvherre@dcc.uchile.cl>
Дата:
On Thu, Jan 20, 2005 at 08:03:42AM -0500, Troyston Campano wrote:
> Basically, we want to take 3 of the 10 applications running on Oracle, move
> them to Postgresql on the same computer/server and just make sure it runs
> about the same (really speed, memory usage, and space are the big issues).
> I'm not concerned with how hard the migration will be and things like that.

So you want Postgres to be a cheaper Oracle.  Hmm.  Maybe it will work,
but as Marco Colombo says, you are not going to see Postgres shining by
using that simplistic approach.  If you want that, maybe you should look
closely to see where you can find the rusty corner that needs to be
polished.

> The database is very low in complexity so the migration should be cake.

If you do things as simple as "select count(*) from table", then you
will have to be careful to be really fair in your comparison; you could
misleadingly find that Postgres is much slower on that query.

-- 
Alvaro Herrera ()
Tulio: oh, para qué servirá este boton, Juan Carlos?
Policarpo: No, aléjense, no toquen la consola!
Juan Carlos: Lo apretaré una y otra vez.

Re: [GENERAL] Re: Oracle and Postgresql Play Nice Together on Same Computer

От:
Alex Turner <armtuk@gmail.com>
Дата:
It depends how you have your Oracle instance configured.  If you have
it set up so that the total SGA and UGA ammount consume around 80%-90%
of total available memory, then this is obviously only going to leave
postgress with 20% or less of the total available memory.  Postgres is
also designed to take advantage of the file caching behaviour of the
OS.  The OS however is probably going to prioritize Oracle running
memory over cached file pages, and therefore I would think that
running the two together is a less than optimal configuration.  If you
are going to do it, I would make sure that you at least reduce the SGA
for Oracle down below 40% of the box's total RAM so you give
postgresql enough space to work in.  Even doing this, there is a
chance that the OS will try to cache the Oracle Tablespace files if
they are small enough, duplicating the buffering effort that Oracle is
doing, and also reducing the amount of memory for Postgresql file
cache.

All in all, I would personaly be very wary of running both together if
you are planning on doing any benchmarking.

Alex Turner
NetEconomist


On Thu, 20 Jan 2005 10:20:02 +0100, simon@2ndquadrant.com
 wrote:
> 
> Troyston Campano  wrote on 20.01.2005,
> 06:03:28:
> > I am an Oracle DBA and I want do a Postgresql 'proof of concept' at the
> > large corporation where I work to test the benefits of using Postgresql in
> > our environment. I want to install Postgresql onto a "production" server
> > that currently runs Oracle. Are there any problems with running Postgresql
> > and Oracle on the same machine? I mean, I've heard that the way Sybase and
> > DB2 UDB are architected to handle memory hurts Sybase when DB2 UDB is
> > installed on the same machine as the Sybase Server (something about UDB
> > eating up all the memory and not giving it back to Sybase).
> >
> >
> >
> > Are there any issues running Postgresql and Oracle on the same
> > machine.anything special to know about memory, disk layout, and things like
> > that? I just want to make sure the two engines play together on this same
> > server. I had a hard time finding information about this via google.
> >
> 
> There should be no issues running both on the same machine. Running both
> together at the same time isn't a good way of doing a benchmark
> though...
> 
> I would question your intent slightly. Should it be a relative
> comparison? Or should it be an assessment of what PostgreSQL is capable
> of and whether that fits a sufficient number of your needs to make it
> worth adopting?
> 
> There are many ways to structure a decision as to whether PostgreSQL is
> suitable for your (business?) needs. Which structure you choose is
> likely to prejudice your decision, one way or the other. i.e. if
> capital acquisition costs are the decising factor, then PostgreSQL
> would always win.
> 
> Best Regards, Simon Riggs
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
>
FAQ