在使用mysqlbinlog分析日志时,报错:/usr/local/mysql/bin/mysqlbinlog:unknownvariable‘default-character-set=utf8‘原因分析:产生这个问题的原因是因为我在my.cnf中的client选项组中添加了:
default-character-set=utf8
这个是mysqlbinlog的一个bug解决方法:使用mysqlbin..
分类:
数据库 时间:
2015-12-28 18:54:13
阅读次数:
205
利用闪回查看Oracle表历史时刻数据1.查看表历史时刻数据select * from tab_test AS OF TIMESTAMP to_timestamp('20140917 10:00:00','yyyymmdd hh24:mi:ss');2、利用flashback table恢复表到过去...
分类:
数据库 时间:
2015-12-10 21:20:30
阅读次数:
161
id=`ls-t|grepmysql-bin.0|wc-l`echo$idif[[$id-gt50]];thenls-t|grepmysql-bin.0|tail-n$(($id-50))|xargsrm-rffi
分类:
数据库 时间:
2015-11-27 15:07:44
阅读次数:
292
创建Flashback Data Archive用户需要授予dba或flashback archive administer系统特权。flashback archive administer系统特权包含:create flashback archive,alter flashback archive...
分类:
其他好文 时间:
2015-11-03 12:02:58
阅读次数:
287
QUESTION NO: 526
You enabled Flashback Data Archive on the INVENTORY table. Which DDL operation is supported on the
table after enabling Flashback Data Archive?
A. Drop the table.
B. Partition the...
分类:
其他好文 时间:
2015-10-20 15:26:23
阅读次数:
143
QUESTION NO: 458
Which client requests to the database can be captured as a part of the workload capture? (Choose all that
apply.)
A. flashback query
B. distributed transactions
C. logging in and...
分类:
其他好文 时间:
2015-10-18 10:05:45
阅读次数:
152
查看数据库是否是归档模式:SQL>showparameterdb_flashback;NAMETYPEVALUE-----------------------------------------------------------------------------db_flashback_retention_targetinteger1440SQL>archiveloglist;DatabaselogmodeArchiveModeAutomaticarchivalEna..
分类:
数据库 时间:
2015-10-16 19:10:21
阅读次数:
186
QUESTION NO: 416
Which two statements regarding the Flashback Table feature are correct? (Choose two.)
A. Flashback Table can be performed on system tables.
B. Flashback Table operation does not sh...
分类:
其他好文 时间:
2015-10-15 11:21:18
阅读次数:
136
QUESTION NO: 289
Flashback Database relies on which technologies to recover to a point in time?A. Flashback Data Archive
B. Flashback logs in the flash recovery area
C. FlashbUndo tablespace
D. RMA...
分类:
其他好文 时间:
2015-10-11 11:40:16
阅读次数:
173
QUESTION NO: 291
Which of these are valid Flashback Database recovery point parameters? (Choose all that apply.)
A. SCN
B. Timestamp
C. Named recovery point
D. Transaction ID
E. Session ID
Answ...
分类:
其他好文 时间:
2015-10-11 11:37:26
阅读次数:
155