ORACLE Database FAQ Diagnosis Method

Source: Internet
Author: User

ORACLE DatabaseIt is a database system that everyone is very familiar with. Many users first purchase ORACLE databases when purchasing databases. Even so, ORACLE databases will inevitably encounter some problems and faults during operation, ORACLE errors are detailed in the ORALCE documentation, but the causes and measures are not detailed. This article focuses on how to solve these errors.

1

ORA-12571, ORA-03113, ORA-03114, ORA-01041

Feature: client proxy or Application Server) this type of disconnection error is reported

Cause: if this occurs occasionally, it may be due to network or abnormal user suspension. If this happens frequently, the character set of the client and the server is inconsistent.

Measure: if this happens occasionally, add a line to the PROTOCOL configuration file PROTOCOL. ORA on the server.

TCP. NODELAY = YES;

If this occurs frequently, it is because the character set of the client and the server is inconsistent or the network is caused.

The character set of the client is defined in the registry:

Hkey1_local1_machine/SOFTWARE/ORACLE/nls1_lang

Set the TCP Parameter in the client registry

TCPMAXDATARETRANSMITIONS = 20.

2

ORA-01000

Feature: Maximum number of cursors allowed by the session

Cause: the maximum number of cursors allowed by the session is reached.

There are two solutions:

1)

Increase the number of OPEN_CURSORS In the INIT <SID>. ORA file of the initialization file. Generally, the value must be greater than 200.

2)

At the application level, it is related to development tools, such as setting MAXOPEN_CURSORS.

3

ORA-01545

Feature: a rollback segment is unavailable

Cause: 1) when the rollback segment is ONLINE, but the rollback segment is unavailable, for example, the tablespace of the rollback segment is OFFLINE;

2) When the rollback segment is ONLINE but the rollback segment is ONLINE, for example, the rollback segment is used twice. In typical cases such as OPS, the rollback segment cannot be public;

3) When a rollback segment is deleted, there are active transactions in the rollback segment;

Measure: 1) Make sure that the rollback segment is

2) Delete the specified ROLLBACK segment from the INIT <SID>. ORA parameter in the initialization file ROLLBACK) SEGMENTS.

3)

You can delete the tablespace of the rollback segment and cancel the UNDO transaction.

4

ORA-0165x

Feature: The tablespace does not have enough space for allocation.

Cause: the tablespace is full; the storage parameter is unreasonable, and NEXT is too small; there is no continuous Interval
 

Measure: If the tablespace is full, you need to add files to the tablespace. If the storage parameter is unreasonable, you need to add INITIAL and NEXT. If there is no continuous interval, You need to merge idle tablespaces.

I have explained a lot about the problems that may occur during ORACLE database operations before. I hope you can get some benefits from the content mentioned above. Then, you can easily solve similar problems in your future work.

View space fragments with DBA_FREE_SPACE

5

ORA-01555

Feature: the current session cannot read data of previous versions.

Cause: there are many reasons, mainly because: the rollback segment is too small, too small; rollback segment conflict; Cross commit (fetch_1_ss)

Measure: Increase the number of rollback segments;

6

ORA-04031

Features: insufficient memory in the memory area of the shared pool, or memory fragments are generated.

Cause: when you try to load a large package or execute a large stored procedure, the shared pool does not have continuous memory space.

Measure: if the memory is insufficient, add SHARE) POOL_SIZE;

For memory fragments, run alter system flush into _pool.

7

ORA-04091

Feature: the trigger is abnormal.

Cause: this error occurs when a row triggers reading or modifying a table that is being modified or inserted.

Measure: Check the trigger script to ensure the integrity of the reference.

8

ORA-01242, ORA-01113

Feature: Database downtime caused by media faults

Cause: Media fault.

Measure: Check for hardware faults. Modify the dbshut script and change the STARTUP command:

& Nbs

P;

Startup open recover

Alter database open

Related Article

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.