From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Jan Wieck <wieck(at)debis(dot)com> |
Cc: | Hannu Krosing <hannu(at)tm(dot)ee>, tgl(at)sss(dot)pgh(dot)pa(dot)us, pgsql-hackers(at)postgreSQL(dot)org |
Subject: | Re: [HACKERS] LONG |
Date: | 1999-12-11 23:28:07 |
Message-ID: | 199912112328.SAA13267@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> > At least this is my impression from some descriptions, and it also
> > seems reasonable thing to do in general as we dont want to read in
> > 500K tuples (and then sort them) just to join on int fields and filter
> > out on boolean and count(n) < 3.
>
> Even if this is a side effect I haven't seen at the
> beginning, it would be one of the best side effect's I've
> ever seen. A really tempting one that's worth to try it
> anyway.
>
Or make struct varlena vl_len a 15-bit field, and make islong a 1-bit
field. I don't remember if using & manually or bit fields is faster.
--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 1999-12-11 23:54:58 | Re: [HACKERS] LONG |
Previous Message | Bruce Momjian | 1999-12-11 23:25:12 | Re: [HACKERS] LONG |