Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make "show database" command to show numbers of used and free pages in database [CORE5063] #5350

Closed
firebird-issue-importer opened this issue Jan 2, 2016 · 6 comments

Comments

@firebird-issue-importer
Copy link

firebird-issue-importer commented Jan 2, 2016

Submitted by: @hvlad

Is related to CORE1538

Commits: 241059f FirebirdSQL/fbt-repository@89363ec

====== Test Details ======

TEST NOT NEEDED: ... fbt-repo\tests\functional\basic\isql\isql_01.fbt does actions that exactly match for this tcket (i.e. checksoutput of SHOW DATABASE command).

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jan 2, 2016

Modified by: @hvlad

Link: This issue is related to CORE1538 [ CORE1538 ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jan 2, 2016

Modified by: @hvlad

assignee: Vlad Khorsun [ hvlad ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jan 2, 2016

Commented by: @hvlad

Now, "show database" prints two more lines, as below

SQL> show database;
Database: c:\Temp\FB30.TPCC-S.300.FDB
Owner: SYSDBA
PAGE_SIZE 8192
Number of DB pages allocated = 2095520
Number of DB pages used = 2083825
Number of DB pages free = 11695
Sweep interval = 20000
Forced Writes are OFF
Transaction - oldest = 30376850
Transaction - oldest active = 30376851
Transaction - oldest snapshot = 30376851
Transaction - Next = 30376855
ODS = 12.0
Default Character set: NONE

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jan 2, 2016

Modified by: @hvlad

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 3.0 RC2 [ 10048 ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jan 3, 2016

Modified by: @pavel-zotov

status: Resolved [ 5 ] => Resolved [ 5 ]

QA Status: No test => Done successfully

Test Details: TEST NOT NEEDED: ... fbt-repo\tests\functional\basic\isql\isql_01.fbt does actions that exactly match for this tcket (i.e. checksoutput of SHOW DATABASE command).

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jan 3, 2016

Modified by: @pavel-zotov

status: Resolved [ 5 ] => Closed [ 6 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants