📄 limits.so
字号:
m4_comment([$Id: limits.so,v 10.26 2004/08/13 03:48:05 bostic Exp $])m4_ref_title(Logging Subsystem, Log file limits, @log file limits, log/config, mp/intro)m4_p([dnlLog filenames and sizes impose a limit on how long databases may beused in a m4_db database environment. It is quite unlikely that anapplication will reach this limit; however, if the limit is reached,the m4_db environment's databases must be dumped and reloaded.])m4_p([dnlThe log filename consists of m4_bold(log.) followed by 10 digits, witha maximum of 2,000,000,000 log files. Consider an application performing6000 transactions per second for 24 hours a day, logged into 10MB logfiles, in which each transaction is logging approximately 500 bytes of data.The following calculation:])m4_indent([(10 * 2^20 * 2000000000) / (6000 * 500 * 365 * 60 * 60 * 24) = ~221])m4_p([dnlindicates that the system will run out of log filenames in roughly 221years.])m4_p([dnlThere is no way to reset the log filename space in m4_db. If yourapplication is reaching the end of its log filename space, you must dothe following:])m4_nlistbeginm4_nlist([dnlArchive your databases as if to prepare for catastrophic failure (seem4_link(M4RELDIR/ref/transapp/archival, [Database and log file archival])for more information).])m4_nlist([dnlReset the database's log sequence numbers (see the m4_option(r) optionto the m4_ref(db_load) utility for more information).])m4_nlist([dnlRemove all of the log files from the database environment. (This is theonly situation in which all the log files are removed from an environment;in all other cases, at least a single log file is retained.)])m4_nlist([Restart your application.])m4_nlistendm4_page_footer
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -