摘要: --建表 select * into tablenew from tableold 阅读全文
posted @ 2024-07-22 09:44 刚好遇见Mysql 阅读(1) 评论(0) 推荐(0) 编辑
摘要: rsync -avuP jdk1.8.0_202 root@192.168.1.68:/data 阅读全文
posted @ 2024-07-20 08:58 刚好遇见Mysql 阅读(1) 评论(0) 推荐(0) 编辑
摘要: mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/rep 阅读全文
posted @ 2024-07-16 11:42 刚好遇见Mysql 阅读(1) 评论(0) 推荐(0) 编辑
摘要: linux7以上安装图形化 yum groupinstall -y "GNOME Desktop" "Graphical Administration Tools"systemctl get-defaultsystemctl set-default graphical.targetsystemctl 阅读全文
posted @ 2024-06-06 13:46 刚好遇见Mysql 阅读(2) 评论(0) 推荐(0) 编辑
摘要: pvcreate /dev/sdbvgcreate vg_nc /dev/sdblvcreate -l +100%FREE -n lv_nc vg_ncmkfs.xfs /dev/vg_nc/lv_ncmount /dev/vg_nc/lv_nc /nc xfs文件系统扩展vgextend vg_n 阅读全文
posted @ 2024-05-14 11:33 刚好遇见Mysql 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 在Oracle19C中,账号分为两种,一种是公用账号,一种是本地账号。共有账号是指在CDB下创建,并在全部PDB中生效的账号,另一种是在PDB中创建的账号 cdb下创建账户 create user C##ncc identified by ncc; 查看监听 Services Summary...S 阅读全文
posted @ 2024-05-11 14:24 刚好遇见Mysql 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 现场同事告知oracle 19C 下生产大量trc文件,把oracle目录撑爆 查看trc文件如下 kqrpre: key mismatch po=0x132745948 hash=27d744ca SO: 0x12a9d2098, type: row cache enqueues (111), m 阅读全文
posted @ 2024-04-22 09:40 刚好遇见Mysql 阅读(42) 评论(0) 推荐(0) 编辑
摘要: 由于业务需要,需要使用白名单限制用户登录数据库的地址,决定使用数据库白名单功能一般单实例数据库启动白名单只需要在sqlnet.ora中添加以下内容即可: TCP.VALIDNODE_CHECKING=yes (开启IP限制功能), TCP.INVITED_NODES=(192.168.1.103,i 阅读全文
posted @ 2024-04-19 14:31 刚好遇见Mysql 阅读(12) 评论(0) 推荐(0) 编辑
摘要: --表 select 'ALTER TABLE '||owner||'.'||table_name||' MOVE TABLESPACE '||tablespace_name||' STORAGE(INITIAL 64K NEXT 32K);' from dba_tables where owner 阅读全文
posted @ 2024-04-17 17:52 刚好遇见Mysql 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 1、用sysdba账号登入数据库,然后查询到要更改的用户信息: SELECT user#,name FROM user$;2、更改用户名并提交: update user$ set name='demokygs' where user#=111; COMMIT;3、强制刷新: ALTER SYSTEM 阅读全文
posted @ 2024-04-12 18:43 刚好遇见Mysql 阅读(74) 评论(0) 推荐(0) 编辑