oracle impdp导入不同模式名和表空间的备份
nohup impdp 'v3xusernew/" 8"' directory=BACKUP dumpfile=2021 09 30.dmp logfile=impdp.log REMAP SCHEMA=v3xuser:v3xusernew remap tablespace=v3x space:v3x new table exists action=replace 这样
nohup impdp 'v3xusernew/" 8"' directory=BACKUP dumpfile=2021 09 30.dmp logfile=impdp.log REMAP SCHEMA=v3xuser:v3xusernew remap tablespace=v3x space:v3x new table exists action=replace 这样
通过换yum源安装: yum install centos release scl rh yum install rh ruby23 y scl enable rh ruby23 bash ruby v 另外可能出现一个错误: ruby: error while loading shared libraries: libruby.so.2.3: cannot open
sql语句如下: SELECT mAX B.file id id, B.TABLESPACE NAME 表空间, B.FILE NAME 物理文件名, B.BYTES / 1024 / 1024 大小M, B.BYTES SUM NVL A.BYTES,0 / 1024 / 1024 已使用M, SUBSTR B.BYTES SUM NVL A.BYTES,0 /
sql如下: select a.a1 表空间名称, c.c2 类型, c.c3 区管理, b.b2/1024/1024/1024 表空间大小G, b.b2 a.a2 /1024/1024/1024 已使用G, substr b.b2 a.a2 /b.b2 100,1,5 已利用率, round 100 substr b.b2 a.a2 /b.b2 100,1,5 , 3 剩余
代码的作用是按照对应的循环次数,每次给当前系统时间加上5秒。 import time import datetime import os for num in range 1,50 : aftertime = datetime.datetime.now + datetime.timedelta seconds=5 .strftime "%Y %m %d %H:%M:%S" pri
脚本作用是从接口获取json数据并提取时间。 import requests import json url = 'http://192.168.0.5:8992/api/datetime' ret = requests.get url rs = json.loads ret.text 'result' 'datetime' print rs 推荐python3运行该脚
将epel源文件中的https转为http。 epel也正好支持http+https两种方式。 sed i 's https:// http:// g' /etc/yum.repos.d/epel repo 问题解决了。