摘要:
# cat mem.sh #!/bin/sh # you might want to add some user authentication here /usr/local/mysql/bin/mysql -S /tmp/mysql3312.sock -uroot -pxxxxx -e "show 阅读全文
阅读排行榜
SQLServer修改Availability Group Endpoint的属主
2022-05-18 16:43 by abce, 120 阅读, 收藏,
摘要:
1.查看endpoint_name,以及当前Availability Group Endpoint的属主 use [master]; select suser_name(principal_id) as endpoint_owner, name as endpoint_name from sys.d 阅读全文
查看sqlserver备份历史
2022-12-14 08:44 by abce, 119 阅读, 收藏,
摘要:
SELECT T1.name ,T3_full.full_backup_start_date ,T3_full.full_backup_finish_date ,T3_full.full_Duration ,t3_full.full_backup_size ,t3_full.full_physica 阅读全文
【Oracle】 Oracle使用cold backup克隆数据库
2022-06-18 14:39 by abce, 118 阅读, 收藏,
摘要:
冷备克隆数据库,需要关闭源库。一般用于没有开启归档的测试库。 源库:srcdb 目标库:trgdb 1.将控制信息备份到trace文件(源端执行) alter database backup controlfile to trace as '/export/home/oracle/ctrl_bkok 阅读全文
调整 MongoDB 以适应批量加载
2024-08-28 09:04 by abce, 117 阅读, 收藏,
摘要:
将几十亿条记录加载到 MongoDB 中,开始时加载速度还不错,但一段时间后就开始明显放缓。通过观察指标进行了一些研究,发现随着时间的推移,WiredTiger 的检查点时间越来越长。检查点时间从最初的几秒到后面的几分钟。在检查点期间,性能基本上是直线下降: WiredTiger检查点 从 Mong 阅读全文