摘要: 下载redis wget http://download.redis.io/releases/redis-5.0.5.tar.gz 创建用户及目录 groupadd redis useradd -g redis redismkdir -p /u01/redis 解压及安装 gzip -d redis 阅读全文
posted @ 2019-09-16 18:06 刚好遇见Mysql 阅读(223) 评论(0) 推荐(0)
摘要: dbca 过程中如果提示有asm 磁盘的权限问题,可以在host01 和host02 分别设置/u01/app/11.2.0/grid/bin 目录下的oracle 权限,执行chmod 6755 oracle,再重新将之前的删除再执行dbca 阅读全文
posted @ 2019-09-10 06:52 刚好遇见Mysql 阅读(519) 评论(0) 推荐(0)
摘要: linux下面使用通配符正常 impdp system/oracle directory=dump dumpfile=ht_%u remap_schema=ht:ht1 REMAP_TABLESPACE=%:ts_3 TABLE_EXISTS_ACTION=replace 阅读全文
posted @ 2019-09-10 06:45 刚好遇见Mysql 阅读(1631) 评论(0) 推荐(0)
摘要: crsctl start hasCRS-4124: Oracle High Availability Services startup failed.CRS-4000: Command Start failed, or completed with errors. [grid@qzdb1 clien 阅读全文
posted @ 2019-09-06 10:52 刚好遇见Mysql 阅读(676) 评论(0) 推荐(0)
摘要: 1 [root@htdb2 ~]# /u01/app/crs/bin/oifcfg getif 2 eth11 192.168.20.0 global public 3 eth12 10.0.0.0 global cluster_interconnect 4 [root@htdb2 ~]# /u01/app/crs/bin/oifcfg setif -global eth13... 阅读全文
posted @ 2019-07-09 13:17 刚好遇见Mysql 阅读(388) 评论(0) 推荐(0)
摘要: 1 11g中引入DBMS_SHARED_POOL.PURGE删除指定的某个sql_id不用清空shared_pool 2 查看包DBMS_SHARED_POOL定义 3 desc sys.DBMS_SHARED_POOL; 4 PROCEDURE PURGE 5 Argument Name Type In/Out Default? 6 ... 阅读全文
posted @ 2019-07-03 22:39 刚好遇见Mysql 阅读(1075) 评论(0) 推荐(0)
摘要: 1 mysql> SHOW VARIABLES LIKE 'innodb_file_per_table'; 2 + + + 3 | Variable_name | Value | 4 + + + 5 | innodb_file_per_table | ON | 6 + + + 7 1 row in 阅读全文
posted @ 2019-06-05 17:19 刚好遇见Mysql 阅读(8143) 评论(0) 推荐(0)
摘要: 测试表employees.t_emp水平分片,按照emp_no分片 配置mycat schema rule 1 [mycat@redis04 conf]$ cat schema.xml 2 <?xml version="1.0"?> 3 <!DOCTYPE mycat:schema SYSTEM " 阅读全文
posted @ 2019-06-04 16:46 刚好遇见Mysql 阅读(225) 评论(0) 推荐(0)
摘要: mysql> select emp_no,first_name,last_name,gender into outfile '/home/mycat/t1.txt' -> FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' LINES TERMIN 阅读全文
posted @ 2019-05-30 14:16 刚好遇见Mysql 阅读(660) 评论(0) 推荐(0)
摘要: gzip -c /home/mysql/test_db-master/load_employees.dump | ssh mycat@192.168.20.204"gunzip -c - >/home/mycat/load_employees.dump" nc -l 12345 | tar xvzf 阅读全文
posted @ 2019-05-30 13:40 刚好遇见Mysql 阅读(230) 评论(0) 推荐(0)