ORa-03114: database not connected

Ora-03114: Not connected to database
Phenomenon : Ora-03114: Not connected to database is always reported when compiling with pl/sql developer.
Solution: Remove the cdc function.
Cause of failure: The PLSQLDev.exe program conflicts with the CDC function of the Oracle database; using TOAD, OEM and other client tools will not have the above situation.
The operation is:
DROP TRIGGER sys.cdc_alter_ctable_before;
DROP TRIGGER sys.cdc_create_ctable_after; DROP
TRIGGER sys.cdc_create_ctable_before
; dbms_java.dropjava('-s rdbms/jlib/CDC.jar'); Introduction to oracle CDC CDC (Change Data Capture) is an incremental extraction solution implemented by oracle at the database level. In the general ETL process, for incremental extraction, it is nothing more than adding time cuts to the data, full record comparison, key field comparison, log analysis and extraction and other methods. Either the original table structure needs to be modified, or a large amount of data is required. algorithm, or implement it with the help of third-party tools. The CDC feature introduced by Oracle from 9i gives the opportunity to directly implement the incremental extraction function at the database level. In terms of performance, due to the direct integration with the database engine, it should have certain advantages over third-party tools.






CDC has two modes: synchronous and asynchronous. The implementation mechanisms of the two modes are quite different. Synchronous CDC mainly uses triggers to record new data, which can basically achieve real-time incremental extraction. Asynchronous CDC obtains incremental data information by analyzing committed log records, with a certain time delay, and provides an interface to Oracle Streams. Synchronous CDC is available in both Enterprise and Standard editions, while Asynchronous CDC is only included in Enterprise Edition. Note that CDC has changed a lot in 9i and 10g. Asynchronous CDC mainly uses the same technology as Streams.

In CDC, the system is divided into two roles: publisher and subscriber. Publishers are primarily responsible for capturing incremental data, and subscribers deliver incremental data to actual applications. These tasks can be achieved through the PL/SQL package provided by oracle.

The official documentation states:
ORA-03114 not connected to ORACLE

Cause:
A call to Oracle was attempted when no connection was established. Usually this happens
because a user-written program has not logged on. It may happen if communication trouble causes
a disconnection. In addition, this message could occur when ALTER SYSTEM KILL SESSION or ALTER
SYSTEM DISCONNECT SESSION were issued with the IMMEDIATE qualifier because, in those cases,
  the client's connection to the database is terminated without waiting for the client to issue a request.
  Action: Try again. If the message recurs and the program is user written, check the program.
----end----

或许可以一试:

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326228320&siteId=291194637