2018年4月13日
摘要:
;任务名称:生产环境下schema ELON数据迁移至schema TIAN ######################################## 测试一:测试参数 数据泵数据导出:expdp system/oracle SCHEMAS=ELON directory=EXPDP_DIR
阅读全文
posted @ 2018-04-13 13:06
helontian
阅读(883)
推荐(0)
摘要:
任务名称:生产环境下schema ELON数据迁移至schema TIAN######################################## 测试二:测试参数remap_tablespace 导出schema ELON的全部数据:[oracle@PROD-DB01 ~]$expdp s
阅读全文
posted @ 2018-04-13 11:59
helontian
阅读(161)
推荐(0)
摘要:
任务名称:生产环境下schema ELON数据迁移至schema TIAN########################################前期准备:1:确认ELON用户下的对象状态select owner,constraint_name,constraint_type,table_n
阅读全文
posted @ 2018-04-13 11:43
helontian
阅读(241)
推荐(0)
2018年4月12日
摘要:
V$MANAGED_STANDBY displays current status information for some Oracle Database processes related to physical standby databases in the Data Guard envir
阅读全文
posted @ 2018-04-12 22:07
helontian
阅读(354)
推荐(0)
2018年4月11日
摘要:
[Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'information_schema.PROFILING.SEQ' which is
阅读全文
posted @ 2018-04-11 07:16
helontian
阅读(144)
推荐(0)
posted @ 2018-04-11 07:10
helontian
阅读(174)
推荐(0)
posted @ 2018-04-11 07:10
helontian
阅读(84)
推荐(0)
posted @ 2018-04-11 07:03
helontian
阅读(165)
推荐(0)
2018年4月10日
摘要:
Classic Replicat Mode (一)源端和目标端新增加复制表 根据需求将生产库中PROCESS_LOG表通过ogg同步到测试库中:操作步骤: 当GoldenGate仅打开DML复制时,源端增加复制表:在GoldenGate的进程参数中,如果通过*来匹配所有表,因此只要符合*所匹配的条件
阅读全文
posted @ 2018-04-10 20:14
helontian
阅读(198)
推荐(0)
摘要:
参考:http://blog.163.com/yvtong@126/blog/static/8753524720132223343722/ ORA-39083: Object type REF_CONSTRAINT:"TEST"."FK_AN_ID" failed to create with er
阅读全文
posted @ 2018-04-10 19:33
helontian
阅读(530)
推荐(0)
摘要:
https://community.oracle.com/thread/3540795 概述 数据库坏块(corruption) 的类型可以按照坏块所属对象的不同,分为用户数据坏块,数据字典坏块,Undo坏块,控制文件坏块,Redo坏块,Lob坏块,index坏块等等;也可以按照坏块产生的原因,分为
阅读全文
posted @ 2018-04-10 19:15
helontian
阅读(4213)
推荐(0)
2018年4月9日
摘要:
mysql基于binlog主从复制架构,IO、SQL线程运行为YES,从库没有同步数据 Slave_IO_Running: Yes Slave_SQL_Running: Yes Replicate_Do_DB: ht,ht_prod 解决问题: replicate-do-db = ht,ht_pro
阅读全文
posted @ 2018-04-09 17:02
helontian
阅读(388)
推荐(0)
摘要:
[Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'information_schema.PROFILING.SEQ' which is
阅读全文
posted @ 2018-04-09 10:39
helontian
阅读(138)
推荐(0)
2018年4月3日
摘要:
编辑sqlnet.ora文件 #开启ip限制功能tcp.validnode_checking=yes#允许访问数据库的IP地址列表,多个IP地址使用逗号分开tcp.invited_nodes=(10.120.84.59,10.120.84.54,10.120.84.58)#禁止访问数据库的IP地址列
阅读全文
posted @ 2018-04-03 17:46
helontian
阅读(3325)
推荐(0)
摘要:
用户管理 数据库关闭认证,登入mongo shell环境,创建超级管理员admin $ mongo 10.83.122.105:32121 MongoDB Enterprise > db.version()3.4.10 1.创建超级管理员 MongoDB Enterprise > use admin
阅读全文
posted @ 2018-04-03 17:38
helontian
阅读(154)
推荐(0)
2018年3月30日
摘要:
oracle相同数据库下跨schema的表迁移—expdp/impdp Creating a Directory: Examples CREATE OR REPLACE DIRECTORY bfile_dir AS '/usr/bin/bfile_dir'; 需求:将GUIDO用户下的表迁移到SCO
阅读全文
posted @ 2018-03-30 16:36
helontian
阅读(606)
推荐(0)
2018年3月29日
摘要:
MySQL版本:mysql5.7.21 修改用户权限,刷新权限表,报1146 mysql> flush privileges; ERROR 1146 (42S02): Table 'mysql.servers' doesn't exist mysql> use mysql; mysql> show
阅读全文
posted @ 2018-03-29 17:09
helontian
阅读(2295)
推荐(0)
2018年2月9日
摘要:
1:log_slave_updates: 从库1搭建级联从库2,从库1需要开启log_slave_updates,修改/etc/my.cnf,增加一行log_slave_updates=1,重启数据库。 http://blog.itpub.net/12679300/viewspace-1319263
阅读全文
posted @ 2018-02-09 17:07
helontian
阅读(245)
推荐(0)
2017年11月9日
摘要:
将actor表的first_name的varchar(45) ,修改为varchar(60) [root@vhost1 ~]# mysql -uroot -p -S /mysqldata/tmp/mysql33061.sock Enter password: Welcome to the MySQL
阅读全文
posted @ 2017-11-09 11:05
helontian
阅读(278)
推荐(0)
2017年11月7日
摘要:
需求:生产环境同步sakila (root@localhost) [(none)]> show databases;+ +| Database |+ +| information_schema || mysql || performance_schema || sakila |+ +4 rows i
阅读全文
posted @ 2017-11-07 23:00
helontian
阅读(614)
推荐(0)