Re: Best way to handle multi-billion row read-only table?

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: Best way to handle multi-billion row read-only table?
Дата
Msg-id dcc563d11002091916k69515ecre7c40d30f0447202@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Best way to handle multi-billion row read-only table?  ("BillR" <iambill@williamrosmus.com>)
Список pgsql-general
On Tue, Feb 9, 2010 at 8:06 PM, BillR <iambill@williamrosmus.com> wrote:
> Is it also possible to denormalize by putting the 'channel' data in the
> first table (especially if it isn't very much)? Maintaining a foreign key
> constraint can impact performance significantly in most RDBMS's, even when
> deferring checking. I could be wrong, but I suspect PostgreSQL is no
> different. Or keep the data normalized and  remove the constraint
> altogether. Also remove any primary key constraint so that it doesn't have
> to check uniqueness, and avoid as many indexes as you can.
>
> You have to take a leap of faith that you created your program well enough
> to not get out of sync.
>
> I would be interested to hear comments on this. These are some of the things
> we did on systems I have worked on running Oracle that handled even higher
> volumes (tens to hundreds of thousands of transactions per second or
> higher... sustained throughout the day at least on the lower volume).
> Granted we had real heavy hardware but the DBAs forbade us to create
> constraints and indexes etc. for this reason; except on less active tables.
> Everyone has already talked about partitioning, but load balancing across
> machines if you can afford a couple or few more could help too. Not sure
> what facility Postgres has for this though (I would be interested to hear

I was under the impression the data was being gathered elsewhere and
then imported, so the insert performance isn't as critical as if it
was being done real time.

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

Предыдущее
От: "BillR"
Дата:
Сообщение: Re: Best way to handle multi-billion row read-only table?
Следующее
От: "BillR"
Дата:
Сообщение: Re: R: One column to multiple columns based on constraints?