dbTalk Databases Forums  

Big disappointment with Postgres

comp.databases.oracle.server comp.databases.oracle.server


Discuss Big disappointment with Postgres in the comp.databases.oracle.server forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mladen Gogala
 
Posts: n/a

Default Big disappointment with Postgres - 02-04-2011 , 07:40 AM






I invested quite some time in learning the thing, as it seemed very
similar to Oracle. Unfortunately, when it came down to the pilot project,
the mass of the SQL to be ported ultimately required optimizer hints.
There was simply a mass of SQL, ported to different architecture which
needed quick & dirty fix, because of the sheer volume and the deadline.
Unfortunately, Postgres community is run by programming wiz kids who have
never managed a large database and they sanctimoniously refuse to even
consider hints.
Consequently, I have to kill the pilot project. Postgres is, simply, not
a viable alternative. Not with that attitude, anyway.



--
http://mgogala.byethost5.com

Reply With Quote
  #2  
Old   
John Hurley
 
Posts: n/a

Default Re: Big disappointment with Postgres - 02-04-2011 , 08:36 AM






Mladen:

# Unfortunately, Postgres community is run by programming wiz kids who
have never managed a large database and they sanctimoniously refuse to
even consider hints.

Aren't hints in oracle code an extreme example of "extensions" to the
SQL language?

Do any other relational databases support hints?

Obviously if Oracle supports the database code they are free to
introduce proprietary extensions as they see fit into their code base.

Does MySQL support hinting the way Oracle does?

Reply With Quote
  #3  
Old   
gazzag
 
Posts: n/a

Default Re: Big disappointment with Postgres - 02-04-2011 , 08:43 AM



On Feb 4, 1:40*pm, Mladen Gogala <gogala.mla... (AT) gmail (DOT) com> wrote:
Quote:
I invested quite some time in learning the thing, as it seemed very
similar to Oracle. Unfortunately, when it came down to the pilot project,
the mass of the SQL to be ported ultimately required optimizer hints.
There was simply a mass of SQL, ported to different architecture which
needed quick & dirty fix, because of the sheer volume and the deadline.
Unfortunately, Postgres community is run by programming wiz kids who have
never managed a large database and they sanctimoniously refuse to even
consider hints.
Consequently, I have to kill the pilot project. Postgres is, simply, not
a viable alternative. Not with that attitude, anyway.

--http://mgogala.byethost5.com
Good plug for Oracle support

Seriously though, is this a fair comparison?

-g

Reply With Quote
  #4  
Old   
Mark D Powell
 
Posts: n/a

Default Re: Big disappointment with Postgres - 02-04-2011 , 08:43 AM



On Feb 4, 9:36*am, John Hurley <hurleyjo... (AT) yahoo (DOT) com> wrote:
Quote:
Mladen:

# Unfortunately, Postgres community is run by programming wiz kids who
have never managed a large database and they sanctimoniously refuse to
even consider hints.

Aren't hints in oracle code an extreme example of "extensions" to the
SQL language?

Do any other relational databases support hints?

Obviously if Oracle supports the database code they are free to
introduce proprietary extensions as they see fit into their code base.

Does MySQL support hinting the way Oracle does?

I know that SQL Server has some optimizer hints available so Oracle is
definitely not the only vendor to provide developers a means to adjust
the optimizer plan.

According to the official mySQL manual it also supports hints:
http://dev.mysql.com/doc/refman/5.0/en/index-hints.html

HTH -- Mark D Powell --

Reply With Quote
  #5  
Old   
Mark D Powell
 
Posts: n/a

Default Re: Big disappointment with Postgres - 02-04-2011 , 08:50 AM



On Feb 4, 9:43*am, Mark D Powell <Mark.Powe... (AT) hp (DOT) com> wrote:
Quote:
On Feb 4, 9:36*am, John Hurley <hurleyjo... (AT) yahoo (DOT) com> wrote:

Mladen:

# Unfortunately, Postgres community is run by programming wiz kids who
have never managed a large database and they sanctimoniously refuse to
even consider hints.

Aren't hints in oracle code an extreme example of "extensions" to the
SQL language?

Do any other relational databases support hints?

Obviously if Oracle supports the database code they are free to
introduce proprietary extensions as they see fit into their code base.

Does MySQL support hinting the way Oracle does?

I know that SQL Server has some optimizer hints available so Oracle is
definitely not the only vendor to provide developers a means to adjust
the optimizer plan.

According to the official mySQL manual it also supports hints:http://dev.mysql.com/doc/refman/5.0/en/index-hints.html

HTH -- Mark D Powell --
Update - It also appears that postgreSQL has a hint feature:
http://www.enterprisedb.com/docs/en/...e_Guide-28.htm

HTH -- Mark D Powell --

Reply With Quote
  #6  
Old   
Mladen Gogala
 
Posts: n/a

Default Re: Big disappointment with Postgres - 02-04-2011 , 08:53 AM



On Fri, 04 Feb 2011 06:43:16 -0800, Mark D Powell wrote:

Quote:
On Feb 4, 9:36Â*am, John Hurley <hurleyjo... (AT) yahoo (DOT) com> wrote:
Mladen:

# Unfortunately, Postgres community is run by programming wiz kids who
have never managed a large database and they sanctimoniously refuse to
even consider hints.

Aren't hints in oracle code an extreme example of "extensions" to the
SQL language?

Do any other relational databases support hints?

Obviously if Oracle supports the database code they are free to
introduce proprietary extensions as they see fit into their code base.

Does MySQL support hinting the way Oracle does?


I know that SQL Server has some optimizer hints available so Oracle is
definitely not the only vendor to provide developers a means to adjust
the optimizer plan.

According to the official mySQL manual it also supports hints:
http://dev.mysql.com/doc/refman/5.0/en/index-hints.html

HTH -- Mark D Powell --
DB2 too:
http://publib.boulder.ibm.com/infoce...ex.jsp?topic=/
com.ibm.db2.doc.admin/p9li375.htm

Oracle, DB2, SQL Server and MySQL all provide hints. Hints are nothing
unusual, they're the necessary fix with the large projects. The project
in question was a porting project with a deadline. There was a ton of SQL
that needed to be ported fast. Without hints, this is not possible,
therefore, the Postgres pilot project was canceled. With hints, there
would probably be far fewer consulting gigs for the postgres gurus, which
may help explaining the religious zeal. Oracle is expensive, but not as
expensive as the downtime. Bummer.

--
http://mgogala.byethost5.com

Reply With Quote
  #7  
Old   
Mladen Gogala
 
Posts: n/a

Default Re: Big disappointment with Postgres - 02-04-2011 , 08:55 AM



On Fri, 04 Feb 2011 06:50:29 -0800, Mark D Powell wrote:


Quote:
Update - It also appears that postgreSQL has a hint feature:
http://www.enterprisedb.com/docs/en/8.3R2/perf/
Postgres_Plus_Advanced_Server_Performance_Guide-28.htm

That's a commercial version. If I was to migrate off Oracle, that will
not be to the database of some small company, it was supposed to be an
open source database. EDB does have hints, but EDB is not Postgres.



--
http://mgogala.byethost5.com

Reply With Quote
  #8  
Old   
Mladen Gogala
 
Posts: n/a

Default Re: Big disappointment with Postgres - 02-04-2011 , 08:58 AM



On Fri, 04 Feb 2011 06:50:29 -0800, Mark D Powell wrote:


Quote:
Update - It also appears that postgreSQL has a hint feature:
http://www.enterprisedb.com/docs/en/8.3R2/perf/
Postgres_Plus_Advanced_Server_Performance_Guide-28.htm

HTH -- Mark D Powell --
This is Postgres:
http://wiki.postgresql.org/wiki/Todo...We_Do_Not_Want

"Optimizer hints (not wanted)

Optimizer hints are used to work around problems in the optimizer and
introduce upgrade and maintenance issues. We would rather have the
problems reported and fixed. We have discussed a more sophisticated
system of per-class cost adjustment instead, but a specification remains
to be developed."

In essence, when I encounter a problem, I am supposed to contact one of
the gurus and have him develop a "custom patch" for me. Nice little
racket.



--
http://mgogala.byethost5.com

Reply With Quote
  #9  
Old   
Thomas Kellerer
 
Posts: n/a

Default Re: Big disappointment with Postgres - 02-04-2011 , 09:04 AM



Mladen Gogala, 04.02.2011 14:40:
Quote:
I invested quite some time in learning the thing, as it seemed very
similar to Oracle. Unfortunately, when it came down to the pilot project,
the mass of the SQL to be ported ultimately required optimizer hints.
There was simply a mass of SQL, ported to different architecture which
needed quick& dirty fix, because of the sheer volume and the deadline.
Unfortunately, Postgres community is run by programming wiz kids who have
never managed a large database and they sanctimoniously refuse to even
consider hints.
Consequently, I have to kill the pilot project. Postgres is, simply, not
a viable alternative. Not with that attitude, anyway.
--> Kill file

Reply With Quote
  #10  
Old   
Mladen Gogala
 
Posts: n/a

Default Re: Big disappointment with Postgres - 02-04-2011 , 10:18 AM



On Fri, 04 Feb 2011 06:43:03 -0800, gazzag wrote:


Quote:
Seriously though, is this a fair comparison?
No. It never was. It was never a question whether Postgres is in the same
league as Oracle, the question was whether Postgres was good enough. For
the applications developed from scratch, it might be. For the porting
projects, it's definitely no good without the optimizer hints. You are
required to either go commercial with EnterpriseDB or get one of the
"gurus' involved, as a consulting gig. That's a very cozy situation,
right there, for everybody involved. Consequently, Postgres is the only
major database that distrusts its own users so deeply to even pronounce a
fatwa against them on the official wiki.

PostgreSQL does have sort of hints but they are ugly, inefficient and
simply not enough for the large porting projects with a ton of SQL and a
deadline. All thy hope abandon. I am adopting wait and see attitude to
see if there will be a fork of the project or a new contender. Postgres
is no good for migrating from Oracle.

--
http://mgogala.byethost5.com

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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.