X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 01D4C3A4807 for ; Thu, 20 Jan 2005 15:50:26 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 18022-01 for ; Thu, 20 Jan 2005 15:50:06 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.197]) by svr1.postgresql.org (Postfix) with ESMTP id DB2533A18CF for ; Thu, 20 Jan 2005 15:50:06 +0000 (GMT) Received: by wproxy.gmail.com with SMTP id 50so147116wri for ; Thu, 20 Jan 2005 07:50:07 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=r8G4RutFrYAhUgd7Pt13X7ZAlYZp7z7FCKSA1RkppTKIe1ovcT7DaAzxYPRXS6JnikMu0JPPal4yxr8ZeHiS98MNGZ2K48Lyzf+EnXhsOkgXk0D5Lrcnb+48sqMbf2izeso0xyme4Rdc29auoL1ShkGW62v8sXFVKDwOayWY5hc= Received: by 10.54.5.65 with SMTP id 65mr269261wre; Thu, 20 Jan 2005 07:50:06 -0800 (PST) Received: by 10.54.52.58 with HTTP; Thu, 20 Jan 2005 07:50:06 -0800 (PST) Message-ID: Date: Thu, 20 Jan 2005 10:50:06 -0500 From: troyston campano Reply-To: troyston campano To: pgsql-general@postgresql.org Subject: Re: [ADMIN] Oracle and Postgresql Play Nice Together on Same Computer? Cc: Marco Colombo In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <28292295$110621206841ef74e4819f47.82018906@config19.schlund.de> <41efac35.405152b6.2a2f.00d1@smtp.gmail.com> <20050120134156.GA16939@dcc.uchile.cl> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.024 tagged_above=0 required=5 tests=RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200501/1084 X-Sequence-Number: 72033 I'm not really too concerned about the migration aspect at all. If need be, we might even throw in some new applications into the postgresql database. What we're really concerned about is any issues that may come from running postgresql and oracle on the same box. Do they play nice together...or does one hog memory in a way that prevents the other engine from operating correctly? I'm worried more about things like that. thank you again for your time! ~ Troyston ~ On Thu, 20 Jan 2005 15:22:33 +0100 (CET), Marco Colombo wrote: > [ Cc: list cleaned a bit ] > > On Thu, 20 Jan 2005, Alvaro Herrera wrote: > > > 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. > > Yeah, that's precisely what I meant. The Oracle to PostgreSQL migration > is well worth considering a (partial) redesign. > > Sometimes I happen to show some SQL queries I make (on PostgreSQL) > to an Oracle guy. Usually it goes like this: > > 1) hmm (ponders at the query) > 2) ah!!! (realizes what the query does) > 3) I didn't know you could do this! (excitement) > 4) hmm (ponders again if that may work on Oracle as well) > 5) no I can't do that in Oracle that way. I remember I did something > like that in the past with other 3 SQL developers. We had to write > a 300 lines long stored procedure, we got the locking right at the > third reimplementation only (we don't know if we do need the locking, > we asked our senior DBA but he was unsure as well, so we put it in, > we don't think it hurts anyway). > > Ok, point 5) has been exaggerated to joke level, but you get the idea. > > .TM. > -- > ____/ ____/ / > / / / Marco Colombo > ___/ ___ / / Technical Manager > / / / ESI s.r.l. > _____/ _____/ _/ Colombo@ESI.it > > ---------------------------(end of broadcast)--------------------------- > TIP 6: Have you searched our list archives? > > http://archives.postgresql.org >