2026-03-12 21:01:38
This commit is contained in:
26
FDA/ORA-55622.txt
Normal file
26
FDA/ORA-55622.txt
Normal file
@@ -0,0 +1,26 @@
|
||||
SQL> show user
|
||||
USER is "USR"
|
||||
|
||||
|
||||
SQL> delete from SYS_FBA_DDL_COLMAP_26338;
|
||||
delete from SYS_FBA_DDL_COLMAP_26338
|
||||
*
|
||||
ERROR at line 1:
|
||||
ORA-55622: DML, ALTER and CREATE UNIQUE INDEX operations are not allowed on
|
||||
table "USR"."SYS_FBA_DDL_COLMAP_26338"
|
||||
|
||||
|
||||
SQL> delete from SYS_FBA_HIST_26338;
|
||||
delete from SYS_FBA_HIST_26338
|
||||
*
|
||||
ERROR at line 1:
|
||||
ORA-55622: DML, ALTER and CREATE UNIQUE INDEX operations are not allowed on
|
||||
table "USR"."SYS_FBA_HIST_26338"
|
||||
|
||||
|
||||
ORA-55622: DML, ALTER and CREATE UNIQUE INDEX operations are not allowed on table “string”.”string”
|
||||
|
||||
Reason for the Error:
|
||||
An attempt was made to write to or alter or create unique index on a Flashback Archive internal table.
|
||||
Solution
|
||||
No action required. Only Oracle is allowed to perform such operations on Flashback Archive internal tables.
|
||||
317
FDA/fda_01.txt
Normal file
317
FDA/fda_01.txt
Normal file
@@ -0,0 +1,317 @@
|
||||
alias adm_NIHILUS='rlwrap sqlplus adm/"secret"@bakura:1521/NIHILUS as sysdba'
|
||||
|
||||
|
||||
create pluggable database NIHILUS admin user NIHILUS$OWNER identified by secret;
|
||||
alter pluggable database NIHILUS open;
|
||||
alter pluggable database NIHILUS save state;
|
||||
|
||||
|
||||
alter session set container=NIHILUS;
|
||||
|
||||
create bigfile tablespace LIVE_TS datafile size 32M autoextend on next 32M;
|
||||
create bigfile tablespace ARCHIVE_TS datafile size 32M autoextend on next 32M;
|
||||
|
||||
create user adm identified by "secret";
|
||||
grant sysdba to adm;
|
||||
|
||||
|
||||
create user usr identified by "secret";
|
||||
grant CONNECT,RESOURCE to usr;
|
||||
grant alter session to usr;
|
||||
|
||||
alter user usr default tablespace LIVE_TS;
|
||||
|
||||
alter user usr quota unlimited on LIVE_TS;
|
||||
alter user usr quota unlimited on ARCHIVE_TS;
|
||||
|
||||
alias adm_NIHILUS='rlwrap sqlplus adm/"secret"@bakura:1521/NIHILUS as sysdba'
|
||||
alias usr_NIHILUS='rlwrap sqlplus usr/"secret"@bakura:1521/NIHILUS'
|
||||
|
||||
|
||||
create flashback archive default ARCHIVE_7_DAY
|
||||
tablespace ARCHIVE_TS
|
||||
quota 1G
|
||||
retention 7 DAY;
|
||||
|
||||
grant flashback archive on ARCHIVE_7_DAY to usr;
|
||||
grant flashback archive administer to usr;
|
||||
grant execute on dbms_flashback_archive to usr;
|
||||
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
SET LINESIZE 150
|
||||
|
||||
COLUMN owner_name FORMAT A20
|
||||
COLUMN flashback_archive_name FORMAT A22
|
||||
COLUMN create_time FORMAT A20
|
||||
COLUMN last_purge_time FORMAT A20
|
||||
|
||||
SELECT owner_name,
|
||||
flashback_archive_name,
|
||||
flashback_archive#,
|
||||
retention_in_days,
|
||||
TO_CHAR(create_time, 'YYYY-MM-DD HH24:MI:SS') AS create_time,
|
||||
TO_CHAR(last_purge_time, 'YYYY-MM-DD HH24:MI:SS') AS last_purge_time,
|
||||
status
|
||||
FROM dba_flashback_archive
|
||||
ORDER BY owner_name, flashback_archive_name;
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
SET LINESIZE 150
|
||||
|
||||
COLUMN flashback_archive_name FORMAT A22
|
||||
COLUMN tablespace_name FORMAT A20
|
||||
COLUMN quota_in_mb FORMAT A11
|
||||
|
||||
SELECT flashback_archive_name,
|
||||
flashback_archive#,
|
||||
tablespace_name,
|
||||
quota_in_mb
|
||||
FROM dba_flashback_archive_ts
|
||||
ORDER BY flashback_archive_name;
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
SET LINESIZE 150
|
||||
|
||||
COLUMN owner_name FORMAT A20
|
||||
COLUMN table_name FORMAT A20
|
||||
COLUMN flashback_archive_name FORMAT A22
|
||||
COLUMN archive_table_name FORMAT A20
|
||||
|
||||
SELECT owner_name,
|
||||
table_name,
|
||||
flashback_archive_name,
|
||||
archive_table_name,
|
||||
status
|
||||
FROM dba_flashback_archive_tables
|
||||
ORDER BY owner_name, table_name;
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
|
||||
-- Example 1
|
||||
-------------
|
||||
|
||||
create table TAB1 (
|
||||
ID number,
|
||||
DESCRIPTION varchar2(50),
|
||||
constraint TAB_1_PK primary key (id)
|
||||
);
|
||||
|
||||
alter table TAB1 flashback archive ARCHIVE_7_DAY;
|
||||
|
||||
insert into TAB1 values (1, 'one');
|
||||
commit;
|
||||
|
||||
update TAB1 set description = 'two' where id = 1;
|
||||
commit;
|
||||
|
||||
update TAB1 set description = 'three' where id = 1;
|
||||
commit;
|
||||
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
SET LINESIZE 200
|
||||
|
||||
COLUMN versions_startscn FORMAT 99999999999999999
|
||||
COLUMN versions_starttime FORMAT A32
|
||||
COLUMN versions_endscn FORMAT 99999999999999999
|
||||
COLUMN versions_endtime FORMAT A32
|
||||
COLUMN versions_xid FORMAT A16
|
||||
COLUMN versions_operation FORMAT A1
|
||||
COLUMN description FORMAT A11
|
||||
|
||||
SELECT versions_startscn,
|
||||
versions_starttime,
|
||||
versions_endscn,
|
||||
versions_endtime,
|
||||
versions_xid,
|
||||
versions_operation,
|
||||
description
|
||||
FROM tab1
|
||||
VERSIONS BETWEEN TIMESTAMP SYSTIMESTAMP-(1/24) AND SYSTIMESTAMP
|
||||
WHERE id = 1
|
||||
ORDER BY versions_startscn;
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
|
||||
create table TAB1 (d date);
|
||||
alter table TAB1 flashback archive ARCHIVE_7_DAY;
|
||||
|
||||
insert into TAB1 values (sysdate);
|
||||
commit;
|
||||
|
||||
-- infinite_update1.sql
|
||||
begin
|
||||
loop
|
||||
update TAB1 set d=sysdate;
|
||||
commit;
|
||||
dbms_session.sleep(1);
|
||||
end loop;
|
||||
end;
|
||||
/
|
||||
|
||||
|
||||
alter session set NLS_DATE_FORMAT='YYYY-MM-DD HH24:MI:SS';
|
||||
|
||||
SET LINESIZE 200
|
||||
|
||||
COLUMN versions_startscn FORMAT 99999999999999999
|
||||
COLUMN versions_starttime FORMAT A32
|
||||
COLUMN versions_endscn FORMAT 99999999999999999
|
||||
COLUMN versions_endtime FORMAT A32
|
||||
COLUMN versions_xid FORMAT A16
|
||||
COLUMN versions_operation FORMAT A1
|
||||
COLUMN description FORMAT A25
|
||||
|
||||
SELECT
|
||||
versions_startscn,
|
||||
versions_starttime,
|
||||
versions_endscn,
|
||||
versions_endtime,
|
||||
versions_xid,
|
||||
versions_operation,
|
||||
d
|
||||
FROM
|
||||
TAB1
|
||||
VERSIONS BETWEEN TIMESTAMP TIMESTAMP'2023-06-17 17:20:10' and TIMESTAMP'2023-06-17 17:20:40'
|
||||
ORDER BY versions_startscn;
|
||||
|
||||
|
||||
SELECT * from TAB1
|
||||
AS OF TIMESTAMP TIMESTAMP'2023-06-17 17:05:10';
|
||||
|
||||
|
||||
SELECT * from TAB1
|
||||
AS OF TIMESTAMP TIMESTAMP'2023-06-17 17:30:49';
|
||||
|
||||
|
||||
|
||||
EXEC DBMS_SYSTEM.set_ev(si=>163, se=>24797, ev=>10046, le=>8, nm=>'');
|
||||
|
||||
|
||||
-- Example 2
|
||||
-------------
|
||||
|
||||
alter table TAB2 no flashback archive;
|
||||
drop table TAB2 purge;
|
||||
|
||||
|
||||
create table TAB2 (
|
||||
n1 number,
|
||||
c1 varchar2(10),
|
||||
d1 DATE
|
||||
);
|
||||
|
||||
alter table TAB2 flashback archive ARCHIVE_7_DAY;
|
||||
|
||||
insert into TAB2 values(1,'One',TIMESTAMP'2023-01-01 00:00:00');
|
||||
commit;
|
||||
insert into TAB2 values(2,'Two',TIMESTAMP'2023-01-01 00:00:00');
|
||||
commit;
|
||||
insert into TAB2 values(3,'Three',TIMESTAMP'2023-01-01 00:00:00');
|
||||
commit;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
alter session set NLS_DATE_FORMAT='YYYY-MM-DD HH24:MI:SS';
|
||||
|
||||
SET LINESIZE 200
|
||||
COLUMN versions_startscn FORMAT 99999999999999999
|
||||
COLUMN versions_starttime FORMAT A32
|
||||
COLUMN versions_endscn FORMAT 99999999999999999
|
||||
COLUMN versions_endtime FORMAT A32
|
||||
COLUMN versions_xid FORMAT A16
|
||||
COLUMN versions_operation FORMAT A1
|
||||
COLUMN description FORMAT A25
|
||||
|
||||
SELECT
|
||||
versions_startscn,
|
||||
versions_starttime,
|
||||
versions_endscn,
|
||||
versions_endtime,
|
||||
versions_xid,
|
||||
versions_operation,
|
||||
T.*
|
||||
FROM
|
||||
TAB2 VERSIONS BETWEEN TIMESTAMP (systimestamp-3/24) and systimestamp T
|
||||
where
|
||||
N1=1
|
||||
ORDER BY versions_startscn;
|
||||
|
||||
update TAB2 set d1=TIMESTAMP'2023-12-31 23:59:59' where n1=1;
|
||||
commit;
|
||||
|
||||
|
||||
select * from TAB2 as of timestamp TIMESTAMP'2023-06-18 08:47:20' where N1=1;
|
||||
|
||||
select * from TAB2 as of timestamp systimestamp where N1=1;
|
||||
select * from TAB2 as of scn 4335762 where N1=1;
|
||||
select * from TAB2 as of scn 4335824 where N1=1;
|
||||
|
||||
->
|
||||
alter table TAB2 add C2 varchar2(3);
|
||||
|
||||
update TAB2 set C2='abc' where n1=1;
|
||||
update TAB2 set C2='***' where n1=1;
|
||||
commit;
|
||||
update TAB2 set C2='def' where n1=1;
|
||||
commit;
|
||||
|
||||
|
||||
alter table TAB2 drop column C2;
|
||||
alter table TAB2 rename column C1 to C3;
|
||||
|
||||
update TAB2 set d1=systimestamp where n1=1;
|
||||
commit;
|
||||
|
||||
update TAB2 set d1=TIMESTAMP'1973-10-05 10:00:00',C3='birthday' where n1=1;
|
||||
commit;
|
||||
|
||||
update TAB2 set d1=systimestamp,C3='right now' where n1=1;
|
||||
commit;
|
||||
|
||||
|
||||
4336404 18-JUN-23 03.14.59
|
||||
select * from TAB2 as of timestamp TIMESTAMP'2023-06-18 03:15:00' where N1=1;
|
||||
|
||||
select * from TAB2 as of scn 4336403 where N1=1;
|
||||
select * from TAB2 as of scn 4336404 where N1=1;
|
||||
select * from TAB2 as of scn 4337054 where N1=1;
|
||||
|
||||
select * from TAB2 as of scn 4282896 where N1=1;
|
||||
select * from TAB2 as of scn 4283027 where N1=1;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-- cleanup
|
||||
alter table TAB2 no flashback archive;
|
||||
drop table TAB2 purge;
|
||||
|
||||
alter table TAB1 no flashback archive;
|
||||
drop table TAB1 purge;
|
||||
|
||||
drop user USR cascade;
|
||||
|
||||
drop flashback archive ARCHIVE_7_DAY;
|
||||
|
||||
drop tablespace LIVE_TS including contents and datafiles;
|
||||
drop tablespace ARCHIVE_TS including contents and datafiles;
|
||||
|
||||
|
||||
-- cleanup
|
||||
alter pluggable database NIHILUS close instances=ALL;
|
||||
drop pluggable database NIHILUS including datafiles;
|
||||
123
FDA/fda_02.txt
Normal file
123
FDA/fda_02.txt
Normal file
@@ -0,0 +1,123 @@
|
||||
create bigfile tablespace ARCHIVE_TS datafile size 32M autoextend on next 32M;
|
||||
|
||||
create flashback archive default ARCHIVE_7_DAY
|
||||
tablespace ARCHIVE_TS
|
||||
quota 1G
|
||||
retention 7 DAY;
|
||||
|
||||
|
||||
create table TAB1 (
|
||||
ID number,
|
||||
DESCRIPTION varchar2(50),
|
||||
constraint TAB_1_PK primary key (id)
|
||||
);
|
||||
|
||||
alter table TAB2 flashback archive ARCHIVE_7_DAY;
|
||||
|
||||
|
||||
insert into TAB2 values(1,'One',TIMESTAMP'2023-01-01 00:00:00');
|
||||
commit;
|
||||
insert into TAB2 values(2,'Two',TIMESTAMP'2023-01-01 00:00:00');
|
||||
commit;
|
||||
insert into TAB2 values(3,'Three',TIMESTAMP'2023-01-01 00:00:00');
|
||||
commit;
|
||||
|
||||
alter table TAB2 add C2 varchar2(3);
|
||||
|
||||
update TAB2 set C2='abc' where n1=1;
|
||||
update TAB2 set C2='***' where n1=1;
|
||||
commit;
|
||||
update TAB2 set C2='def' where n1=1;
|
||||
commit;
|
||||
|
||||
|
||||
alter table TAB2 drop column C2;
|
||||
alter table TAB2 rename column C1 to C3;
|
||||
|
||||
update TAB2 set d1=systimestamp where n1=1;
|
||||
commit;
|
||||
|
||||
update TAB2 set d1=TIMESTAMP'1973-10-05 10:00:00',C3='birthday' where n1=1;
|
||||
commit;
|
||||
|
||||
update TAB2 set d1=systimestamp,C3='right now' where n1=1;
|
||||
commit;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Query: select * from TAB2 as of timestamp systimestamp-1/24+21/24/60 where N1=1;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
SQL> @desc SYS_FBA_DDL_COLMAP_26338
|
||||
Name Null? Type
|
||||
------------------------------- -------- ----------------------------
|
||||
1 STARTSCN NUMBER
|
||||
2 ENDSCN NUMBER
|
||||
3 XID RAW(8)
|
||||
4 OPERATION VARCHAR2(1)
|
||||
5 COLUMN_NAME VARCHAR2(255)
|
||||
6 TYPE VARCHAR2(255)
|
||||
7 HISTORICAL_COLUMN_NAME VARCHAR2(255)
|
||||
|
||||
SQL> @desc SYS_FBA_HIST_26338
|
||||
Name Null? Type
|
||||
------------------------------- -------- ----------------------------
|
||||
1 RID VARCHAR2(4000)
|
||||
2 STARTSCN NUMBER
|
||||
3 ENDSCN NUMBER
|
||||
4 XID RAW(8)
|
||||
5 OPERATION VARCHAR2(1)
|
||||
6 N1 NUMBER
|
||||
7 C3 VARCHAR2(10)
|
||||
8 D1 DATE
|
||||
9 D_4335990_C2 VARCHAR2(3)
|
||||
|
||||
|
||||
|
||||
set lines 200
|
||||
col STARTSCN for 9999999999
|
||||
col ENDSCN for 9999999999
|
||||
col HISTORICAL_COLUMN_NAME for a30
|
||||
col COLUMN_NAME for a30
|
||||
col XID noprint
|
||||
col TYPE for a20
|
||||
|
||||
select * from SYS_FBA_DDL_COLMAP_26338 order by STARTSCN;
|
||||
|
||||
|
||||
STARTSCN ENDSCN O COLUMN_NAME TYPE HISTORICAL_COLUMN_NAME
|
||||
----------- ----------- - ------------------------------ -------------------- ------------------------------
|
||||
4297455 N1 NUMBER N1
|
||||
4297455 4336109 C3 VARCHAR2(10) C1
|
||||
4297455 D1 DATE D1
|
||||
4335662 4335990 D_4335990_C2 VARCHAR2(3) C2
|
||||
4336109 C3 VARCHAR2(10) C3
|
||||
|
||||
|
||||
col RID noprint
|
||||
col XID noprint
|
||||
col OPERATION noprint
|
||||
|
||||
select * from SYS_FBA_HIST_26338 order by STARTSCN;
|
||||
|
||||
STARTSCN ENDSCN XID O N1 C3 D1 D_4
|
||||
----------- ----------- ---------------- - ---------- ---------- ------------------- ---
|
||||
4336404 4336452 08000200AE020000 U 1 birthday 1973-10-05 10:00:00
|
||||
4298014 4335762 08000700A5020000 U 1 One 2023-12-31 23:59:59
|
||||
4336266 4336404 06000400A2020000 U 1 One 2023-06-18 15:12:51
|
||||
4335762 4335824 09000A00B4020000 U 1 One 2023-12-31 23:59:59 ***
|
||||
4335996 4336266 U 1 One 2023-12-31 23:59:59
|
||||
4335824 4335996 02000300AE020000 U 1 One 2023-12-31 23:59:59 def
|
||||
4297497 4335996 0300190095020000 I 2 Two 2023-01-01 00:00:00
|
||||
4297630 4335996 0600200092020000 I 3 Three 2023-01-01 00:00:00
|
||||
4297491 4298014 0400180090020000 I 1 One 2023-01-01 00:00:00
|
||||
4336452 4337054 07001200A1020000 U 1 birthday 2023-06-18 15:15:13
|
||||
|
||||
|
||||
|
||||
|
||||
226
FDA/fda_asof_01.txt
Executable file
226
FDA/fda_asof_01.txt
Executable file
@@ -0,0 +1,226 @@
|
||||
|
||||
TKPROF: Release 21.0.0.0.0 - Development on Sun Jun 18 15:33:28 2023
|
||||
|
||||
Copyright (c) 1982, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
|
||||
Trace file: /app/oracle/base/admin/SITHPRD/diag/rdbms/sithprd/SITHPRD/trace/SITHPRD_ora_3396.trc
|
||||
Sort options: default
|
||||
|
||||
********************************************************************************
|
||||
count = number of times OCI procedure was executed
|
||||
cpu = cpu time in seconds executing
|
||||
elapsed = elapsed time in seconds executing
|
||||
disk = number of physical reads of buffers from disk
|
||||
query = number of buffers gotten for consistent read
|
||||
current = number of buffers gotten in current mode (usually for update)
|
||||
rows = number of rows processed by the fetch or execute call
|
||||
********************************************************************************
|
||||
|
||||
SQL ID: 2ajc7pwz9jsx3 Plan Hash: 2536448058
|
||||
|
||||
select max(scn)
|
||||
from
|
||||
smon_scn_time
|
||||
|
||||
|
||||
call count cpu elapsed disk query current rows
|
||||
------- ------ -------- ---------- ---------- ---------- ---------- ----------
|
||||
Parse 3 0.00 0.00 0 0 0 0
|
||||
Execute 3 0.00 0.00 0 0 0 0
|
||||
Fetch 3 0.00 0.00 0 3 0 3
|
||||
------- ------ -------- ---------- ---------- ---------- ---------- ----------
|
||||
total 9 0.00 0.00 0 3 0 3
|
||||
|
||||
Misses in library cache during parse: 1
|
||||
Optimizer mode: CHOOSE
|
||||
Parsing user id: SYS (recursive depth: 1)
|
||||
Number of plan statistics captured: 3
|
||||
|
||||
Rows (1st) Rows (avg) Rows (max) Row Source Operation
|
||||
---------- ---------- ---------- ---------------------------------------------------
|
||||
1 1 1 SORT AGGREGATE (cr=1 pr=0 pw=0 time=20 us starts=1)
|
||||
1 1 1 INDEX FULL SCAN (MIN/MAX) SMON_SCN_TIME_SCN_IDX (cr=1 pr=0 pw=0 time=12 us starts=1 cost=1 size=6 card=1)(object id 425)
|
||||
|
||||
********************************************************************************
|
||||
|
||||
SQL ID: 41dzdw7ca24a1 Plan Hash: 1159443182
|
||||
|
||||
select count(*)
|
||||
from
|
||||
"USR".SYS_FBA_DDL_COLMAP_26338
|
||||
|
||||
|
||||
call count cpu elapsed disk query current rows
|
||||
------- ------ -------- ---------- ---------- ---------- ---------- ----------
|
||||
Parse 1 0.00 0.00 0 0 0 0
|
||||
Execute 1 0.00 0.00 0 0 0 0
|
||||
Fetch 1 0.00 0.00 0 6 0 1
|
||||
------- ------ -------- ---------- ---------- ---------- ---------- ----------
|
||||
total 3 0.00 0.00 0 6 0 1
|
||||
|
||||
Misses in library cache during parse: 1
|
||||
Optimizer mode: CHOOSE
|
||||
Parsing user id: SYS (recursive depth: 1)
|
||||
Number of plan statistics captured: 1
|
||||
|
||||
Rows (1st) Rows (avg) Rows (max) Row Source Operation
|
||||
---------- ---------- ---------- ---------------------------------------------------
|
||||
1 1 1 SORT AGGREGATE (cr=6 pr=0 pw=0 time=95 us starts=1)
|
||||
5 5 5 TABLE ACCESS FULL SYS_FBA_DDL_COLMAP_26338 (cr=6 pr=0 pw=0 time=92 us starts=1 cost=3 size=0 card=3)
|
||||
|
||||
********************************************************************************
|
||||
|
||||
SQL ID: 15fqvf9xff3hm Plan Hash: 3966719185
|
||||
|
||||
select HISTORICAL_COLUMN_NAME, COLUMN_NAME
|
||||
from
|
||||
"USR".SYS_FBA_DDL_COLMAP_26338 where (STARTSCN<=4336404 or STARTSCN is NULL)
|
||||
and (ENDSCN > 4336404 or ENDSCN is NULL) order by STARTSCN, ROWID
|
||||
|
||||
|
||||
call count cpu elapsed disk query current rows
|
||||
------- ------ -------- ---------- ---------- ---------- ---------- ----------
|
||||
Parse 1 0.00 0.00 0 0 0 0
|
||||
Execute 1 0.00 0.00 0 0 0 0
|
||||
Fetch 4 0.00 0.00 0 6 0 3
|
||||
------- ------ -------- ---------- ---------- ---------- ---------- ----------
|
||||
total 6 0.00 0.00 0 6 0 3
|
||||
|
||||
Misses in library cache during parse: 1
|
||||
Optimizer mode: CHOOSE
|
||||
Parsing user id: SYS (recursive depth: 1)
|
||||
Number of plan statistics captured: 1
|
||||
|
||||
Rows (1st) Rows (avg) Rows (max) Row Source Operation
|
||||
---------- ---------- ---------- ---------------------------------------------------
|
||||
3 3 3 SORT ORDER BY (cr=6 pr=0 pw=0 time=61 us starts=1 cost=4 size=60 card=3)
|
||||
3 3 3 TABLE ACCESS FULL SYS_FBA_DDL_COLMAP_26338 (cr=6 pr=0 pw=0 time=42 us starts=1 cost=3 size=60 card=3)
|
||||
|
||||
********************************************************************************
|
||||
|
||||
SQL ID: 5ty7pv13y930m Plan Hash: 1347681019
|
||||
|
||||
select count(*)
|
||||
from
|
||||
sys.col_group_usage$ where obj# = :1 and cols = :2 and trunc(sysdate) =
|
||||
trunc(timestamp) and bitand(flags, :3) = :3 and (cols_range is null and
|
||||
length(:4) = 0 or cols_range is not null and cols_range =
|
||||
dbms_auto_index_internal.merge_cols_str(cols_range, :4))
|
||||
|
||||
|
||||
call count cpu elapsed disk query current rows
|
||||
------- ------ -------- ---------- ---------- ---------- ---------- ----------
|
||||
Parse 0 0.00 0.00 0 0 0 0
|
||||
Execute 1 0.00 0.00 0 0 0 0
|
||||
Fetch 1 0.00 0.00 0 2 0 1
|
||||
------- ------ -------- ---------- ---------- ---------- ---------- ----------
|
||||
total 2 0.00 0.00 0 2 0 1
|
||||
|
||||
Misses in library cache during parse: 0
|
||||
Optimizer mode: CHOOSE
|
||||
Parsing user id: SYS (recursive depth: 1)
|
||||
|
||||
Elapsed times include waiting on following events:
|
||||
Event waited on Times Max. Wait Total Waited
|
||||
---------------------------------------- Waited ---------- ------------
|
||||
PGA memory operation 67 0.00 0.00
|
||||
********************************************************************************
|
||||
|
||||
SQL ID: g0181my81qz4x Plan Hash: 303836101
|
||||
|
||||
select *
|
||||
from
|
||||
TAB2 as of scn 4336404 where N1=1
|
||||
|
||||
|
||||
call count cpu elapsed disk query current rows
|
||||
------- ------ -------- ---------- ---------- ---------- ---------- ----------
|
||||
Parse 1 0.01 0.01 0 16 0 0
|
||||
Execute 1 0.00 0.00 0 0 0 0
|
||||
Fetch 2 0.00 0.00 0 93 0 1
|
||||
------- ------ -------- ---------- ---------- ---------- ---------- ----------
|
||||
total 4 0.01 0.01 0 109 0 1
|
||||
|
||||
Misses in library cache during parse: 1
|
||||
Optimizer mode: ALL_ROWS
|
||||
Parsing user id: 84
|
||||
Number of plan statistics captured: 1
|
||||
|
||||
Rows (1st) Rows (avg) Rows (max) Row Source Operation
|
||||
---------- ---------- ---------- ---------------------------------------------------
|
||||
1 1 1 VIEW (cr=110 pr=0 pw=0 time=102 us starts=1 cost=282 size=58 card=2)
|
||||
1 1 1 UNION-ALL (cr=110 pr=0 pw=0 time=100 us starts=1)
|
||||
1 1 1 PARTITION RANGE SINGLE PARTITION: 1 1 (cr=100 pr=0 pw=0 time=100 us starts=1 cost=274 size=29 card=1)
|
||||
1 1 1 TABLE ACCESS FULL SYS_FBA_HIST_26338 PARTITION: 1 1 (cr=100 pr=0 pw=0 time=94 us starts=1 cost=274 size=29 card=1)
|
||||
0 0 0 FILTER (cr=10 pr=0 pw=0 time=571 us starts=1)
|
||||
1 1 1 NESTED LOOPS OUTER (cr=10 pr=0 pw=0 time=571 us starts=1 cost=8 size=44 card=1)
|
||||
1 1 1 TABLE ACCESS FULL TAB2 (cr=7 pr=0 pw=0 time=528 us starts=1 cost=6 size=16 card=1)
|
||||
1 1 1 TABLE ACCESS BY INDEX ROWID BATCHED SYS_FBA_TCRV_26338 (cr=3 pr=0 pw=0 time=24 us starts=1 cost=2 size=28 card=1)
|
||||
3 3 3 INDEX RANGE SCAN SYS_FBA_TCRV_IDX1_26338 (cr=1 pr=0 pw=0 time=8 us starts=1 cost=1 size=0 card=1)(object id 26344)
|
||||
|
||||
|
||||
Elapsed times include waiting on following events:
|
||||
Event waited on Times Max. Wait Total Waited
|
||||
---------------------------------------- Waited ---------- ------------
|
||||
PGA memory operation 4 0.00 0.00
|
||||
SQL*Net message to client 2 0.00 0.00
|
||||
SQL*Net message from client 2 12.15 12.16
|
||||
|
||||
|
||||
|
||||
********************************************************************************
|
||||
|
||||
OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
|
||||
|
||||
call count cpu elapsed disk query current rows
|
||||
------- ------ -------- ---------- ---------- ---------- ---------- ----------
|
||||
Parse 1 0.01 0.01 0 16 0 0
|
||||
Execute 1 0.00 0.00 0 0 0 0
|
||||
Fetch 2 0.00 0.00 0 93 0 1
|
||||
------- ------ -------- ---------- ---------- ---------- ---------- ----------
|
||||
total 4 0.01 0.01 0 109 0 1
|
||||
|
||||
Misses in library cache during parse: 1
|
||||
|
||||
Elapsed times include waiting on following events:
|
||||
Event waited on Times Max. Wait Total Waited
|
||||
---------------------------------------- Waited ---------- ------------
|
||||
SQL*Net message to client 3 0.00 0.00
|
||||
SQL*Net message from client 3 47.08 59.24
|
||||
PGA memory operation 4 0.00 0.00
|
||||
|
||||
|
||||
OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
|
||||
|
||||
call count cpu elapsed disk query current rows
|
||||
------- ------ -------- ---------- ---------- ---------- ---------- ----------
|
||||
Parse 5 0.00 0.00 0 0 0 0
|
||||
Execute 6 0.00 0.00 0 0 0 0
|
||||
Fetch 9 0.00 0.00 0 17 0 8
|
||||
------- ------ -------- ---------- ---------- ---------- ---------- ----------
|
||||
total 20 0.00 0.00 0 17 0 8
|
||||
|
||||
Misses in library cache during parse: 3
|
||||
|
||||
Elapsed times include waiting on following events:
|
||||
Event waited on Times Max. Wait Total Waited
|
||||
---------------------------------------- Waited ---------- ------------
|
||||
PGA memory operation 67 0.00 0.00
|
||||
|
||||
1 user SQL statements in session.
|
||||
6 internal SQL statements in session.
|
||||
7 SQL statements in session.
|
||||
********************************************************************************
|
||||
Trace file: /app/oracle/base/admin/SITHPRD/diag/rdbms/sithprd/SITHPRD/trace/SITHPRD_ora_3396.trc
|
||||
Trace file compatibility: 12.2.0.0
|
||||
Sort options: default
|
||||
|
||||
1 session in tracefile.
|
||||
1 user SQL statements in trace file.
|
||||
6 internal SQL statements in trace file.
|
||||
7 SQL statements in trace file.
|
||||
5 unique SQL statements in trace file.
|
||||
218 lines in trace file.
|
||||
12 elapsed seconds in trace file.
|
||||
|
||||
|
||||
324
FDA/fda_asof_02.txt
Executable file
324
FDA/fda_asof_02.txt
Executable file
@@ -0,0 +1,324 @@
|
||||
|
||||
TKPROF: Release 21.0.0.0.0 - Development on Sun Jun 18 15:55:49 2023
|
||||
|
||||
Copyright (c) 1982, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
|
||||
Trace file: /app/oracle/base/admin/SITHPRD/diag/rdbms/sithprd/SITHPRD/trace/SITHPRD_ora_3510.trc
|
||||
Sort options: default
|
||||
|
||||
********************************************************************************
|
||||
count = number of times OCI procedure was executed
|
||||
cpu = cpu time in seconds executing
|
||||
elapsed = elapsed time in seconds executing
|
||||
disk = number of physical reads of buffers from disk
|
||||
query = number of buffers gotten for consistent read
|
||||
current = number of buffers gotten in current mode (usually for update)
|
||||
rows = number of rows processed by the fetch or execute call
|
||||
********************************************************************************
|
||||
|
||||
SQL ID: 41dzdw7ca24a1 Plan Hash: 1159443182
|
||||
|
||||
select count(*)
|
||||
from
|
||||
"USR".SYS_FBA_DDL_COLMAP_26338
|
||||
|
||||
|
||||
call count cpu elapsed disk query current rows
|
||||
------- ------ -------- ---------- ---------- ---------- ---------- ----------
|
||||
Parse 1 0.00 0.00 0 0 0 0
|
||||
Execute 1 0.00 0.00 0 0 0 0
|
||||
Fetch 1 0.00 0.00 0 6 0 1
|
||||
------- ------ -------- ---------- ---------- ---------- ---------- ----------
|
||||
total 3 0.00 0.00 0 6 0 1
|
||||
|
||||
Misses in library cache during parse: 0
|
||||
Optimizer mode: CHOOSE
|
||||
Parsing user id: SYS (recursive depth: 1)
|
||||
Number of plan statistics captured: 1
|
||||
|
||||
Rows (1st) Rows (avg) Rows (max) Row Source Operation
|
||||
---------- ---------- ---------- ---------------------------------------------------
|
||||
1 1 1 SORT AGGREGATE (cr=6 pr=0 pw=0 time=67 us starts=1)
|
||||
5 5 5 TABLE ACCESS FULL SYS_FBA_DDL_COLMAP_26338 (cr=6 pr=0 pw=0 time=59 us starts=1 cost=3 size=0 card=3)
|
||||
|
||||
********************************************************************************
|
||||
|
||||
SQL ID: 2syvqzbxp4k9z Plan Hash: 533170135
|
||||
|
||||
select u.name, o.name, a.interface_version#, o.obj#
|
||||
from
|
||||
association$ a, user$ u, obj$ o where a.obj# = :1
|
||||
and a.property = :2
|
||||
and a.statstype# = o.obj# and
|
||||
u.user# = o.owner#
|
||||
|
||||
|
||||
call count cpu elapsed disk query current rows
|
||||
------- ------ -------- ---------- ---------- ---------- ---------- ----------
|
||||
Parse 6 0.00 0.00 0 0 0 0
|
||||
Execute 6 0.00 0.00 0 0 0 0
|
||||
Fetch 6 0.00 0.00 0 12 0 0
|
||||
------- ------ -------- ---------- ---------- ---------- ---------- ----------
|
||||
total 18 0.00 0.00 0 12 0 0
|
||||
|
||||
Misses in library cache during parse: 0
|
||||
Optimizer mode: CHOOSE
|
||||
Parsing user id: SYS (recursive depth: 1)
|
||||
Number of plan statistics captured: 1
|
||||
|
||||
Rows (1st) Rows (avg) Rows (max) Row Source Operation
|
||||
---------- ---------- ---------- ---------------------------------------------------
|
||||
0 0 0 HASH JOIN (cr=2 pr=0 pw=0 time=39 us starts=1 cost=5 size=62 card=1)
|
||||
0 0 0 NESTED LOOPS (cr=2 pr=0 pw=0 time=35 us starts=1 cost=5 size=62 card=1)
|
||||
0 0 0 STATISTICS COLLECTOR (cr=2 pr=0 pw=0 time=33 us starts=1)
|
||||
0 0 0 HASH JOIN (cr=2 pr=0 pw=0 time=26 us starts=1 cost=4 size=44 card=1)
|
||||
0 0 0 NESTED LOOPS (cr=2 pr=0 pw=0 time=26 us starts=1 cost=4 size=44 card=1)
|
||||
0 0 0 STATISTICS COLLECTOR (cr=2 pr=0 pw=0 time=26 us starts=1)
|
||||
0 0 0 TABLE ACCESS FULL ASSOCIATION$ (cr=2 pr=0 pw=0 time=24 us starts=1 cost=2 size=16 card=1)
|
||||
0 0 0 TABLE ACCESS BY INDEX ROWID BATCHED OBJ$ (cr=0 pr=0 pw=0 time=0 us starts=0 cost=2 size=28 card=1)
|
||||
0 0 0 INDEX RANGE SCAN I_OBJ1 (cr=0 pr=0 pw=0 time=0 us starts=0 cost=1 size=0 card=1)(object id 36)
|
||||
0 0 0 INDEX FAST FULL SCAN I_OBJ2 (cr=0 pr=0 pw=0 time=0 us starts=0 cost=1 size=28 card=1)(object id 37)
|
||||
0 0 0 TABLE ACCESS CLUSTER USER$ (cr=0 pr=0 pw=0 time=0 us starts=0 cost=1 size=18 card=1)
|
||||
0 0 0 INDEX UNIQUE SCAN I_USER# (cr=0 pr=0 pw=0 time=0 us starts=0 cost=0 size=0 card=1)(object id 11)
|
||||
0 0 0 TABLE ACCESS FULL USER$ (cr=0 pr=0 pw=0 time=0 us starts=0 cost=1 size=18 card=1)
|
||||
|
||||
********************************************************************************
|
||||
|
||||
SQL ID: 2xyb5d6xg9srh Plan Hash: 785096182
|
||||
|
||||
select a.default_cpu_cost, a.default_io_cost
|
||||
from
|
||||
association$ a where a.obj# = :1
|
||||
and a.property = :2
|
||||
|
||||
|
||||
call count cpu elapsed disk query current rows
|
||||
------- ------ -------- ---------- ---------- ---------- ---------- ----------
|
||||
Parse 6 0.00 0.00 0 0 0 0
|
||||
Execute 6 0.00 0.00 0 0 0 0
|
||||
Fetch 6 0.00 0.00 0 12 0 0
|
||||
------- ------ -------- ---------- ---------- ---------- ---------- ----------
|
||||
total 18 0.00 0.00 0 12 0 0
|
||||
|
||||
Misses in library cache during parse: 0
|
||||
Optimizer mode: CHOOSE
|
||||
Parsing user id: SYS (recursive depth: 1)
|
||||
Number of plan statistics captured: 1
|
||||
|
||||
Rows (1st) Rows (avg) Rows (max) Row Source Operation
|
||||
---------- ---------- ---------- ---------------------------------------------------
|
||||
0 0 0 TABLE ACCESS FULL ASSOCIATION$ (cr=2 pr=0 pw=0 time=16 us starts=1 cost=2 size=18 card=1)
|
||||
|
||||
********************************************************************************
|
||||
|
||||
SQL ID: 476v06tzdhkhc Plan Hash: 3966719185
|
||||
|
||||
select HISTORICAL_COLUMN_NAME, COLUMN_NAME
|
||||
from
|
||||
"USR".SYS_FBA_DDL_COLMAP_26338 where (STARTSCN<=
|
||||
TIMESTAMP_TO_SCN(systimestamp-1/24+21/24/60) or STARTSCN is NULL) and
|
||||
(ENDSCN > TIMESTAMP_TO_SCN(systimestamp-1/24+21/24/60) or ENDSCN is NULL)
|
||||
order by STARTSCN, ROWID
|
||||
|
||||
|
||||
call count cpu elapsed disk query current rows
|
||||
------- ------ -------- ---------- ---------- ---------- ---------- ----------
|
||||
Parse 1 0.00 0.00 0 0 0 0
|
||||
Execute 1 0.00 0.00 0 0 0 0
|
||||
Fetch 4 0.00 0.00 0 6 0 3
|
||||
------- ------ -------- ---------- ---------- ---------- ---------- ----------
|
||||
total 6 0.00 0.00 0 6 0 3
|
||||
|
||||
Misses in library cache during parse: 1
|
||||
Optimizer mode: CHOOSE
|
||||
Parsing user id: SYS (recursive depth: 1)
|
||||
Number of plan statistics captured: 1
|
||||
|
||||
Rows (1st) Rows (avg) Rows (max) Row Source Operation
|
||||
---------- ---------- ---------- ---------------------------------------------------
|
||||
3 3 3 SORT ORDER BY (cr=13 pr=0 pw=0 time=1075 us starts=1 cost=4 size=20 card=1)
|
||||
3 3 3 TABLE ACCESS FULL SYS_FBA_DDL_COLMAP_26338 (cr=13 pr=0 pw=0 time=1061 us starts=1 cost=3 size=20 card=1)
|
||||
|
||||
********************************************************************************
|
||||
|
||||
SQL ID: 4jrkd9ymavb8x Plan Hash: 3631124065
|
||||
|
||||
select max(time_mp)
|
||||
from
|
||||
smon_scn_time
|
||||
|
||||
|
||||
call count cpu elapsed disk query current rows
|
||||
------- ------ -------- ---------- ---------- ---------- ---------- ----------
|
||||
Parse 20 0.00 0.00 0 0 0 0
|
||||
Execute 20 0.00 0.00 0 0 0 0
|
||||
Fetch 20 0.00 0.00 0 20 0 20
|
||||
------- ------ -------- ---------- ---------- ---------- ---------- ----------
|
||||
total 60 0.00 0.00 0 20 0 20
|
||||
|
||||
Misses in library cache during parse: 0
|
||||
Optimizer mode: ALL_ROWS
|
||||
Parsing user id: SYS (recursive depth: 1)
|
||||
Number of plan statistics captured: 1
|
||||
|
||||
Rows (1st) Rows (avg) Rows (max) Row Source Operation
|
||||
---------- ---------- ---------- ---------------------------------------------------
|
||||
1 1 1 SORT AGGREGATE (cr=1 pr=0 pw=0 time=19 us starts=1)
|
||||
1 1 1 INDEX FULL SCAN (MIN/MAX) SMON_SCN_TIME_TIM_IDX (cr=1 pr=0 pw=0 time=12 us starts=1 cost=1 size=7 card=1)(object id 424)
|
||||
|
||||
********************************************************************************
|
||||
|
||||
SQL ID: 2ajc7pwz9jsx3 Plan Hash: 2536448058
|
||||
|
||||
select max(scn)
|
||||
from
|
||||
smon_scn_time
|
||||
|
||||
|
||||
call count cpu elapsed disk query current rows
|
||||
------- ------ -------- ---------- ---------- ---------- ---------- ----------
|
||||
Parse 2 0.00 0.00 0 0 0 0
|
||||
Execute 2 0.00 0.00 0 0 0 0
|
||||
Fetch 2 0.00 0.00 0 2 0 2
|
||||
------- ------ -------- ---------- ---------- ---------- ---------- ----------
|
||||
total 6 0.00 0.00 0 2 0 2
|
||||
|
||||
Misses in library cache during parse: 0
|
||||
Optimizer mode: CHOOSE
|
||||
Parsing user id: SYS (recursive depth: 1)
|
||||
Number of plan statistics captured: 1
|
||||
|
||||
Rows (1st) Rows (avg) Rows (max) Row Source Operation
|
||||
---------- ---------- ---------- ---------------------------------------------------
|
||||
1 1 1 SORT AGGREGATE (cr=1 pr=0 pw=0 time=12 us starts=1)
|
||||
1 1 1 INDEX FULL SCAN (MIN/MAX) SMON_SCN_TIME_SCN_IDX (cr=1 pr=0 pw=0 time=6 us starts=1 cost=1 size=6 card=1)(object id 425)
|
||||
|
||||
********************************************************************************
|
||||
|
||||
SQL ID: 5ty7pv13y930m Plan Hash: 1347681019
|
||||
|
||||
select count(*)
|
||||
from
|
||||
sys.col_group_usage$ where obj# = :1 and cols = :2 and trunc(sysdate) =
|
||||
trunc(timestamp) and bitand(flags, :3) = :3 and (cols_range is null and
|
||||
length(:4) = 0 or cols_range is not null and cols_range =
|
||||
dbms_auto_index_internal.merge_cols_str(cols_range, :4))
|
||||
|
||||
|
||||
call count cpu elapsed disk query current rows
|
||||
------- ------ -------- ---------- ---------- ---------- ---------- ----------
|
||||
Parse 0 0.00 0.00 0 0 0 0
|
||||
Execute 1 0.00 0.00 0 0 0 0
|
||||
Fetch 1 0.00 0.00 0 2 0 1
|
||||
------- ------ -------- ---------- ---------- ---------- ---------- ----------
|
||||
total 2 0.00 0.00 0 2 0 1
|
||||
|
||||
Misses in library cache during parse: 0
|
||||
Optimizer mode: CHOOSE
|
||||
Parsing user id: SYS (recursive depth: 1)
|
||||
|
||||
Elapsed times include waiting on following events:
|
||||
Event waited on Times Max. Wait Total Waited
|
||||
---------------------------------------- Waited ---------- ------------
|
||||
PGA memory operation 75 0.00 0.00
|
||||
********************************************************************************
|
||||
|
||||
SQL ID: 36g2pydn13abk Plan Hash: 2739728740
|
||||
|
||||
select *
|
||||
from
|
||||
TAB2 as of timestamp systimestamp-1/24+21/24/60 where N1=1
|
||||
|
||||
|
||||
call count cpu elapsed disk query current rows
|
||||
------- ------ -------- ---------- ---------- ---------- ---------- ----------
|
||||
Parse 1 0.01 0.01 0 0 0 0
|
||||
Execute 1 0.00 0.00 0 0 0 0
|
||||
Fetch 2 0.00 0.00 0 109 0 1
|
||||
------- ------ -------- ---------- ---------- ---------- ---------- ----------
|
||||
total 4 0.01 0.01 0 109 0 1
|
||||
|
||||
Misses in library cache during parse: 1
|
||||
Optimizer mode: ALL_ROWS
|
||||
Parsing user id: 84
|
||||
Number of plan statistics captured: 1
|
||||
|
||||
Rows (1st) Rows (avg) Rows (max) Row Source Operation
|
||||
---------- ---------- ---------- ---------------------------------------------------
|
||||
1 1 1 VIEW (cr=123 pr=0 pw=0 time=1775 us starts=1 cost=282 size=58 card=2)
|
||||
1 1 1 UNION-ALL (cr=123 pr=0 pw=0 time=1772 us starts=1)
|
||||
1 1 1 FILTER (cr=112 pr=0 pw=0 time=1769 us starts=1)
|
||||
1 1 1 PARTITION RANGE SINGLE PARTITION: 1 1 (cr=111 pr=0 pw=0 time=1530 us starts=1 cost=274 size=29 card=1)
|
||||
1 1 1 TABLE ACCESS FULL SYS_FBA_HIST_26338 PARTITION: 1 1 (cr=111 pr=0 pw=0 time=1526 us starts=1 cost=274 size=29 card=1)
|
||||
0 0 0 FILTER (cr=11 pr=0 pw=0 time=410 us starts=1)
|
||||
1 1 1 NESTED LOOPS OUTER (cr=10 pr=0 pw=0 time=245 us starts=1 cost=8 size=44 card=1)
|
||||
1 1 1 TABLE ACCESS FULL TAB2 (cr=7 pr=0 pw=0 time=215 us starts=1 cost=6 size=16 card=1)
|
||||
1 1 1 TABLE ACCESS BY INDEX ROWID BATCHED SYS_FBA_TCRV_26338 (cr=3 pr=0 pw=0 time=20 us starts=1 cost=2 size=28 card=1)
|
||||
3 3 3 INDEX RANGE SCAN SYS_FBA_TCRV_IDX1_26338 (cr=1 pr=0 pw=0 time=7 us starts=1 cost=1 size=0 card=1)(object id 26344)
|
||||
|
||||
|
||||
Elapsed times include waiting on following events:
|
||||
Event waited on Times Max. Wait Total Waited
|
||||
---------------------------------------- Waited ---------- ------------
|
||||
PGA memory operation 3 0.00 0.00
|
||||
SQL*Net message to client 2 0.00 0.00
|
||||
SQL*Net message from client 2 2.20 2.20
|
||||
|
||||
|
||||
|
||||
********************************************************************************
|
||||
|
||||
OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
|
||||
|
||||
call count cpu elapsed disk query current rows
|
||||
------- ------ -------- ---------- ---------- ---------- ---------- ----------
|
||||
Parse 1 0.01 0.01 0 0 0 0
|
||||
Execute 1 0.00 0.00 0 0 0 0
|
||||
Fetch 2 0.00 0.00 0 109 0 1
|
||||
------- ------ -------- ---------- ---------- ---------- ---------- ----------
|
||||
total 4 0.01 0.01 0 109 0 1
|
||||
|
||||
Misses in library cache during parse: 1
|
||||
|
||||
Elapsed times include waiting on following events:
|
||||
Event waited on Times Max. Wait Total Waited
|
||||
---------------------------------------- Waited ---------- ------------
|
||||
SQL*Net message to client 3 0.00 0.00
|
||||
SQL*Net message from client 3 5.67 7.88
|
||||
PGA memory operation 3 0.00 0.00
|
||||
|
||||
|
||||
OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
|
||||
|
||||
call count cpu elapsed disk query current rows
|
||||
------- ------ -------- ---------- ---------- ---------- ---------- ----------
|
||||
Parse 36 0.00 0.00 0 0 0 0
|
||||
Execute 37 0.00 0.00 0 0 0 0
|
||||
Fetch 40 0.00 0.00 0 60 0 27
|
||||
------- ------ -------- ---------- ---------- ---------- ---------- ----------
|
||||
total 113 0.01 0.01 0 60 0 27
|
||||
|
||||
Misses in library cache during parse: 1
|
||||
|
||||
Elapsed times include waiting on following events:
|
||||
Event waited on Times Max. Wait Total Waited
|
||||
---------------------------------------- Waited ---------- ------------
|
||||
PGA memory operation 75 0.00 0.00
|
||||
|
||||
1 user SQL statements in session.
|
||||
7 internal SQL statements in session.
|
||||
8 SQL statements in session.
|
||||
********************************************************************************
|
||||
Trace file: /app/oracle/base/admin/SITHPRD/diag/rdbms/sithprd/SITHPRD/trace/SITHPRD_ora_3510.trc
|
||||
Trace file compatibility: 12.2.0.0
|
||||
Sort options: default
|
||||
|
||||
1 session in tracefile.
|
||||
1 user SQL statements in trace file.
|
||||
7 internal SQL statements in trace file.
|
||||
8 SQL statements in trace file.
|
||||
8 unique SQL statements in trace file.
|
||||
509 lines in trace file.
|
||||
2 elapsed seconds in trace file.
|
||||
|
||||
|
||||
9
FDA/infinite_update1.sql
Normal file
9
FDA/infinite_update1.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
begin
|
||||
loop
|
||||
update TAB1 set d=sysdate;
|
||||
commit;
|
||||
dbms_session.sleep(1);
|
||||
end loop;
|
||||
end;
|
||||
/
|
||||
|
||||
Reference in New Issue
Block a user