Re: Partitioning and performance

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Re: Partitioning and performance
Дата
Msg-id 556758EE.6000503@BlueTreble.com
обсуждение исходный текст
Ответ на Partitioning and performance  (Ravi Krishna <sravikrishna3@gmail.com>)
Список pgsql-performance
On 5/28/15 9:31 AM, Ravi Krishna wrote:
> explain select count(*) from tstesting.account where account_row_inst = 101 ;
> Aggregate (cost=8.16..8.17 rows=1 width=0)
> -> Index Only Scan using account_pkey on account (cost=0.14..8.16
> rows=1 width=0)
> Index Cond: (account_row_inst = 101)

EXPLAIN only shows what the planner thinks a query will cost. For any
real testing, you need EXPLAIN ANALYZE.

Also, understand that partitioning isn't a magic bullet. It can make
some operations drastically faster, but it's not going to help every
scenario, and will actually slow some other operations down.
--
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Data in Trouble? Get it in Treble! http://BlueTreble.com


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

Предыдущее
От: Jim Nasby
Дата:
Сообщение: Re: Fastest Backup & Restore for perf testing
Следующее
От: "Peter J. Holzer"
Дата:
Сообщение: Different plan for very similar queries