随笔分类 -  oracle

摘要:内容大多来自网络博客、贴吧,如果侵犯了你的权益,告诉我,我删掉。 这个脚本,我自己再centos7.8+oracle19.3是测试过了的。具体在各自环境上跑,可能有细节需要调整。 #!/bin/sh SOFTDIR=/oracle/app/oracle/product/19.3.0/dbhome_1 阅读全文
posted @ 2020-09-05 07:07 smallfishy 阅读(510) 评论(0) 推荐(0)
摘要:或非原创,我也说不清楚了。 一、ORACLE的启动和关闭 1、在单机环境下 要想启动或关闭ORACLE系统必须首先切换到ORACLE用户,如下 su - oracle a、启动ORACLE系统 oracle>svrmgrl SVRMGR>connect internal SVRMGR>startup 阅读全文
posted @ 2020-05-19 15:09 smallfishy 阅读(311) 评论(0) 推荐(0)
摘要:或非原创,我也说清楚了! 查看表空间的名称及大小:SQL>select t.tablespace_name, round(sum(bytes/(1024*1024)),0) ts_sizefrom dba_tablespaces t, dba_data_files d where t.tablesp 阅读全文
posted @ 2020-05-19 15:04 smallfishy 阅读(337) 评论(0) 推荐(0)
摘要:非原创。 软件下载地址 https://fossies.org/linux/privat/rlwrap-0.43.tar.gz/ [root@localhost db]#ll|grep rlwrap-rw-r--r--. 1 root root 313139 Jul 30 08:50 rlwrap- 阅读全文
posted @ 2020-05-19 15:03 smallfishy 阅读(299) 评论(0) 推荐(0)
摘要:非完全原创,有很多东西也是借鉴别人的,或者直接拿来!! #!/bin/sh SOFTDIR=/oracle/app/oracle/product/19.3.0/dbhome_1LOGFILE=/tmp/install_oracle.logBASE_DIR=$(pwd)VG_NAME=centos # 阅读全文
posted @ 2020-05-19 15:02 smallfishy 阅读(1022) 评论(0) 推荐(0)