Common commands in Oracle

Common commands in Oracle 1. Create a userCreate user Username identified by passwordNote: The username and password should be in English.For example, create user sms identified by sms; 2. Create a tablespaceCreate tablespace name datafile 'Storage

Oraclegrid11gR2 installation error PRVF-5636

Symptom: Reporting PRVF-5646 when installing Oracle grid 11.2.0.3/4: The DNS response time for an unreachable node exceeded "15000" MS on following nodes Solution: ? 1. Modify the/etc/named. conf file of the DNS server and add the fil "/dev/null";

How does oracle10grac replace shared disk (ocr, vote )?

1. Delete ocr, vote, and data disks. (1) After the database is backed up, stop the database and use dbca to delete the database. (2) Remove diskgroup Enter Node 2: export ORACLE_SID = + ASM2 Sqlplus/as sysdba Alter diskgroup dgdata dismount; Enter

[Oracle]/etc/resolv. conf configuration causes slow sqlplus Logon

Symptom description: In linux, using sqlplus sys/oracle @ prod as sysdba to log on is very slow. It takes about a dozen seconds to log on successfully. Using sqlplus/as sysdba to log on to the database is fast and fast. Using sqlplus sys/oracle @

Solve the problem after installing Oracle

This problem is always displayed during the tnsping test. Problem Discovery: Used parameter file: \ Oracle_Client \ product \ 11.2.0 \ client_1 \ network \ adminsqlnet. ora Connect to the Client, dizzy. Solution: Change the order of the DB and

Problems caused by the same median in Oracle Sequence)

This queston came up on the Oracle newsgroup a few days ago: This issue was raised in Oracle's press center for a period of time:   I have a table (call it policy) with three columns a, B and c. The table has two rows, with column c having value

OCM_Session6_1 _?????? InstanceConfiguration

1. Instance Configuration1.1 Configure your database to record checkpoints in the alert. log file. 1.2 Ensure all user trace files are placed in the USER_DUMP_DEST location.Instance configuration: 1. Configure the database record checkpoint in the

11g rebuilding scott

Oracle provides the scott user's re-creation script, and the 11G uses the script to create scott. The simple operation is as follows: SQL> select * from dba_users where username = 'Scott '; ------ SCOTT has been manually deleted. No rows

Notes for upgrading oracle standalone 10201upgrateto10205

Zookeeper Oracle standalone 10201 upgrate to 10205 1. Shut down the database: For Oracle RAC: $ Srvctl stop database-d db_nameFor Single Instance: SQL> CONNECT SYS AS SYSOPEREnter password: SYS_passwordSQL> SHUTDOWN 2.Emctl stop dbconsoleLsnrctl

Install the oracle Real-time client

Install the real-time client in Linux (lightweight)Database users, or add dba groups to existing users. Create user groupadd oinstallgroupadd dbauseradd-g oinstall-G dba, revoke oraclepasswd oracleChown-R oracle: oinstall/oraclechmod-R 755/oracle

OracleRACclient-sideTAF & amp; server-sideTAF

taf

Today is. Take notes on the oracle TAF technology, as shown below: ######################################## ######################################## ####Failover_mode parameter description######################################## #####################

Difference of role passwords between oracle10g and 11g

A role is a set of related permissions. The main purpose of a role is to simplify permission management. Once the permissions of this set exceed the minimum requirements of users, it may bring security risks to the database. Role password Test In

Solution to insufficient swap space during oracle11g Installation

Adding virtual memory in linux solves the problem of insufficient swap space Add a SWAP file: 1. view the current virtual memory [Root @ ora11gr2 ~] # Free-mTotal used free shared buffers cached Mem: 2026 217 1809 0 11 126 -/+ Buffers/cache: 78 1947

View ORA errors

When form has a ora error, you can use the following method for query errors such as opening form encountered FRM-40735: WHEN-BUTTON_PRESSED exception: ORA-040631, enter database, enter oerr ORA 04063 [oratst2 @ oracletest ~] $ Oerr ORA 1, 0406304063

Create a large table for testing in Oracle

Some big tables are sometimes used in my experiments. Here we will share how to use dba_objects to create and test large tables: First, create a test table. SYS @ ORCL> create table test nologging as select rownum id, a. * from dba_objects a where 1

Full Oracle flash back zone

An old test AIX server was ignored. Recently, Oracle was full. Cleaned up. Version: Oracle 10gR2 for AIX Symptom: ? 1 2 3 4 5 6 7 SQL> alter database open; alter database open * ERROR at line 1: ORA-16014: log 3 sequence #157 not

Oracle archive mode supports backup and recovery of lost data files

1. Create full database backup 2. Construct test data under the test2 user 3. Simulate file loss: log on to and close the database as sysdba, and try to restart the database. 4. Execute recovery: Enter the RMAN command line Environment

Org. gjt. mm. mysql. Driver

Org. gjt. mm. mysql. the Driver is com. mysql. jdbc. driver's predecessor, if your project uses org. gjt. mm. mysql. driver, only for compatibility. It is no different from com. mysql. jdbc. Driver. However, we recommend that you use com. mysql.

Example of rman backup and recovery in catalog Mode

Note: The catalog directory must be used to create a database for restoration.I. catalog backup1. Create a tablespaceCopy codeThe Code is as follows:SQL> create tablespace rman datafile 'C: \ oracle \ product \ 10.2.0 \ oradata \ orcl \ rman01.dbf'

How to optimize the index for Reading Notes in Oracle

Index unique scan requires at least 1 logical read compared to index unique SCAN, this is because the unique row scan of the index clearly only has one row of data to be returned, while the index range scan may have multiple rows of data to be

Total Pages: 2147 1 .... 1486 1487 1488 1489 1490 .... 2147 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.