Re: schema/db design wrt performance

Поиск
Список
Период
Сортировка
От Fernando Papa
Тема Re: schema/db design wrt performance
Дата
Msg-id CB94A4924490EC4A81EDA55BA378B7BA9D2D97@exch2k01.buehuergo.corp.claxson.com
обсуждение исходный текст
Ответ на schema/db design wrt performance  (CaptainX0r <captainx0r@yahoo.com>)
Список pgsql-performance
I think FK on every database (oracle and MSSQL too) may hit performance,
but only in DML (insert/update/delete). These are tradeoffs...
referencial integrity vs. problems with batchload for example.
My Oracle experience say when I need to do batchload, I disable
constraints and then apply and work over exceptions.
If you don't make referencial integrity on database maybe you need to do
it on you application... and I think will be very painfull.

--
Fernando O. Papa
DBA


> -----Mensaje original-----
> De: CaptainX0r [mailto:captainx0r@yahoo.com]
> Enviado el: jueves, 16 de enero de 2003 10:52
> Para: pgsql-performance@postgresql.org
> Asunto: [PERFORM] schema/db design wrt performance
>
>
> All,
>
> I just noted in another thread that use of foreign keys in
> postgres significantly hinders performance.  I'm wondering
> what other aspects we should take into consideration in the
> design of our database.  We're coming from Sybase and trying
> to design a more encompassing, modular, generic database that
> won't take a serious performance hit under postgres.
>
> Thanks,
>
> -X
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html

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

Предыдущее
От: CaptainX0r
Дата:
Сообщение: schema/db design wrt performance
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: schema/db design wrt performance