I would like to transfer BLOB data from one table to another in my Oracle APEX application. Oracle Database version is 18.104.22.168.201020.
Here is my code:
When I try to execute this code it takes too many time to get completed. I have found that some wait events occur when this code is executed.
Here is an information about wait events at moment about three minutes later from code execution start point.
And here is an information about wait events at moment about ten minutes later from code execution start point.
As you could see there are a lots of "control file parallel write" events occur. And performance is really poor.
The table where I insert BLOB data is defined as:
CREATE TABLE FILES
ID_FILE NUMBER NOT NULL,
FILE_NAME VARCHAR2(128 CHAR),
CONTENT BLOB NOT NULL,
MIME_TYPE VARCHAR2(128 CHAR),
LOB (CONTENT) STORE AS BASICFILE (
ENABLE STORAGE IN ROW
And tablespace where the LOB segment placed is defined as:
CREATE TABLESPACE ASIO_NPI_LOB DATAFILE '/u02/oradata/CPNDB/asio_npi_lob01.dbf' SIZE 100M AUTOEXTEND ON NEXT 10M MAXSIZE 25G NOLOGGING EXTENT MANAGEMENT LOCAL AUTOALLOCATE SEGMENT SPACE MANAGEMENT AUTO;
So my question is quite simple: how to decrease "control file parallel write" events occur?
Best regards and hope your help.