Subject | Re: [IBO] Database FileSize ? |
---|---|
Author | Lester Caine |
Post date | 2006-06-03T13:34:10Z |
Geoff Worboys wrote:
size, and ringing alarm bells when the size started increasing too quickly.
Haven't needed it with IBO though :)
Lester Caine - G8HFL
-----------------------------
L.S.Caine Electronic Services - http://home.lsces.co.uk
Model Engineers Digital Workshop -
http://home.lsces.co.uk/ModelEngineersDigitalWorkshop/
Treasurer - Firebird Foundation Inc. - http://www.firebirdsql.org/index.php
>>I want to show the actual database filesize in a statusbar,In the good old days of BDE we used to have program monitoring the file
>
> Curious, cannot imagine why a normal user should care about
> the database file size. Whatever...
size, and ringing alarm bells when the size started increasing too quickly.
Haven't needed it with IBO though :)
> IB_Connection.Characteristics--
>
> dbAllocation
> dbPage_Size
>
> attributes are the ones you want, multiply these to get the
> total bytes (but be careful of overflowing a cardinal, you
> could need a 64bit value if your database may be large).
Lester Caine - G8HFL
-----------------------------
L.S.Caine Electronic Services - http://home.lsces.co.uk
Model Engineers Digital Workshop -
http://home.lsces.co.uk/ModelEngineersDigitalWorkshop/
Treasurer - Firebird Foundation Inc. - http://www.firebirdsql.org/index.php