自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

DB2備份測試的開始備份的操作流程

數(shù)據(jù)庫
以下的文章主要是淺談DB2備份測試的開始備份的實際操作步驟,其中包括做一個在線全備操作,創(chuàng)建一個表并插入數(shù)據(jù)等步驟的描述。

此文章主要講述的是DB2備份測試的開始備份的實際操作步驟,如果你對DB2備份測試的開始備份的實際操作步驟有興趣的話,你就可以對以下的文章點擊觀看了,以下就是文章的詳細內容介紹,望大家借鑒。

DB2, DB2備份數(shù)據(jù)庫, 實例, 講解

 

1、做一個在線全備操作:

 

  1. [db2inst1@db2 ~]$ db2 backup db sample online to /tmp/db2inst1/sample/off_back include logs  
  2. Backup successful. The timestamp for this backup image is : 20090917061921 

2、創(chuàng)建一個表,并插入數(shù)據(jù):

 

  1. db2 => connect to sample  
  2. Database Connection Information  
  3. Database server 
  4. DB2/LINUX 9.1.3  
  5. SQL authorization ID 
  6. DB2INST1 
  7. Local database alias 
  8. SAMPLE 
  9. db2 => insert into sales1 select * from sales  
  10. DB20000I  
  11. The SQL command completed successfully.  
  12. db2 => insert into sales1 select * from sales1  
  13. DB20000I  
  14. The SQL command completed successfully.  
  15. db2 => insert into sales1 select * from sales1  
  16. DB20000I  
  17. The SQL command completed successfully  
  18. db2 => select * from sales1  
  19. SALES_DATE SALES_PERSON  
  20. REGION  
  21. SALES  
  22. 12/31/2005 LUCCHESSI  
  23. Ontario-South  
  24. 1  
  25. 12/31/2005 LEE  
  26. Ontario-South  
  27. 3  
  28. 12/31/2005 LEE  
  29. Quebec  
  30. 1  
  31. 12/31/2005 LEE  
  32. Manitoba  
  33. 2  
  34. 12/31/2005 GOUNOT  
  35. Quebec  
  36. 1  
  37. 03/29/2006 LUCCHESSI  
  38. Ontario-South  
  39. 3  
  40. 03/29/2006 LUCCHESSI  
  41. Quebec  
  42. 。。。。。。。。。。。  

3、DB2備份測試之做增量備份:

  1. [db2inst1@db2 ~]$ db2 backup db sample online incremental to /tmp/db2inst1/sample/off_back include logs  
  2. Backup successful. The timestamp for this backup image is : 20090917062532 

4、刪除表操作:

 

  1. [db2inst1@db2 off_back]$ db2stop force  
  2. 09/17/2009 06:26:47  
  3. 0  
  4. 0  
  5. SQL1064N  
  6. DB2STOP processing was successful.  
  7. SQL1064N  
  8. DB2STOP processing was successful.  
  9. [db2inst1@db2 off_back]$ db2start  
  10. 09/17/2009 06:26:57  
  11. 0  
  12. 0  
  13. SQL1063N  
  14. DB2START processing was successful.  
  15. SQL1063N  
  16. DB2START processing was successful.  
  17. db2 => connect to sample  
  18. Database Connection Information  
  19. Database server 
  20. DB2/LINUX 9.1.3  
  21. SQL authorization ID 
  22. DB2INST1 
  23. Local database alias 
  24. SAMPLE 
  25. db2 => drop table sales1  
  26. DB20000I  
  27. The SQL command completed successfully.  
  28. db2 => select * from sales1  
  29. SQL0204N  
  30. "DB2INST1.SALES1" is an undefined name.  
  31. SQLSTATE=42704 

以上的相關內容就是對DB2備份測試的介紹,望你能有所收獲。

【編輯推薦】

  1. IBM DB2 Content Manager V83與手工配置SSL
  2. 失敗DB2® access 服務器配置的正確恢復流程
  3. DB2 V9.7啟用索引壓縮大揭秘
  4. DB2數(shù)據(jù)庫備份參數(shù)修改后報錯如何拯救?
  5. 手動安裝DB2數(shù)據(jù)庫的實現(xiàn)在UNIX操作環(huán)境下

 

責任編輯:佚名 來源: 網(wǎng)界網(wǎng)
相關推薦

2011-05-11 13:01:07

DB2數(shù)據(jù)恢復數(shù)據(jù)備份

2010-08-12 10:27:21

DB2數(shù)據(jù)庫備份

2010-11-03 14:05:58

DB2離線備份

2010-08-06 18:01:13

DB2數(shù)據(jù)備份

2010-08-17 13:37:18

DB2 Online

2010-11-03 14:16:29

DB2增量備份

2010-08-03 09:32:19

DB2在線備份

2010-08-17 15:06:50

DB2 多分區(qū)數(shù)據(jù)庫備

2010-11-03 14:57:44

DB2備份所有表

2010-09-01 11:17:29

DB2備份

2010-11-03 14:10:23

DB2在線備份

2010-08-03 09:44:42

DB2在線增量備份

2010-08-26 15:15:18

DB2備份

2010-08-12 09:59:03

DB2備份恢復

2010-08-06 09:07:15

DB2線增量備份

2010-08-09 16:46:05

DB2備份

2010-08-17 15:42:30

DB2 增量備份

2010-08-12 16:10:45

DB2 Online

2009-06-25 11:47:59

DB2數(shù)據(jù)備份

2015-10-23 16:37:13

提高DB2數(shù)據(jù)備份
點贊
收藏

51CTO技術棧公眾號