Unix Technical Forum

PostgreSQL slammed by PHP creator

This is a discussion on PostgreSQL slammed by PHP creator within the Pgsql General forums, part of the PostgreSQL category; --> Hi all, Any response to this: http://www.internetnews.com/dev-news...le.php/3631831 From the FA: One performance enhancement that Lerdorf suggested based on code ...


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, 11:24 AM
Arturo Perez
 
Posts: n/a
Default PostgreSQL slammed by PHP creator

Hi all,

Any response to this:
http://www.internetnews.com/dev-news...le.php/3631831

From the FA:

One performance enhancement that Lerdorf suggested based on code analysis was to use MySQL instead of PostgreSQL for the database.

"If you can fit your problem into what MySQL can handle it's very fast," Lerdorf said. "You can gain quite a bit of performance."

For the items that MySQL doesn't handle as well as PostgreSQL, Lerdorf noted that some features can be emulated in PHP itself, and you still end up with a net performance boost.

-arturo


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-09-2008, 11:24 AM
AgentM
 
Posts: n/a
Default Re: PostgreSQL slammed by PHP creator


On Sep 14, 2006, at 11:27 , Arturo Perez wrote:

> Hi all,
>
> Any response to this:
> http://www.internetnews.com/dev-news...le.php/3631831
>
> From the FA:
>
> One performance enhancement that Lerdorf suggested based on code
> analysis was to use MySQL instead of PostgreSQL for the database.
>
> "If you can fit your problem into what MySQL can handle it's very
> fast," Lerdorf said. "You can gain quite a bit of performance."
>
> For the items that MySQL doesn't handle as well as PostgreSQL,
> Lerdorf noted that some features can be emulated in PHP itself, and
> you still end up with a net performance boost.


I wasn't able to find anything the "article" worth discussing. If you
give up A, C, I, and D, of course you get better performance- just
like you can get better performance from a wheel-less Yugo if you
slide it down a luge track.

-M

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-09-2008, 11:24 AM
Bernhard Weisshuhn
 
Posts: n/a
Default Re: PostgreSQL slammed by PHP creator

Arturo Perez wrote:

> Any response to this:
> http://www.internetnews.com/dev-news...le.php/3631831


Oh please! Can we skip this one?
Maybe on the advocacy groups, not on [GENERAL], pleeeeeze!

thanks,
bkw

---------------------------(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
  #4 (permalink)  
Old 04-09-2008, 11:24 AM
Berend Tober
 
Posts: n/a
Default Re: PostgreSQL slammed by PHP creator

AgentM wrote:

>
> On Sep 14, 2006, at 11:27 , Arturo Perez wrote:
>
>>
>> One performance enhancement that Lerdorf suggested based on code
>> analysis was to use MySQL instead of PostgreSQL for the database.

>
> ...If you give up A, C, I, and D, of course you get better
> performance- just like you can get better performance from a
> wheel-less Yugo if you slide it down a luge track.



ROTFL. That has got to go down as a classic quotation.


---------------------------(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
  #5 (permalink)  
Old 04-09-2008, 11:24 AM
Joshua D. Drake
 
Posts: n/a
Default Re: PostgreSQL slammed by PHP creator

Arturo Perez wrote:
> Hi all,
>
> Any response to this:
> http://www.internetnews.com/dev-news...le.php/3631831
>
> From the FA:
>
> One performance enhancement that Lerdorf suggested based on code analysis was to use MySQL instead of PostgreSQL for the database.
>
> "If you can fit your problem into what MySQL can handle it's very fast," Lerdorf said. "You can gain quite a bit of performance."
>
> For the items that MySQL doesn't handle as well as PostgreSQL, Lerdorf noted that some features can be emulated in PHP itself, and you still end up with a net performance boost.
>


Considering the quality piece of software that PHP is, I don't hold much
weight to his comment.

However, he does carry some umpf in certain circles. Perhaps we should
prove him wrong?

Joshua D. Drake



> -arturo
>
>



--

=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
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
  #6 (permalink)  
Old 04-09-2008, 11:24 AM
Joshua D. Drake
 
Posts: n/a
Default Re: PostgreSQL slammed by PHP creator

Alvaro Herrera wrote:
> Joshua D. Drake wrote:
>
>> However, he does carry some umpf in certain circles. Perhaps we should
>> prove him wrong?

>
> I take it you mean "oomph"?


Yeah probably

>
> Main Entry: oomph
> Pronunciation: 'um(p)f
> Function: noun
> Etymology: imitative of a sound made under exertion
> 1 : personal charm or magnetism : GLAMOUR
> 2 : SEX APPEAL
> 3 : PUNCH, VITALITY
>



--

=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
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
  #7 (permalink)  
Old 04-09-2008, 11:24 AM
Joshua D. Drake
 
Posts: n/a
Default Re: PostgreSQL slammed by PHP creator


> I wasn't able to find anything the "article" worth discussing. If you
> give up A, C, I, and D, of course you get better performance- just like
> you can get better performance from a wheel-less Yugo if you slide it
> down a luge track.


I don't think a Yugo would give you better performance no matter what
you do

>
> -M
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq
>



--

=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/



---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 04-09-2008, 11:24 AM
Stephen Frost
 
Posts: n/a
Default Re: PostgreSQL slammed by PHP creator

* Arturo Perez (aperez@hayesinc.com) wrote:
> Any response to this:
> http://www.internetnews.com/dev-news...le.php/3631831


Turn fsync off and try again. Don't expect your data to stay consistant
tho.

Enjoy,

Stephen

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFCagErzgMPqB3kigRAhE6AJ43dJaBPql/zPzaZfpzo2XAR7DTKQCgjxz0
Onov1Ih4/3IxnQWDkm/RhSs=
=L7SI
-----END PGP SIGNATURE-----

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 04-09-2008, 11:24 AM
Scott Marlowe
 
Posts: n/a
Default Re: PostgreSQL slammed by PHP creator

On Thu, 2006-09-14 at 11:40, Joshua D. Drake wrote:
> > I wasn't able to find anything the "article" worth discussing. If you
> > give up A, C, I, and D, of course you get better performance- just like
> > you can get better performance from a wheel-less Yugo if you slide it
> > down a luge track.

>
> I don't think a Yugo would give you better performance no matter what
> you do
>
> >


http://www.youtube.com/watch?v=mCkOpfLiRcA

mini on a ski jump.

---------------------------(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
  #10 (permalink)  
Old 04-09-2008, 11:25 AM
Lincoln Yeoh
 
Posts: n/a
Default Re: PostgreSQL slammed by PHP creator

At 11:27 AM 9/14/2006 -0400, Arturo Perez wrote:

>Hi all,
>
>Any response to this:
><http://www.internetnews.com/dev-news/article.php/3631831>http://www.internetnews.com/dev-news...le.php/3631831
>


The title of the article is funny:

"Is PHP The Cure For The 'Broken' Web?"

In my opinion PHP is the main reason why so many websites, apps and servers
are broken! The other reason is probably MySQL .

To paraphrase Rasmus: PHP "is completely broken in so many ways".

PHP makes "wrong things" easy, and "right things" hard.

Evidence: "addslashes", "register_globals" and "magic quotes".

More evidence: PHP Nuke, phpBB, PDO vs PEAR DB.

Taking his advice on software is like taking a coprophagist's advice on
fine dining.

Link.


---------------------------(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
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 05:04 AM.


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