Subject | Re: [Firebird-Architect] Question about limits in fb 2.5 or 3.0 |
---|---|
Author | Alexandre Benson Smith |
Post date | 2009-02-24T22:25:05Z |
Leyne, Sean wrote:
see you !
--
Alexandre Benson Smith
Development
THOR Software e Comercial Ltda
Santo Andre - Sao Paulo - Brazil
www.thorsoftware.com.br
> Therefore, I propose the following two mappings approaches:I prefer for #2
>
> Approach #1 (store values in number of k bytes)
>
> 1 (01h) = 1k
> 2 (02h) = 2k
> 4 (04h) = 4k
> ...
> 64 (40h) = 64k
>
> This would have a "value less than 1024" page size limit of 512k
> and an absolute page size limit of 4096k (4m)
>
>
> Approach #2 (store values in number of 2^n k bytes)
>
> 0 = 1k
> 1 = 2k
> 2 = 4k
> 3 = 8k
> 4 = 16k
> 5 = 32k
> 6 = 64k
> 7 = 128k
> ...
> 10 = 1024k
> ...
> 15 = 32768k
>
> This approach would have no practical page size limit, even
> within values less than 1024.
>
>
> Sean
>
see you !
--
Alexandre Benson Smith
Development
THOR Software e Comercial Ltda
Santo Andre - Sao Paulo - Brazil
www.thorsoftware.com.br