
Key: |
CORE-1538
|
Type: |
New Feature
|
Status: |
Resolved
|
Resolution: |
Fixed
|
Priority: |
Minor
|
Assignee: |
Vlad Khorsun
|
Reporter: |
sboyd
|
Votes: |
1
|
Watchers: |
4
|
If you were logged in you would be able to see more operations.
|
|
|
Issue Links:
|
Relate
|
This issue relate to:
|
|
CORE-5063
Make "show database" command to show numbers of used and free pages in database
|
|
|
|
|
|
|
|
I have already posted this request to the architect's list, but at Vlad's request I am also posting it here.
There are times when it would be nice to know how many free pages are available in a database. Consider the situation where an application stores large amounts of data in BLOBs. In this type of application it is important to constantly monitor the amount of disc space being used by the database so that the application doesn't consume all available space on the device. In a new database, when the application is constantly adding BLOBs, this is easily accomplished by monitoring the amount of free space on the device. When the free space drops below a certain threshold, the database can be purged and life carries on. But after the database has been purged, the free space on the device is not longer indicative of the free space available to the application since there exists a pool of unused pages inside the database itself. For this reason it would be nice to be able to know how many free pages there are in the database to know how much space is available to the application.
I was thinking that a new option on the isc_database_info API call could return the number of free pages.
I have sample code that implements this in a stand alone application if anyone want to see it.
|
Description
|
I have already posted this request to the architect's list, but at Vlad's request I am also posting it here.
There are times when it would be nice to know how many free pages are available in a database. Consider the situation where an application stores large amounts of data in BLOBs. In this type of application it is important to constantly monitor the amount of disc space being used by the database so that the application doesn't consume all available space on the device. In a new database, when the application is constantly adding BLOBs, this is easily accomplished by monitoring the amount of free space on the device. When the free space drops below a certain threshold, the database can be purged and life carries on. But after the database has been purged, the free space on the device is not longer indicative of the free space available to the application since there exists a pool of unused pages inside the database itself. For this reason it would be nice to be able to know how many free pages there are in the database to know how much space is available to the application.
I was thinking that a new option on the isc_database_info API call could return the number of free pages.
I have sample code that implements this in a stand alone application if anyone want to see it.
|
Show » |
made changes - 26/Oct/07 06:13 PM
Field |
Original Value |
New Value |
Assignee
|
|
Vlad Khorsun
[ hvlad
]
|
made changes - 26/Oct/07 06:14 PM
Fix Version/s
|
|
3.0.0
[ 10048
]
|
made changes - 28/Jan/08 01:17 PM
Workflow
|
jira
[ 13346
]
|
Firebird
[ 14014
]
|
made changes - 19/Oct/09 05:24 PM
Fix Version/s
|
|
3.0 Alpha 1
[ 10331
]
|
Fix Version/s
|
3.0.0
[ 10048
]
|
|
made changes - 23/Oct/12 08:41 AM
Fix Version/s
|
|
3.0 Beta 1
[ 10332
]
|
Fix Version/s
|
3.0 Alpha 1
[ 10331
]
|
|
made changes - 24/Apr/14 12:13 PM
Fix Version/s
|
|
3.0 Beta 2
[ 10586
]
|
Fix Version/s
|
3.0 Beta 1
[ 10332
]
|
|
made changes - 18/Mar/15 01:26 PM
Fix Version/s
|
|
3.0 RC 1
[ 10584
]
|
Fix Version/s
|
3.0 Beta 2
[ 10586
]
|
|
made changes - 27/Oct/15 10:52 AM
Fix Version/s
|
|
3.0.0
[ 10048
]
|
Fix Version/s
|
3.0 RC 1
[ 10584
]
|
|
made changes - 02/Jan/16 11:30 AM
Status
|
Open
[ 1
]
|
Resolved
[ 5
]
|
Resolution
|
|
Fixed
[ 1
]
|
|
fb_info_pages_used = 124
fb_info_pages_free = 125
PS Sorry it was took so long to implement this feature