1. Preparation Process
1.1 check and set database roles
First, check whether there are CTXSYS users and CTXAPP roles in the database. If you do not have this user or role, it means that the intermedia function is not installed when your database
Example 1: The tablespace data file is deleted by mistake.Delete all data files corresponding to the tablespace in the open state.Use alter tablespace... offline for recover offline tablespace in the open state.Use restore tablespace... to dump all
1. Download the rpm package:Ftp: // 195.220.108.108/linux/ASPLinux/i386/updates/12.1/i386/sysstat-7.0.2-3.el5.asp121.i386.rpmFtp://rpmfind.net/linux/fedora/releases/9/Everything/i386/ OS
Example of an Oracle dynamic SQL statement: www.2cto.com create or replace procedure testproce20130228issqlstr varchar2 (8000); date1 varchar2 (10); beginselect sysdate into date1 from dual; sqlstr: = 'insert into testtbl values (''test222222'', '''
You are often confused about the invisible indexes of Oracle 11 GB. Is the index really helpful for user queries? It may be helpful for one query, but it may affect 10 other queries. The index will certainly have a negative impact on the INSERT
Oracle stored procedure: cursor and dynamic SQL 1. create package + CURSOR SQL code CREATE OR REPLACE PACKAGE RefCursor IS type t_RefCursor IS ref CURSOR; END RefCursor; 2. create a stored procedure and define the in and out parameters. SQL code
When you use emctl to start the Oracle console, the following ERROR occurs: NMO not setuid-root (Unix-only), multiple databases run on one server, and EM cannot be used properly. re-create EM through emca. the command is as follows: emca-config all
GoldenGate Series 1: quick setup of one-way synchronization GoldenGate environment 1. Environment preparation (1) download the installation package and decompress it to ORACLE_BASE (2) modify the environment change [plain] [oracle @ irms156ogg] $ vi
Dbms_lock.relase cannot release custom locks to solve the problem. Recently, developers say that dbms_lock.allocate_unique custom locks cannot be released when dbms_lock.relase is used. The following is an example to illustrate how it works? 1.
Oracle manual recovery case 1: Historical logs are not overwritten
1. first, cut the database into non-archive mode: startup mountforcealter database noarchivelog; alter database open; view database mode again sys @ SIQIAN11> archive log
Oracle Data Guard (RAC + DG) archive deletion policy 1. Data Guard master database archive deletion policy: When we set: RMAN> configure archivelog deletion policy to applied on standby; in Maximum Availability and Maximum Performance, when RMAN
Oracle RMAN clears archived logs 1. How to clear archived logs a. manually delete the logs using rm or find. After deletion, in RMAN, you can use crosscheck archivelog all to verify whether the archive is invalid. perform the following operations:
Physical Standby Database Failover1. When physical standby failover switches to failover, the production database must be moved to the DR site for unplanned events that occur when some bad events occur. Interestingly, at this time people are usually
The difference between Oracle Schema and User can be seen from the definition that Schema is a set of database objects. In order to distinguish each set, we need to name this set. These names are the nodes with similar user names that we see in the
ORA-1157 and ORA-01110 error practices often encounter related ORA-1157OR1110 errors in the backup experiment, related error information, nothing more than data files, log files, and control files and a series of related file problems, in general,
Log switch gap and resolvable gap appear in the SWITCHOVER master database. One example is switchover today. The environment is 11.2.0.3 + OEL5.7. At the beginning, the status of the master and slave databases is normal and the direct SWITCH
Company requirement knowledge self-taught-functions and usage of Oracle Package simplify application design, improve application performance, implement information hiding, and overload subroutines. 1. Does Oracle Package play a role (benefit) in
How to connect a client from one machine to another Server 1. Open cmd and enter netca. 2. Select Local net service name configuration → next. 3. Select Add> next. 4. enter the name of the oracle service on the server you want to connect to in
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service