存储过程的基本语法如下: create or replace procedure procedure_name as begin extention; end; 在sqlplus中调用存储过程的方式: begin procedure_name; end; 我的业务需求是:查询自2015年1月1号以来 ...
分类:
数据库 时间:
2020-06-12 10:45:50
阅读次数:
152
虚拟机使用Oracle VM VirtualBox,CentOS7 宿主机为Win10系统 突然无法相互ping通,用ifconfig命令观察发现,虚拟机不知道什么时候子网掩码(netmask)变成了255.255.255.255 用ip add命令查看IP后缀为/32 Win10系统使用ipcon ...
分类:
其他好文 时间:
2020-06-12 10:41:12
阅读次数:
116
问题描述oracle中DG出现主备不同步现象,alert日志报警有gap信息,但是v$archive_gap视图查不到任何信息。同时主库上的对应归档已经删除且没有备份 解决方案 1.查询备库的scnSQL> select current_scn from v$database; 这时有可能出来的sc ...
分类:
数据库 时间:
2020-06-11 22:11:33
阅读次数:
103
诊断 ORA-27300 ORA-27301 ORA-27302 错误 (文档 ID 2179478.1) Oracle Database - Enterprise Edition - 版本 12.1.0.2 到 12.1.0.2 [发行版 12.1]Oracle Database - Enterp ...
分类:
其他好文 时间:
2020-06-11 22:10:27
阅读次数:
101
问题背景: oracle表空间不足报错是比较常见的故障,尤其是没有对剩余表空间做定期巡检的系统; 报错代码如下: oracle表空间不足错误代码:ORA-01653: unable to extend table ; 解决方式: 1、查看表空间使用率: 1 set linesize 220; 2 s ...
分类:
数据库 时间:
2020-06-11 22:08:14
阅读次数:
82
问题描述oracle中DG出现主备不同步现象,alert日志报警有gap信息,但是v$archive_gap视图查不到任何信息。同时主库上的对应归档已经删除且没有备份 解决方案 1.查询备库的scnSQL> select current_scn from v$database; 这时有可能出来的sc ...
分类:
数据库 时间:
2020-06-11 22:02:58
阅读次数:
93
Oracle向MySQL迁移 1.下载navicat Premium 2.选中工具 3.点开工具>数据传输(源为传送数据库连接名字,数据库名字,目标为接收数据连接名字,数据库名字) 4.填好点击下一步后,点击开始,显示finally success,表明名倒入成功 5.视图导入 Oracle视图和M ...
分类:
数据库 时间:
2020-06-11 22:02:08
阅读次数:
84
1.首先检查环境 [oracle@vm10-84-32-2 ~]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.4.0 Production on Thu Jun 11 19:53:38 2020 Copyright (c) 1982, 2013, Or ...
分类:
数据库 时间:
2020-06-11 21:54:09
阅读次数:
90
诊断 ORA-27300 ORA-27301 ORA-27302 错误 (文档 ID 2179478.1) Oracle Database - Enterprise Edition - 版本 12.1.0.2 到 12.1.0.2 [发行版 12.1]Oracle Database - Enterp ...
分类:
其他好文 时间:
2020-06-11 21:48:15
阅读次数:
67
Oracle RAC TAF 无缝failover 理论背景: TAF( Transparent Application Failover ) allows oracle clients to reconnect to a surviving instance in the event of a f ...
分类:
数据库 时间:
2020-06-11 21:47:37
阅读次数:
70