Re: Estimation of SQL statements

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Estimation of SQL statements
Дата
Msg-id 3A9799B9.43F61817@archonet.com
обсуждение исходный текст
Ответ на Estimation of SQL statements  ("Kevin Quinlan" <kquinlan@computer.org>)
Список 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


В списке pgsql-sql по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: greetings
Следующее
От: Olaf Marc Zanger
Дата:
Сообщение: a tricky one