Re: primary keys as TEXT
От | Aaron Bono |
---|---|
Тема | Re: primary keys as TEXT |
Дата | |
Msg-id | bf05e51c0607311234na9fd236mae1374db82a80b3@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: primary keys as TEXT (Manlio Perillo <manlio_perillo@libero.it>) |
Список | pgsql-sql |
On 7/31/06, Manlio Perillo <manlio_perillo@libero.it> wrote:
My guess is that the performance difference is not going to be noticable unless you are dealing with huge amounts of data and even then may account for such a small hit that there will be other issues that are more pressing like writing better queries, creating a data warehouse or adding proper indexes and keeping the indexes well maintained.
Anyone care to disagree?
==================================================================
Aaron Bono
Aranya Software Technologies, Inc.
http://www.aranya.com
==================================================================
Because serial ids are only surrogate keys.
My tables have well definited primary keys, the only problem is that
they are of type TEXT (and spawn up to 3 columns).
My concern is: how bad can be performance?
Anyone care to disagree?
==================================================================
Aaron Bono
Aranya Software Technologies, Inc.
http://www.aranya.com
==================================================================
В списке pgsql-sql по дате отправления: