DB2“静默”状态与解除
2016-03-23 14:36
309 查看
首先关闭所有到数据库的连接,将数据库置为“静默”状态:
$ db2 connect to testdb user db2inst1 using thepasswd
$ db2 quiesce database immediate force connections
$ db2 connect reset
现在可以开始备份了:
$ db2 backup database test to /home/backup” user db2inst1 using thepasswd
解除数据库的“静默”状态:
$ db2 connect to testdb user db2inst1 using thepasswd
$ db2 unquiesce database
$ db2 connect reset
$ db2 connect to testdb user db2inst1 using thepasswd
$ db2 quiesce database immediate force connections
$ db2 connect reset
现在可以开始备份了:
$ db2 backup database test to /home/backup” user db2inst1 using thepasswd
解除数据库的“静默”状态:
$ db2 connect to testdb user db2inst1 using thepasswd
$ db2 unquiesce database
$ db2 connect reset
相关文章推荐
- 什么是pyc文件
- WAS环境下解决奇怪的中文乱码问题
- Using convolutional neural nets to detect facial keypoints tutorial
- mysql集群
- 如果让c程序更短
- leetcode 102 Binary Tree Level Order Traversal
- Web API的发布问题
- 简单的用CAShapeLayer画个圈
- 详解Snort系统
- JTable的排序和过滤
- DB2开启归档模式
- 递归学习(笔记)
- ORACEL存储过程中声明一个可存储记录的像数据表一样的变量的简便方法。
- TOJ 2779.Fishing
- 并行计算提升32K*32K点(32位浮点数) FFT计算速度(4核八线程E3处理器)
- POJ 1832 Stripies(贪心)
- Linux命令 crontab
- 基于TestNG 与Selenium 的自动化测试设计与实施(三)
- ReentrantLock
- spring3.1以上利用 ehcache进行注解配置缓存不起作用的原因