If you are puzzled by common Oracle backup commands in actual operations, you can use the following articles to understand the actual application and functions, the following is a detailed introduction of the article. I hope you will gain some benefits after browsing the following content.
Oracle Summary of common backup comm
Tags: Oracle common commands1 How do I see what tables are in the database?SELECT * from Sys.user_tables;2 How to link a databaseSqlplus/nolog;conn sys/oracle as SYSDBA;3 How to start a databaseStartup4 Viewing the Oracle instance structureDesc v$instance;5 Viewing the user's default tablespace, temporary tablespace informationSelect distinct username,default_tab
One, Oracle trace FileOracle trace files are grouped into three categories:
One is the background alarm log file that records the activity of the background process during startup, shutdown, and running of the database , such as table space creation, rollback segment creation, some alter commands, log switches, error messages, and so on. When a database fails, the file should be viewed first, but the infor
Today, a strange problem has been found that the SRVCTL and Crs_start commands cannot start an Oracle RAC instance, but with Sqlplus it can start normally. The final reason for this is that the state of the database becomes disable in OCR, and this state is changed to enable after it returns to normal. The following is a simulation example: [emailprotected]:~ $> crs_stat-tname Type Target State Host--------
the "orcl_data1" disk group
SELECT Path
From V$asm_disk
WHERE group_number in (select Group_number
From V$asm_diskgroup
where name = ' orcl_data1 ');
PATH
----------------------------------
Orcl:vol1
Orcl:vol2
14. Start/Stop RAC cluster
Make sure that you are logged on as an Oracle UNIX user. We will run all commands from the RAC1 node:
# su–oracle
Oracle Import Export Command parsingIn this paper, the import and export of Oracle data IMP, exp Two commands are described, and its corresponding parameters are described, and then through some examples toDrills to deepen understanding.At the end of this paper, we discuss the possible problems of using these two commands
This is often the case in Oracle 8i, that is, Oracle runs operating system commands during storage, generally, Oracle Enterprise Manager can be used to set jobs. however, due to the lack of flexibility in the setup of OEM jobs, the set job parameters are fixed ..
In practical applications,
Remote Import Backup command: Imp cpqlzf/cpqlzf@cpql20080505 file=d:\data\20080505xzfw_new.dmp fromuser=sa touser=cpqlzf ignore=y notes: The CPQLZF is the table space name and the login password; cpql20080505 is the database SID name, the backup database path is behind file, and the Fromuser value is the user name when the database is backed up; the Touser value is the tablespace user name;------------------ -----------------------------------------------------------------
The following articles mainly describe the Oracle rman command. The main content of the following articles is a collection of Oracle rman commands found in an online warfare with good reputation: THE list command lists the backup information in the control file and Oracle RMAN recovery directory.
Is one of the most int
: Startup Pfile=e:\oracle\admin\oradb\pfile\init.ora8, startup EXCLUSIVE============================================There are three ways to start:1. Shutdown normalShut down the database in the normal way.2, Shutdown immediateClose the database immediately.Shutdown immediate is executed in SVRMGRL and the database is not shut down immediately.Instead of shutting down (terminating the session, freeing the session resource) after
V$instance;View current instance Name: Select instance_name from V$instance;Select name from V$database;To query the host name where Oracle resides:Select Host_name from V$instance;Create User: Itmuser identified by password;Show current users: Show user;Switch User: conn Itmuser/password;Query Oracle All users: Select username from dba_users;To view the file path for a user tablespace:Select name from V$d
Oracle SQL * plus is a client tool that interacts with oracle. In SQL * plus, you can run the SQL * plus command and the SQL * plus statement. The DML, DDL, and DCL statements we usually call are SQL * plus statements. After they are executed, they can be stored in a memory area called sqlbuffer, you can only save one of the most recently executed SQL statements.
Oracle
Common Oracle commandsToday, the database user is locked and checked, saying that the user will be locked if the logon error exceeds 10 times, therefore, with the unlock and password change operations, sqlplus/nolog is aborted without connecting to the database; the database is linked as dba: conn/as sysdba; the database crash mode and usage: startup: in open mode, the primary instance loads and opens the d
1. Switch users and log on:
Conn system/password @ myoracle as sysdba; myoracle is the database name or service name. As sysdba logs on as an administrator. If the database name is not added, a protocol adapter error may be reported. If you have multiple databases, log on to the local machine.
2. Create a user create Xiaoming identified by password; Delete the user drop user Xiaoming;
If you have already created a table, you must include the cascade parameter;
3. Authorize a user
SQL> grant
Common Oracle commands-log management
1. view log filesSyntax: select Member from V $ logfile
1. Forcing log SwitchesSQL> alter system switch logfile;
2. Forcing checkpointsSQL> alter system checkpoint;
3. Adding online redo log groupsSQL> alter database add logfile [Group 4]SQL> ('/disk3/log4a. rdo', '/disk4/log4b. rdo') size 1 m;
4. Adding online redo log membersSQL> alter database add logfile M
Create an Oracle 11g database using commands
This document describes how to create an Oracle database that complies with the OFA specification using the create database Command of the Oracle database.
1. Set the environment variable (vi. bash_profile or save it as an executable file for creation)
ORACLE_BASE =/u01/app
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.