-
-
Notifications
You must be signed in to change notification settings - Fork 222
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
gbak: Incorrect total statistics for restore #8391
Comments
I can't reproduce original problem.
Now let's do b/r using FB 6.0.0.594 (ServerMode = Super):
Log is:
Size of restored .fdb: 21610496 PS. Used firebird.conf:
|
The issue has already been fixed. The latest affected version is 6.0.0.588. |
But in 6.0.0.584 (15-jan-2025) above mentioned script gives similar result:
(vs "gbak: 3185 total statistics" in 6.0.0.594) So: how to reproduce source problem (i.e. when restore log contains total statistics less than num of pages in FDB file) ? |
I reproduced it on the EMPLOYEE databse with default configs. Here is the backup: https://drive.google.com/file/d/1fHg0Br1F7ZZc56ryHDoHpKQd-eppQPfV/view?usp=sharing |
My bad, not EMPLOYEE. It is a TPCH database |
It seems that value of DefaultDBCachePages can affect on outcome. |
I restored a 74M database (~9401 pages), but the number of writes in the gbak output shows only 3087.
77012992 / 8192 = 9401
9401 > 3087
The CCH logging clearly shows almost 10,000 writes
The text was updated successfully, but these errors were encountered: