11 2021 档案

摘要:1.通过--all-databases选项对所有的数据库进行备份 [mysql@redhat6 MysqlDb_Backup]$ mysqldump -uroot -p --single-transaction --master-data --triggers --events --routines 阅读全文
posted @ 2021-11-25 17:14 beawh 阅读(1668) 评论(0) 推荐(0) 编辑
摘要:在mysql提示符下,输入system后面接要执行的操作系统命令,而不用退出mysql命令行,执行操作系统命令。 1.查看当前系统上各文件系统的使用情况: mysql> system df -h;Filesystem Size Used Avail Use% Mounted on/dev/mappe 阅读全文
posted @ 2021-11-25 16:25 beawh 阅读(306) 评论(0) 推荐(0) 编辑
摘要:在mysql数据库,如果数据库启动的时候,启用了log-bin选项,那么, 所有对于数据库的修改都会记录在binary log中,binary log可以用于数据库的恢复。 1.查看my.cnf中配置的log-bin参数 [mysql@redhat6 ~]$ grep "log-bin" /etc/ 阅读全文
posted @ 2021-11-25 16:08 beawh 阅读(1492) 评论(0) 推荐(1) 编辑
摘要:mysql> update user set authentication_string=password('mysql123') where user='root' ;Query OK, 1 row affected, 1 warning (0.00 sec) mysql> flush privi 阅读全文
posted @ 2021-11-17 15:15 beawh 阅读(484) 评论(0) 推荐(0) 编辑
摘要:查询11g表空间使用率: set linesize 200 pagesize 999 col tablespace_name for a30 col file_name for a65 select name inst_name, b.tablespace_name , ROUND(b.total/ 阅读全文
posted @ 2021-11-16 09:48 beawh 阅读(498) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2021-11-04 17:24 beawh 阅读(3) 评论(0) 推荐(0) 编辑
摘要:联机文档 独占线程: 如果根据调度程序的自动观察,某个请求独占执行线程的时间超过了正常执行时间,则为“真”。 True if the execute thread is being hogged by a request for much more than the normal execution 阅读全文
posted @ 2021-11-03 17:27 beawh 阅读(668) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示