
1-26 IBM Informix OnLine Database Server Administrator’s Guide
Logical Log Configuration Guidelines
Refertopage 1-42forguidelinesondecidinghowmuchdiskspaceshouldbe
dedicated to OnLine dbspaces. Refer to page 1-26 for information about
sizing the logical log files.
The default value of PHYSDBS is 1,000 KB.
The default values included in the tbconfig.std file adhere to both of the
guidelinesjustdescribed.Thesizeofthephysicallogis1,000KB.Thedefault
value of
LOGSIZE is 500 KB. The default value of LOGFILES is 6. Thus, total
logical log size is 3,000 KB. Total space devoted to the physical and logical
logs is 4,000 KB. This value meets the first criterion of 20 percent of the root
dbspace, which is 20,000 KB. The strategy also meets the second recommen-
dation to allocate logging space in a ratio of 3:1, logical log space to physical
log space.
Logical Log Configuration Guidelines
Thissectiondescribeshowtoassigninitialconfigurationvaluestothelogicallog
parameters. Refer to page 3-14 for a detailed discussion of logical log configu-
rationguidelines.Refertopage 4-18foranoverviewofthemechanicsofOnLine
blobspace and dbspace logging.
OnLine supports transaction logging, which is the ability of the database
server to track and, if needed, to roll back all changes made to the database
during application transactions.OnLine transactionlogging is implemented
by recording each change made to a database in disk space allocated for the
OnLine logical log files.
Thelogicallogfiles contain a historyofalldatabase changes since thetimeof
the last archive. At any time, the combination of OnLine archive tapes plus
OnLine logical log files contain a complete copy of your OnLine data.
AsOnLine administrator, youdecideontheoptimum total sizeof the logical
log:LOGFILESmultipliedbyLOGSIZE.Theoptimum size ofthelogicallogsis
based on the length of individual transactions. (OnLine does not permit a
singletransactiontospanall logicallogfiles.)Refertopage 2-156fordetailed
information on selecting values for LOGFILES and LOGSIZE that are specifi-
cally tuned to your application environment.
Komentáře k této Příručce