Re: Please comment on pgsql speed at handling 550,000 records

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Please comment on pgsql speed at handling 550,000 records
Дата
Msg-id 27709.1139337977@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Please comment on pgsql speed at handling 550,000 records  (Srinivas Iyyer <srini_iyyer_bio@yahoo.com>)
Список pgsql-novice
Srinivas Iyyer <srini_iyyer_bio@yahoo.com> writes:
> Sorry Tom, for the confusion.
> seq_id is not equal to go_id

> seq_id = NM_000033
> go_is = GO:049934

So how do you know which ones are related?  If there's a table showing
the relationship, joining against that is the way to go.  You might also
want to rethink your choice of data keys --- if there isn't a simple way
to join related rows in different tables, you've chosen a poor data
representation.

A small tip is that integer or bigint keys are likely to perform better
than strings ... but this is definitely a second-order effect, and I
don't think you've yet got the first-order representational decisions
correct.

            regards, tom lane

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

Предыдущее
От: Srinivas Iyyer
Дата:
Сообщение: Re: Please comment on pgsql speed at handling 550,000 records
Следующее
От: Sean Davis
Дата:
Сообщение: Re: Please comment on pgsql speed at handling 550,000