These locks protect various files. For example, one lock
protects the control file so that only one process at a time can change it. Another lock
coordinates the use and archiving of the redo log files. Datafiles are locked to ensure
that multiple instances mount a database in shared mode or that one instance mounts
it in exclusive mode. Because file and log locks indicate the status of files, these locks
are necessarily held for a long time.
文件和日志管理锁
1. 这些锁用户保护各种文件.
如保护控制文件的锁,确保同一时间只有一个进程能够对其进行修改.
数据文件锁确保一个实例以排他模式加载, 多实例共享加载数据库
2. 由于文件及日志锁反映的是文件的状态,因此此类锁的持续时间较长
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/10599713/viewspace-992626/ ,如需转载,请注明出处,否则将追究法律责任。