Subject RE: [firebird-support] Any API to get the database size?
Author Alan McDonald
> Hi,
> I hope this is not a silly question.
> Is there any way to get the database size from any client?
> If I have given away a demo product so I can limit the size
> of db and prevent user from adding/updating data.
> Thanks in advance
> with regards
> Yusuf CELIK

I don't think this would be the right approach. The DB size is not an
accurate means of putting this sort of limit on things. If someone restores
the DB with a larger page size than you expect, then your calcs may not be
You're better off doing this on record counts - something more definitive.