Subject | RE: [firebird-support] Any API to get the database size? |
---|---|
Author | Yusuf Celik |
Post date | 2007-11-08T09:53:19Z |
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.
Regards
Yu�suf CELIK
________________________________
From: firebird-support@yahoogroups.com [mailto:firebird-support@yahoogroups.com] On Behalf Of Alan McDonald
Sent: Thursday, November 08, 2007 11:45 AM
To: firebird-support@yahoogroups.com
Subject: RE: [firebird-support] Any API to get the database size?
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
correct.
You're better off doing this on record counts - something more definitive.
Alan
[Non-text portions of this message have been removed]
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.
Regards
Yu�suf CELIK
________________________________
From: firebird-support@yahoogroups.com [mailto:firebird-support@yahoogroups.com] On Behalf Of Alan McDonald
Sent: Thursday, November 08, 2007 11:45 AM
To: firebird-support@yahoogroups.com
Subject: RE: [firebird-support] Any API to get the database size?
> Hi,I don't think this would be the right approach. The DB size is not an
> 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
>
>
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
correct.
You're better off doing this on record counts - something more definitive.
Alan
[Non-text portions of this message have been removed]