Re: is this explain good or bad???

From: Tomasz Myrta <jasiek(at)klaster(dot)net>
To: ries(at)jongert(dot)nl
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: is this explain good or bad???
Date: 2003-09-19 06:51:50
Message-ID: 3F6AA786.1080404@klaster.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

> explain select count(*) from sq_logfile;
Not too helpful.
Better choice is:
explain analyze select * from sq_logfile;

Your explains show that selecting from view is 4 times slower than
selecting from a table (35988:128282). It is possible.
Anyway counting 1 million rows usualy takes a long time...

Regards,
Tomasz Myrta

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message A.Bhuvaneswaran 2003-09-19 07:47:33 Re: Automated Backup
Previous Message ries 2003-09-19 06:33:11 is this explain good or bad???