From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Don Baccus <dhogaza(at)pacifier(dot)com> |
Cc: | Hannu Krosing <hannu(at)tm(dot)ee>, Jan Wieck <wieck(at)debis(dot)com>, PostgreSQL HACKERS <pgsql-hackers(at)postgreSQL(dot)org> |
Subject: | Re: [HACKERS] LZTEXT for rule plan stings |
Date: | 2000-02-26 15:36:20 |
Message-ID: | 200002261536.KAA02325@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> I see tables that have two or three varchar(4000) columns with other
> data, i.e. names and stuff that are also varchar but smaller. I know
> that these don't actually get stuffed with 4000 chars but rather
> that 4KB is the upper limit of the size of an Oracle varchar and that
> the author's been lazy. If I had a compressed text or varchar type
> I'd be quite confident that the application code would run even with
> an 8KB block size.
Just to clearify, varchar(4000) does not take 4000 chars on disk, while
char(4000) does use 4000 chars on the disk.
--
Bruce Momjian | http://www.op.net/~candle
pgman(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 | Tom Lane | 2000-02-26 17:15:19 | Re: [HACKERS] LZTEXT for rule plan stings |
Previous Message | Don Baccus | 2000-02-26 14:58:40 | Re: [HACKERS] LZTEXT for rule plan stings |