Subject RE: [firebird-support] Any API to get the database size?
Author Yusuf Celik
Thanks Alan,
with larger page size might effect let's say another couple of (may be more) megs.
I think I can live with that.
But If I go with record count approach and apply to a real time application this might slow down my application.

Yu�suf CELIK


From: [] On Behalf Of Alan McDonald
Sent: Thursday, November 08, 2007 11:45 AM
Subject: RE: [firebird-support] Any API to get the database size?

> 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.

[Non-text portions of this message have been removed]