Subject | Re: [firebird-support] Page Size |
---|---|
Author | Ann Harrison |
Post date | 2003-11-17T21:50:17Z |
Uwe Oeder wrote:
header information that gives the page type, then specific information
for that type. A page is the unit that firebird reads and writes.
in the table and how the table is used. Very large tables and smaller
tables that are searched exhaustively benefit from larger cache sizes.
Regards,
Ann
>What is the page size of a DB ?A firebird database is comprised of fixed sized pages. Each page has
>
header information that gives the page type, then specific information
for that type. A page is the unit that firebird reads and writes.
> I read it should not be smaller than the largest record sizeSplitting a record across pages means more I/O and is generally a bad idea.
>
> and it if possible be the same size as disk low-level I/O performed mostly in 4096 bytes.That part isn't worth worrying about anymore.
>
>...My largest table / record structure is ofEither 4096 or 8192. Probably 4096 is OK.
>[120 characters , 1 small int and 6 x Integers] = 120 + 2 + 6 x 4 bytes =
>132 bytes. What should I make the page size ?
>
>What should I make the Buffer size ?Try 2000. The buffer size is really a factor of the number of records
>
in the table and how the table is used. Very large tables and smaller
tables that are searched exhaustively benefit from larger cache sizes.
Regards,
Ann