随笔分类 - oracle
摘要:SQL> create user tom identified by tom321 ; 用户已创建。 SQL> grant dba to tom ; 授权成功。 新建表空间: create tablespace YRSSMIS DATAFILE 'D:\oracle\oradata\ep\YRSSM
阅读全文
摘要:目录 一、服务器基线 1. 环境与软硬件规范 1.1. 运行环境 1.2. 软件版本 1.3. ASM磁盘组 2. 操作系统安装规范 2.1. 字符集 2.2. 时区 3. 操作系统配置规范 3.1. 系统服务 3.2. SELinux 3.3. 透明大页 3.4. NTP配置 3.5. 多路径软件
阅读全文
摘要:您好!根据 Oracle 目前官方文档的描述,WLS 10.3.6 包含的 Apache Log4j 库是版本 1,未报告有这些漏洞。请参考文档:Impact of December 2021 Apache Log4j Vulnerabilities on Oracle Products and S
阅读全文
摘要:查询11g表空间使用率: set linesize 200 pagesize 999 col tablespace_name for a30 col file_name for a65 select name inst_name, b.tablespace_name , ROUND(b.total/
阅读全文
摘要:备份脚本内容如下: export RMAN_LOG_FILE=/logbackup/ycyth_ramn/fullrman20160817.log export ORACLE_BASE=/u01/app/oracle export RMAN=$ORACLE_HOME/bin/rman export
阅读全文
摘要:[oracle@pxc2 ~]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.4.0 Production on Wed Sep 8 23:38:28 2021 Copyright (c) 1982, 2013, Oracle. All rights r
阅读全文
摘要:本地设备与主机或者服务器设备冲突引起的。具体解决办法:方法1.右键右下角Xmanager图标 属性 设备 鼠标设置 3按钮仿真(同时单击向左按钮和向右按钮)选项取消勾选。方法2.打开Xconfig Default Profile 设备 鼠标设置 3按钮仿真(同时单击向左按钮和向右按钮)选项取消勾选。
阅读全文
摘要:在.bash_profile 里加了 export NLS_LANG=UTF8 然后 sqlplus / as sysdba 报错:ORA-12705: Cannot access NLS data files or invalid environment 把.bash_profile 里添加的NL
阅读全文
摘要:https://www.oracle.com/security-alerts/ Critical Patch Updates, Security Alerts and Bulletins This page lists announcements of security fixes made in
阅读全文
摘要:--恢复整个数据库 run { shutdown immediate; startup mount; restore database; recover database; alter database open;} --恢复表空间users run {sql 'alter tablespace u
阅读全文
摘要:ora1>$lsnrctl status LSNRCTL for Linux: Version 12.2.0.1.0 - Production on 06-SEP-2019 10:13:05 Copyright (c) 1991, 2016, Oracle. All rights reserved.
阅读全文
摘要:基本概念: Oracle 12c中,增加了可插接数据库的概念,即PDB,允许一个数据库容器(CDB)承载多个可插拔数据库(PDB)。 CDB全称为Container Database,中文翻译为数据库容器,PDB全称为Pluggable Database,即可插拔数据库。 在ORACLE 12C之前
阅读全文
摘要:用root 用户可以正常xhost + ,xclock 显示图形化界面, 而oracle 用户图形化提示 no protocol specified 办法是:直接用oracle 用户xshell登录,不要root 切换过去。 Connecting to 192.168.56.131:22...Con
阅读全文
摘要:修改oracle 用户下的 .bash_profile 文件 增加: stty erase ^H source .bash_profile
阅读全文