Re: [PERFORM] Group by more efficient than distinct?

2008-04-18 Thread Thomas Pundt
"distinct" and thus might benefit from more optimization paths. Ciao, Thomas -- Thomas Pundt <[EMAIL PROTECTED]> http://rp-online.de/ -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance

Re: [PERFORM] slow pg_connect()

2008-03-24 Thread Thomas Pundt
Hi, [EMAIL PROTECTED] schrieb: Please, how long takes your connectiong to postgres? $starttimer=time()+microtime(); $dbconn = pg_connect("host=localhost port=5432 dbname=xxx user=xxx password=xxx") or die("Couldn't Connect".pg_last_error()); $stoptimer = time()+microtime(); echo "Gene

Re: [PERFORM] How to determine which indexes are not using or using seldom in database

2007-04-02 Thread Thomas Pundt
r backup. Ciao, Thomas -- Thomas Pundt <[EMAIL PROTECTED]> http://rp-online.de/ ---(end of broadcast)--- TIP 4: Have you searched our list archives? http://archives.postgresql.org

Re: [PERFORM] Slow access to PostgreSQL server

2006-08-11 Thread Thomas Pundt
really really sure that this is not a network issue? I'd double check that this is not a duplex mismatch, misconfigured router or switch or something in that direction. Ciao, Thomas -- Thomas Pundt <[EMAIL PROTECTED]> http://rp-online.de/ ---(end o

Re: [PERFORM] Query Feromance

2006-03-21 Thread Thomas Pundt
ns on runtime configuration, especially 17.7 and 17.8 might be of interest for you. Ciao, Thomas -- Thomas Pundt <[EMAIL PROTECTED]> http://rp-online.de/ ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ignore you

Re: [PERFORM] Query Feromance

2006-03-21 Thread Thomas Pundt
e system (for | the "where and join" block). as a first step, I'd enable query duration logging; in postgresql.conf I have set log_min_duration_statement = 3000 this will log each query that needs more than 3 seconds to complete. The next step would be to "explain analyze&qu