上一页 1 ··· 7 8 9 10 11 12 下一页
摘要: -- WX:DBAJOE399 --set line 200 pages 999 column name for a10 column tablespace_name for a15 column "MAXSIZE (GB)" format 9,999,990.00 column "ALLOC (G 阅读全文
posted @ 2023-05-30 17:58 DBAGPT 阅读(28) 评论(0) 推荐(0)
摘要: -- WX:DBAJOE399 -- set feedback off set pagesize 70; set linesize 2000 set head on COLUMN Tablespace format a25 heading 'Tablespace Name' COLUMN autoe 阅读全文
posted @ 2023-05-29 21:41 DBAGPT 阅读(23) 评论(0) 推荐(0)
摘要: 最近忙于做数据库12c-19c迁移,基于公司的情况,选用了最拿手的expdp/impdp oracle自带的王者级别工具进行迁移。 按照常规思路,一顿操作猛如虎,expdp 直接选用full=y将数据全库导出,然后在19c中导入,无论是12c中的导出还是19c中的导入数据,没有任何的错误, 然而在无 阅读全文
posted @ 2023-05-29 17:48 DBAGPT 阅读(51) 评论(0) 推荐(0)
摘要: 脚本说明: 1、普遍用于 使用expdp/impdp 数据泵进行的数据(全库或者特定schemas)迁移 2、适用于无PDB的Oracle环境 3、适用于RAC,SI,ADG 以及多实例的环境 使用方法: 创建脚本为 display_all_users_ddl.sh 然后将正文内容贴入 并保存,然后 阅读全文
posted @ 2023-05-26 19:55 DBAGPT 阅读(32) 评论(0) 推荐(0)
摘要: check out the tbs's usage in PDB and CDB , run in CDB set line 200 pages 999 column name for a10 column tablespace_name for a15 column "MAXSIZE (GB)" 阅读全文
posted @ 2023-05-20 13:59 DBAGPT 阅读(18) 评论(0) 推荐(0)
摘要: https://oracledbwr.com/category/scripts/ https://kancloud.cn/zatko/oracle/22898878 https://orahow.com/tablespace-utilization-in-oracle/ www.oracle-bas 阅读全文
posted @ 2023-05-20 13:54 DBAGPT 阅读(34) 评论(0) 推荐(0)
摘要: -- ###############OnSource################### -- WX:DBAJOE399 create or replace procedure pr_user_ddl as cursor get_username is select username from d 阅读全文
posted @ 2023-05-20 13:45 DBAGPT 阅读(23) 评论(0) 推荐(0)
摘要: -- 两个不错的 ansible vagrant # https://github.com/r-trigo/postgres-repmgr-vagrant # https://github.com/2ndquadrant-it/ansible-postgresql-barman-playground 阅读全文
posted @ 2023-05-07 20:41 DBAGPT 阅读(20) 评论(0) 推荐(0)
摘要: # 背景 ``` 使用阿里云CentOS作为镜像仓库 ``` # 镜像仓库 ``` #- 默认系统没有安装wget,因此使用curl最方便 curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos 阅读全文
posted @ 2023-05-07 19:40 DBAGPT 阅读(39) 评论(0) 推荐(0)
摘要: 陷阱 Linux7开始,默认在selinux级别上都有所增强,特别对于.ssh文件的 上下文 属性必须是ssh_home_t,否则导致其他权限都正确的情况下,passwordless ssh还是会失败。 1. Config the ssh - /etc/ssh/ssh_config # - ensu 阅读全文
posted @ 2023-05-07 19:07 DBAGPT 阅读(45) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 下一页