Unix Technical Forum

Re: Query time

This is a discussion on Re: Query time within the Pgsql Performance forums, part of the PostgreSQL category; --> There is not possibility to use another database. It's the best option I have seen. We have been working ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql Performance

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2008, 08:15 AM
Ruben Rubio Rey
 
Posts: n/a
Default Re: Query time

There is not possibility to use another database. It's the best option I
have seen. We have been working in postgres in last 3 years, and this is
the first problem I have seen. (The database is working in a large
website, 6.000 visits per day in a dedicated server)

Any other idea?


Chethana, Rao (IE10) wrote:

>USUALLY POSTGRES DATABASE TAKES MORE TIME, COMPARED TO OTHER DATABASES.
>HOWEVER U CAN FINETUNE THE PERFORMANCE OF POSTGRESQL.
>IF U HAVE AN OPTION GO FOR SQLITE, MYSQL OR FIREBIRD.
>
>-----Original Message-----
>From: pgsql-performance-owner@postgresql.org
>[mailtogsql-performance-owner@postgresql.org] On Behalf Of Ruben Rubio
>Rey
>Sent: Friday, March 10, 2006 2:06 AM
>To: pgsql-performance@postgresql.org
>Subject: [PERFORM] Query time
>
>Hi,
>
>I think im specting problems with a 7.4.8 postgres database.
>
>Sometimes some big query takes between 5 to 15 seconds. It happens
>sometimes all the day it does not depend if database is busy.
>
>I have measured that sentence in 15 - 70 ms in normal circunstances.
>
>Why sometimes its takes too much time?
>How can I fix it?
>Is a postgres version problem, database problem or query problem?
>
>Any ideas will be apreciatted.
>
>Ruben Rubio
>
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 6: explain analyze is your friend
>
>
>
>



---------------------------(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
  #2 (permalink)  
Old 04-19-2008, 08:15 AM
Jim C. Nasby
 
Posts: n/a
Default Re: Query time

On Fri, Mar 10, 2006 at 11:29:53AM +0100, Ruben Rubio Rey wrote:
> There is not possibility to use another database. It's the best option I
> have seen. We have been working in postgres in last 3 years, and this is
> the first problem I have seen. (The database is working in a large
> website, 6.000 visits per day in a dedicated server)
>
> Any other idea?
>
>
> Chethana, Rao (IE10) wrote:
>
> >USUALLY POSTGRES DATABASE TAKES MORE TIME, COMPARED TO OTHER DATABASES.
> >HOWEVER U CAN FINETUNE THE PERFORMANCE OF POSTGRESQL.
> >IF U HAVE AN OPTION GO FOR SQLITE, MYSQL OR FIREBIRD.


If I were you I wouldn't believe any performance recommendations from
someone who can't find their caps-lock key or spell "you".

The fact is, on any meaningful benchmark current versions of PostgreSQL
are on par with other databases. Any benchmark that shows PostgreSQL to
be 'slow' is almost certain to be very old and/or does a very poor job
of reflecting how client-server databases are normally used. The one
caveat is that PostgreSQL is often overkill for single user embedded
database type apps.
--
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
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 04:35 AM.


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