达梦数据库 | 教程 | 5.开启归档模式
概述
达梦数据库可以运行在归档状态或者非归档状态下;
如果运行在归档模式,那么联机日志中的内容会以归档日志的形式保存在硬盘中;
如果运行在非归档模式,那么联机日志文件中的内容不会在日志切换的时候形成归档日志,而是会因为联机日志的循环写,而丢失。
采用归档模式会对系统的性能[……]
Adamhuan's Data Center - 【逻辑驱动数据】
数据玩物、代码屋、1/0游戏:(零和博弈)/ 禅宗意志 / 规则战争 / 解放数据力量 / 技术的飞速发展并没有改变这个世界,因为,这个世界从没有变,它只是越来越趋近于它本来的模样。
概述
达梦数据库可以运行在归档状态或者非归档状态下;
如果运行在归档模式,那么联机日志中的内容会以归档日志的形式保存在硬盘中;
如果运行在非归档模式,那么联机日志文件中的内容不会在日志切换的时候形成归档日志,而是会因为联机日志的循环写,而丢失。
采用归档模式会对系统的性能[……]
关于Linux的命令:touch。
通常,我们都认为该命令是用来创建一个新的文件的,并且我们也是按照这样的方式操作的,如下:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
[root@LinuxService ~]# ll total 68 -rw------- 1 root root 885 Jan 12 19:33 anaconda-ks.cfg drwxr-xr-x 2 root root 4096 Jan 12 11:41 Desktop -rw-r--r-- 1 root root 36679 Jan 12 19:32 install.log -rw-r--r-- 1 root root 4038 Jan 12 19:31 install.log.syslog -rw-r--r-- 1 root root 12 Jan 23 10:46 touch_change_date [root@LinuxService ~]# touch me [root@LinuxService ~]# ll total 68 -rw------- 1 root root 885 Jan 12 19:33 anaconda-ks.cfg drwxr-xr-x 2 root root 4096 Jan 12 11:41 Desktop -rw-r--r-- 1 root root 36679 Jan 12 19:32 install.log -rw-r--r-- 1 root root 4038 Jan 12 19:31 install.log.syslog -rw-r--r-- 1 root root 0 Jan 23 10:47 me -rw-r--r-- 1 root root 12 Jan 23 10:46 touch_change_date [root@LinuxService ~]# |
上面的SHELL LOG中,我通过“touch me”创建了一个新的空文件:me。
但事实上,[……]