Subject | Re: [firebird-support] Re: Implement maximum database size |
---|---|
Author | Ann W. Harrison |
Post date | 2007-12-18T15:44:40Z |
btrumba wrote:
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
> Sorry, I was unclear:RDB$PAGES won't tell you the database size - it's not a catalog of
>
> 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..)?
>
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