pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
explain analyze of PG server level
3+ messages / 2 participants
[nested] [flat]

* explain analyze of PG server level
@ 2005-03-25 17:00 Lee Wu <Lwu@mxlogic.com>
  2005-03-25 17:25 ` Re: explain analyze of PG server level Joshua D. Drake <jd@commandprompt.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Lee Wu @ 2005-03-25 17:00 UTC (permalink / raw)
  To: pgsql-admin

Hello,

 

Is there a global PG server level explain analyze parameter I can turn
on to catch

all SQLs issued against PG server, like Oracle SQL_TRACE, and PG
log_statement

in PG 7.3.2?

 

Thanks,

 

 

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: explain analyze of PG server level
  2005-03-25 17:00 explain analyze of PG server level Lee Wu <Lwu@mxlogic.com>
@ 2005-03-25 17:25 ` Joshua D. Drake <jd@commandprompt.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Joshua D. Drake @ 2005-03-25 17:25 UTC (permalink / raw)
  To: Lee Wu <Lwu@mxlogic.com>; +Cc: pgsql-admin

On Fri, 2005-03-25 at 10:00 -0700, Lee Wu wrote:
> -->  
> 
> Hello,
> 
>  
> 
> Is there a global PG server level explain analyze parameter I can turn
> on to catch
> 
> all SQLs issued against PG server, like Oracle SQL_TRACE, and PG
> log_statement

Some of these options in the postgresql.conf might help you out:

#debug_print_parse = false
#debug_print_rewritten = false
#debug_print_plan = false
#debug_pretty_print = false



> 
> in PG 7.3.2?
> 
>  
> 
> Thanks,
> 
>  
> 
>  
> 
> 
-- 
Command Prompt, Inc., Your PostgreSQL solutions company. 503-667-4564
Custom programming, 24x7 support, managed services, and hosting
Open Source Authors: plPHP, pgManage, Co-Authors: plPerlNG
Reliable replication, Mammoth Replicator - http://www.commandprompt.com/




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: explain analyze of PG server level
@ 2005-03-25 17:58 Lee Wu <Lwu@mxlogic.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Lee Wu @ 2005-03-25 17:58 UTC (permalink / raw)
  To: jd@commandprompt.com; +Cc: pgsql-admin

debug_print_plan = true
can give "explain" info, but not "explain ANALYZE" info,
like 
Seq Scan on tmp_user  (cost=0.00..20.00 rows=1000 width=0) (actual
time=0.04..30164.59 rows=1019462 loops=1
which is most interesting to me.

Thanks,

-----Original Message-----
From: Joshua D. Drake [mailto:jd@commandprompt.com] 
Sent: Friday, March 25, 2005 10:26 AM
To: Lee Wu
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] explain analyze of PG server level

On Fri, 2005-03-25 at 10:00 -0700, Lee Wu wrote:
> -->  
> 
> Hello,
> 
>  
> 
> Is there a global PG server level explain analyze parameter I can turn
> on to catch
> 
> all SQLs issued against PG server, like Oracle SQL_TRACE, and PG
> log_statement

Some of these options in the postgresql.conf might help you out:

#debug_print_parse = false
#debug_print_rewritten = false
#debug_print_plan = false
#debug_pretty_print = false



> 
> in PG 7.3.2?
> 
>  
> 
> Thanks,
> 
>  
> 
>  
> 
> 
-- 
Command Prompt, Inc., Your PostgreSQL solutions company. 503-667-4564
Custom programming, 24x7 support, managed services, and hosting
Open Source Authors: plPHP, pgManage, Co-Authors: plPerlNG
Reliable replication, Mammoth Replicator - http://www.commandprompt.com/




^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2005-03-25 17:58 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-03-25 17:00 explain analyze of PG server level Lee Wu <Lwu@mxlogic.com>
2005-03-25 17:25 ` Joshua D. Drake <jd@commandprompt.com>
2005-03-25 17:58 Re: explain analyze of PG server level Lee Wu <Lwu@mxlogic.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox