![]() SQL database system |
Transaction logsA log containing entries for each database transaction is maintained. The name of this file is logs/dbtranslog. The format of the transaction log is:filename op user yy/mm/dd hh:mm:ss field1 .. fieldn
No concurrency control is maintained on the transaction log file; simultaneous
updates may result in scrambled or interleaved transaction log entries.
If this is a concern, transaction logs can be maintained one per user by setting
dbtranslog_byuser in the
project config file
The dbtranslog name will be used, with the user identity appended,
separated by a dot (.).
Error logsWhen an error occurs it is captured and written to an error log. The name of this file is logs/dberrorlog. The format of the error log is:date time errornum user message
NotesThere is no concurrency control on the transaction log or error log, however as noted above the transaction log can be split up by user.
Since there is no server, there's no process that persistently has an open file
descriptor on the log files.
|
![]() Copyright Steve Grubb |