From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Srinivas Iyyer <srini_iyyer_bio(at)yahoo(dot)com> |
Cc: | pgsql-novice(at)postgresql(dot)org |
Subject: | Re: Please comment on pgsql speed at handling 550,000 records |
Date: | 2006-02-07 18:46:17 |
Message-ID: | 27709.1139337977@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
Srinivas Iyyer <srini_iyyer_bio(at)yahoo(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Sean Davis | 2006-02-07 19:10:59 | Re: Please comment on pgsql speed at handling 550,000 |
Previous Message | Srinivas Iyyer | 2006-02-07 18:36:04 | Re: Please comment on pgsql speed at handling 550,000 records |