摘要:
乐观备份可以用来提升备份和恢复体量比较大的数据库(只有少量的表经常变更)的性能。 2)在大型数据库的热备份过程中(例如,以TB为单位),当备份进行时,可能会在服务器上生成巨大的重做日志文件。由于重做日志文件的增长速度快于mysqlbackup处理的速度,因此当mysqlbackup无法赶上重做日志周 阅读全文
摘要:
1. 官方文档连接 https://dev.mysql.com/doc/refman/8.2/en/innodb-purge-configuration.html 2. 说明 当你用sql语句去删除一行数据的时候,innodb物理上不会立即从数据库中移除一行记录。当innodb丢弃关于这段删除的un 阅读全文
摘要:
1. English Description What is a Cumulative Update? When a group of multiple patches & updates comes out by Microsoft, we call it a Cumulative Update. 阅读全文
摘要:
只能通过注册表修改 通过修改注册表进行修改HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL15.TACTICALDEV\SQLServerAgent下的ErrorLogFile指标的值就可以修改sql gent的错误日志 阅读全文
摘要:
1. 问题描述 使用MySQL8.0.30创建主从,启动从库的时候报错: Last_IO_Errno:2061 Last_IO_Error:error connecting to mater 'repl@xxxxx:3308' - retry-time:60 retries:1 massage:Au 阅读全文
摘要:
1. 服务器配置检查列表 1) 检查/tmp目录,至少需要400MB空间 2) 检查swap分区 256 MB: 3 times the size of RAM Between 256 MB and 512 MB: 2 times the size of RAM Between 512 MB and 阅读全文
摘要:
with aa as (SELECT IID, USERNAME, to_char(BEGIN_TIME,'mm/dd hh24:mi') begin_time, SQL_ID, decode(COMMAND_TYPE,3,'SELECT',2,'INSERT',6,'UPDATE',7,'DELE 阅读全文
摘要:
1. 问题描述 [oracle@servername db]$ OPatch/opatch version OPatch/opatch: line 839: [: too many arguments OPatch/opatch: line 839: [: too many arguments Ja 阅读全文
摘要:
1. Oracle手工删除数据库 1) 关闭数据库 su - oracle sqlplus / as sysdba select name from v$database; shutdown immediate; 2) 删除文件 RACLE_BASE=/u01/app/oracle ORACLE_H 阅读全文
摘要:
安装依赖包 su - root yum -y install unzip yum -y install binutils.x86_64 yum -y install gcc.x86_64 yum -y install gcc-c++.x86_64 yum -y install glibc.i686 阅读全文