From: | Richard Huxton <dev(at)archonet(dot)com> |
---|---|
To: | Kevin Quinlan <kquinlan(at)computer(dot)org> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Estimation of SQL statements |
Date: | 2001-02-24 11:23:37 |
Message-ID: | 3A9799B9.43F61817@archonet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Kevin Quinlan wrote:
>
> Are there any good techniques that estimate the time it will take to execute
> an SQL statement, specifically an INSERT, SELECT, UPDATE, or DELETE? What
> factors are important to consider when estimating the execution time of
> these types of SQL statements?
> Thank you,
> Kevin
Complexity and size of statement, complexity and size of tables
involved, complexity and size of indices involved, amount of data (if
any) returned, RDBM design and implementation consideration, OS,
hardware, hardware loading, client design...
Really, you need to know what you are trying to acheive. The best way to
measure speed is to build a system and populate it with dummy data.
Then, analyse your results.
- Richard Huxton
From | Date | Subject | |
---|---|---|---|
Next Message | Olaf Marc Zanger | 2001-02-24 15:55:40 | a tricky one |
Previous Message | Tom Lane | 2001-02-24 06:52:49 | Re: greetings |