NOTICE: This document is the chapter from the book "The InterBase World" which was written by Alexey Kovyazin and Serg Vostrikov.
The chapter from book "The InterBase World" devoted to the database repairing.Version | Page size=1024 | Page size=2048 | Page size=4096 | Page size=8192 |
Pre 6 | 248 | 504 | 1016 | 2040 |
6.0.x | 124 | 257 | 508 | 102 |
Database page size | Critical number of transactions |
1024 byte | 131 596 287 |
2048 byte | 265 814 016 |
4096 byte | 534 249 472 |
8192 byte | 1 071 120 384 |
Option | Description |
–f[ull] | This option is used in combination with –v and means it’s time to check all fragments of records |
–i[gnore] | Option makes gfix ignore checksums errors at the time of validation or database cleaning |
–m[end] | Marks damaged records as not available, as a result of what they will be deleted during the following backup/restore. Option is used at the time of preparing corrupted database to b/r. |
–n[o_update] | Option is used in combination with –v for read-only database validation without correcting corruptions |
–pas[sword] | Option allows to set the password when connecting database. (Note that it is the error in InterBase documentation -pa[ssword], but the shortcut "-pa" will not work - use "-pas" ) |
–user | Option allows to set user’s name connecting database |
–v[alidate] | Option presetting database validation in the way of which errors are discovered |
-m[ode] | Option setting the write mode for database – for read only or read/write. This parameter can accept 2 values – read write or read only. |
–w[rite] {sync | async} | Option that turns on and off the mode synchronous/asynchronous forced writes to database. sync – to turn synchronous writes on (FW ON); async –to turn asynchronous writes on (FW OFF); |