Re: What is faster?

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: What is faster?
Дата
Msg-id 42A4616E.8070101@archonet.com
обсуждение исходный текст
Ответ на What is faster?  ("ON.KG" <skyer@on.kg>)
Ответы Re: What is faster?  ("ON.KG" <skyer@on.kg>)
Список pgsql-sql
ON.KG wrote:
> Hi All!
> 
> What is faster - SLECTion data from one large table (200 000 - 300 000
> records), or SELECTion from a few small tables (example, 2 tables 150
> 000 records each)?

It depends. Are you selecting all records? One record? A few records? If 
one or a few, do you have a suitable index on the table(s)? Is the table 
clustered? Expected to be cached in RAM?

Do you have a specific problem, or reason to believe you may encounter one?

--   Richard Huxton  Archonet Ltd


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: ARRAY() returning NULL instead of ARRAY[] resp. {}
Следующее
От: "ON.KG"
Дата:
Сообщение: Re: What is faster?