What is the quickest query in the database?

From: P G <pg_dba(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: What is the quickest query in the database?
Date: 2003-02-20 17:52:07
Message-ID: 20030220175207.85834.qmail@web13307.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

What is the quickest and least intrusive query in the
database that will always succeed?

select current_user;

-- OR --

select datname from pg_database where datname =
'some_database';

Or would it be something else?

TIA.

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Williams, Travis L, NPONS 2003-02-20 18:05:11 Re: max connections
Previous Message Eric B.Ridge 2003-02-20 17:43:21 Fwd: REWRITE_INVOKE_MAX and "query may contain cycles"