Subject Re: [firebird-support] Re: Implement maximum database size
Author Ann W. Harrison
btrumba wrote:
> Sorry, I was unclear:
>
> I want to LIMIT database size. One user is using database. E.g.: let
> say that user can only insert 100Mb of data into database.
>
> Another question:
> Is there a way to know actual database size by reading Database system
> tables (e.g. RDB$PAGES..)?
>

RDB$PAGES won't tell you the database size - it's not a catalog of
every page. There is a database info call that will give you the
size. Firebird doesn't implement a size limit to databases. You
could, I guess, code the check yourself.

What do you want the database to do when it hits the limit? Suppose the
page that goes over the limit is a transaction inventory page?


Regards,


Ann