2018年6月8日
摘要:
Oracle Flashback Database To use the FLASHBACK DATABASE command to return your database contents to points in time within the flashback window, your d
阅读全文
posted @ 2018-06-08 15:46
helontian
阅读(128)
推荐(0)
摘要:
The following list summarizes the user privileges required for the operations related to Flashback Drop and the recycle bin: DROP Any user with DROP p
阅读全文
posted @ 2018-06-08 15:35
helontian
阅读(209)
推荐(0)
摘要:
Ensure that the prerequisites described in Prerequisites for Flashback Table are met. To use the Flashback Table feature on one or more tables, use th
阅读全文
posted @ 2018-06-08 15:27
helontian
阅读(196)
推荐(0)
摘要:
新上线MySQL数据库规划1.删除test库2.删除root用户或者让root用户只可在本机登陆而对于有业务访问的数据库,在做删除root用户前需要依次确认 function、procedure、event、view、trigger的definer;有definer为root@%或root@xxx需
阅读全文
posted @ 2018-06-08 11:03
helontian
阅读(149)
推荐(0)
2018年6月7日
摘要:
生产系统ORACLE数据库备份实施 采用RMAN差异增量备份 策略:每4个月一次全备;每周日RMAN0级备份、周一至周六rman1级差异增量备份; Rman备份脚本:
阅读全文
posted @ 2018-06-07 12:00
helontian
阅读(116)
推荐(0)
2018年6月4日
摘要:
部分索引 char/varchar2太长,全部做索引的话,效率低,浪费存储空间 select avg(length(username)) from 索引统计: show index from table select * from I_S.STATISTICS mysql.innodb_index_
阅读全文
posted @ 2018-06-04 23:07
helontian
阅读(221)
推荐(0)
摘要:
mysql> UPDATE financial_sales_order SET ASSIGN_TIME = '2018-05-02 00:00:00' where CUSTOMER_ID=3541535;ERROR 1292 (22007): Truncated incorrect DOUBLE v
阅读全文
posted @ 2018-06-04 18:16
helontian
阅读(389)
推荐(0)
2018年6月1日
摘要:
mysql创建view、trigger、function、procedure、event时都会定义一个Definer: SQL SECURITY 有两个选项,一个为DEFINER,一个为INVOKER;SQL SECURITY { DEFINER | INVOKER } :指明谁有权限来执行。DEF
阅读全文
posted @ 2018-06-01 17:30
helontian
阅读(419)
推荐(0)
2018年5月30日
摘要:
[root@node1 op]#mysql -Vmysql Ver 14.14 Distrib 5.6.29innobackupex热备份MySQL报错,报错信息:[root@node1 op]#innobackupex --defaults-file=/data/mysql/my.cnf --us
阅读全文
posted @ 2018-05-30 17:11
helontian
阅读(496)
推荐(0)
2018年5月23日
摘要:
主库: 一:强制force logging: alter database force logging; 二:开启主库的归档模式 三:主库添加standby redo log,比redo日志组多一组: ALTER DATABASE ADD STANDBY LOGFILE GROUP 4 ('/dat
阅读全文
posted @ 2018-05-23 19:46
helontian
阅读(489)
推荐(0)
摘要:
undo数据保留7天orcl> show parameter undo NAME TYPE VALUE _optimizer_undo_cost_change string 12.1.0.2temp_undo_enabled boolean FALSEundo_management string A
阅读全文
posted @ 2018-05-23 18:48
helontian
阅读(269)
推荐(0)
2018年5月8日
摘要:
IOS主要模式模式 描述 提示符用户执行模式 路由器受限检查,远程访问 Router>特权执行模式 路由器的详细检查:调试和测试,文件处理,远程访问 Router#全局配置模式 全局配置命令 Router(config)#其他配置模式 特定的服务和接口配置 Router(config-mode)#
阅读全文
posted @ 2018-05-08 10:38
helontian
阅读(10457)
推荐(1)
2018年5月6日
摘要:
Cisco Packet Tracer基本使用 1:添加设备:路由器选择1841,交换机选择2960二层交换机,添加PC、服务器Server(End Devices) 2:添加连接:这里指以太网连接,直连网线和交叉网线: PC到交换机、交换机到路由器使用直连网线;路由器到路由器、路由器到服务器使用交
阅读全文
posted @ 2018-05-06 01:02
helontian
阅读(15809)
推荐(0)
2018年5月5日
摘要:
lc_messages_dir 2018-05-05T13:48:22.481858Z 0 [ERROR] Error message file '/usr/share/mysql/english/errmsg.sys' had only 1081 error messages, but it sh
阅读全文
posted @ 2018-05-05 22:58
helontian
阅读(150)
推荐(0)
2018年4月28日
摘要:
dba@(none) 02:48:05>show slave status\G;*************************** 1. row *************************** Slave_IO_State: Waiting for master to send even
阅读全文
posted @ 2018-04-28 17:33
helontian
阅读(157)
推荐(0)
2018年4月24日
摘要:
https://mp.weixin.qq.com/s/Gwc9UP2nbi3uFzQ3vElEOA 针对跨平台跨版本的迁移,主要有以下三种方式:数据泵、GoldenGate / DSG、XTTS,针对停机时间、复杂度、实施准备时间,做了以下列表比对: 客户的需求都是最短停机时间,最少数据丢失。 对于
阅读全文
posted @ 2018-04-24 18:11
helontian
阅读(212)
推荐(0)
2018年4月20日
摘要:
修改表PTLOG的列TYPE的char(1)为varchar(2)类型? 在PTLOG 表新增一列 TYPE_2:ALTER TABLE PTLOG ADD TYPE_2 VARCHAR2(2) default NULL; 更新TYPE_2与TYPE一致: update PTLOG SET TYPE
阅读全文
posted @ 2018-04-20 11:23
helontian
阅读(824)
推荐(0)
摘要:
http://liwenshui322.iteye.com/blog/1166934 DDL锁有三种: 1.排他DDL锁(Exclusive DDL lock):这会防止其他会话得到它们自己的DDL锁或TM(DML)锁。这说明,在DDL操作期间你可以查询一个表,但是无法以任何方式修改这个表。 2.共
阅读全文
posted @ 2018-04-20 11:11
helontian
阅读(2810)
推荐(0)
2018年4月19日
摘要:
MongoDB提供两种复制风格:主从复制、副本集 两种方式都是在一个主节点进行写操作(写入的数据被异步地同步到所有的从节点),并从节点上读取数据。 副本集保证自动故障转移,如果主节点由于某种原因下线,可能的花,会自动将一哥从节点提升为主节点。 只有一种情况需要选择MongoDB的主从复制,即需要超过
阅读全文
posted @ 2018-04-19 18:39
helontian
阅读(210)
推荐(0)
2018年4月13日
摘要:
DRBD+headbeat +lvs+keepalived
阅读全文
posted @ 2018-04-13 14:52
helontian
阅读(151)
推荐(0)