DBMS_CDC_PUBLISH
Hi,
I am trying to alter a table and getting this error.
ORA-00604: error occurred at recursive SQL level 1
ORA-04068: existing state of packages has been discarded
ORA-04063: package body "SYS.DBMS_CDC_PUBLISH" has errors
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at line 4
I checked the status of the above package and is showing invalid. I tried to compile it and I am getting another error
PACKAGE BODY SYS.DBMS_CDC_PUBLISH
On line: 21
PLS-00311: the declaration of "oracle.CDC.PublishApi.createChangeSource(java.lang.String,
java.lang.String,java.lang.String,java.lang.String)" is incomplete or malformed
What could be the issue? Any help??
I am also getting the similar error
SQL> create table one (name varchar2(20), num number(10));
create table one (name varchar2(20), num number(10))
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-01422: exact fetch returns more than requested number of rows
ORA-06512: at "SYS.DBMS_CDC_PUBLISH", line 325
ORA-06512: at line 3
I am using the version 9.2.0.1.0.
What may be the problem?
Similar Messages
-
Numeric overflow with DBMS_CDC_PUBLISH.CREATE_CHANGE_TABLE
Hello all-
I'm running Oracle 9i on WinXP sp. 2.
I'm trying to create a CDC table with the standard SYS package and am getting a numeric overflow error. The code I'm attempting to execute is this:
BEGIN
sys.dbms_cdc_publish.create_change_table(
OWNER => 'CDC_USER',
CHANGE_TABLE_NAME => 'PA_BUDGET_ENTRY_METHODS',
CHANGE_SET_NAME => 'SYNC_SET',
SOURCE_SCHEMA => 'PA',
SOURCE_TABLE => 'PA_BUDGET_ENTRY_METHODS',
COLUMN_TYPE_LIST => 'BUDGET_ENTRY_METHOD_CODE VARCHAR2(30)',
CAPTURE_VALUES => 'NEW',
RS_ID => 'N',
ROW_ID => 'Y',
USER_ID => 'Y',
TIMESTAMP => 'Y',
OBJECT_ID => 'N',
SOURCE_COLMAP => 'N',
TARGET_COLMAP => 'N',
OPTIONS_STRING => NULL);
END;
The error I'm getting is this:
ORA-01426: numeric overflow
ORA-06512: at "SYS.DBMS_CDC_PUBLISH", line 299
ORA-06512: at line 2
This happens every time, regardless of the source table i'm trying to capture changes for.
Clearly this is a normal exception (i.e., not only thrown in the CDC packages) so I'm having a hard time figuring out what it could be. Anyone out there familiar with CDC have any thoughts?
Thanks in advance,
JamesI tried that but no luck yet, also tried put all in a single line, but the same error. It doesn't something tricky here, but actual problem with package. "ddl_markers" is new to 11g and not much documentation is available on that.
Also setting ddl_markers=N removed 3 columns from Publisher table, and the effect of it on Subscriber's view is still a gray area, -
SYS.DBMS_CDC_PUBLISH errors during create table command
While trying to create tables I am getting the following errors.
@dv001_bld_emp_profile.sql
create table emp_profile_tbl (
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-01422: exact fetch returns more than requested number of rows
ORA-06512: at "SYS.DBMS_CDC_PUBLISH", line 326
ORA-06512: at line 3
I tried to reload the predefined Oracle packages by re-running the catproc.sql script but that had no effect.
Can you help???I tried that but no luck yet, also tried put all in a single line, but the same error. It doesn't something tricky here, but actual problem with package. "ddl_markers" is new to 11g and not much documentation is available on that.
Also setting ddl_markers=N removed 3 columns from Publisher table, and the effect of it on Subscriber's view is still a gray area, -
CDC OBE - DBMS_CDC_Publish must be declared
Hi:
I'm running through the Change Data Capture Demo under the Data Warehousing section. when I run the cr_cdc_ct.sql script, I get the following message:
PLS-00201: identifier 'DBMS_CDC_PUBLISH' must be declared
I've granted execute on this to SH. Any Ideas?Hi, Ogan, I got this resolved.
After the upgrade by using DBUA, I tried to execute scripts to configure ACLs since my database has dependent objects. That's when I got error saying that dbms_network_acl_admin was not found.
when I queried DBA_registry , it didn't list XDB as one of the components. So, I understood this didn't get installed during the upgrade with DBUA. So, I installed XDB manually by running catqm.sql. This however created a lot of invalid objetcs which wouldnt get validated after tryign to recompile them with utlrp.sql. Most of the errors were looping chain of synonyms. Finally, I de-installed it and re-installed xdb and ran utlrp.sql to validate all the invalid objects. Now, everything is fine.
I guess xdb doesn't get installed during the dbua upgrade and maybe it needs to be installed seperately. But, that's kind of confusing because xdb is supposed to be a mandatory component in 11g. Can someone please clarify this? -
Change Data Capture: DBMS_CDC_PUBLISH.PURGE
How can I manage this job? I don't need to delete data from change tables.
hello. I'm facing the same problem rigth now. I do not know how to setup this Job in order to avoid the purge of the change tables. CDC is puging all the data (including not consumed data). How can I change the execution time of this Job or avoid it?? Thanks in advance!! I do not find information about it.
-
Error when calling a procedure from my apex application
Hello.
I want to create a small APEX application that can configure asynchronous change data capture (distributed hotlog) on certain tables.
Basically, what the application should do is to simply create change tables. Everything else is set up as prerequisite.
My problem is that when I run the following script from schema apex_cdd (using sqldeveloper) , it works; but if I run it from my apex application by calling it when pressing a button as a pl/sql process, it doen't work.
BEGIN
apex_cdc.enable_table_capture
( i_owner => 'staging_cdcpub',
i_change_table_name => 'g_changeTable',
i_change_set_name => 'Source_changeSet',
i_change_source => 'orcl01_cs',
i_source_schema => 'My_src',
i_source_table => 'G',
i_column_type_list => 'STARTDATE DATE,STATUS CHAR(1),NAME VARCHAR2(10),ENDDATE DATE,DESCRIPTION VARCHAR2(255),ID NUMBER(8,0),VALUE NUMBER(10,2)'
END;
If I look in the trace file, i see that the error is:
CDCdebug:in ChangeTable.java enableDisabledTriggers: ORA-06550: line 1, column 8:
PLS-00201: identifier 'SYS.DBMS_CDC_SYS_IPUBLISH' must be declared
ORA-06550: line 1, column 8:
PL/SQL: Statement ignored
oracle.jdbc.driver.OracleSQLException: ORA-06550: line 1, column 8:
PLS-00201: identifier 'SYS.DBMS_CDC_SYS_IPUBLISH' must be declared
ORA-06550: line 1, column 8:
PL/SQL: Statement ignored
Other remarks:
- My procedure calls: sys.DBMS_CDC_PUBLISH.CREATE_CHANGE_TABLE.
- I gave the same rights that I gave for apex_cdc schema to flows_030200 and APEX_PUBLIC_USER schemas (just to see if it works), but it doens't.
Is APEX calling the procedure from another schema ?
Does anyone has an idea why this procedure crashes if called from APEX application, but works ok if called from the same schema APEX application runs on, but using SQLDeveloper ?
Any thoughts are appreciated.
RadianThe procedure apex_cdc.enable_table_capture i created myself with no authid mentioned explicitly, so it uses definer rights, by default.
BUt this procedure is simply a wrapper for sys.dbms_cdc_publish.create_change_table.
When I look on the security model for this sys.dbms_cdc_publish, i see it runs under invoker rights. (http://www.psoug.org/reference/dbms_cdc_publish.html).
The code is like this:
CREATE OR REPLACE PROCEDURE enable_table_capture
i_owner IN VARCHAR2,
i_change_table_name IN VARCHAR2,
i_change_set_name IN VARCHAR2,
i_change_source IN VARCHAR2,
i_source_schema IN VARCHAR2,
i_source_table IN VARCHAR2,
i_column_type_list IN VARCHAR2
IS
BEGIN
EXECUTE IMMEDIATE 'alter session set REMOTE_DEPENDENCIES_MODE=SIGNATURE';
EXECUTE IMMEDIATE 'begin add_log@orcl01(i_tableName => ''G''); end;';
sys.DBMS_CDC_PUBLISH.CREATE_CHANGE_TABLE(
owner => i_owner,
change_table_name => i_change_table_name,
change_set_name => i_change_set_name,
source_schema => i_source_schema,
source_table => i_source_table,
column_type_list => i_column_type_list,
capture_values => 'both',
rs_id => 'y',
row_id => 'n',
user_id => 'n',
timestamp => 'y',
object_id => 'n',
source_colmap => 'n',
target_colmap => 'y',
options_string => NULL);
END enable_table_capture; -
Error while creating publisher change tables in CDC
Hi,
I am implementing Change Data Capture. I got getting following error while creating publisher change tables in Staging database. My database version is 10.2.0.2.0 .
I appreciate your help.
ERROR at line 1:
ORA-29540: class oracle/CDC/PublishApi does not exist
ORA-06512: at "SYS.DBMS_CDC_PUBLISH", line 611
ORA-06512: at line 2
Thanks,
Venkat.This problem got fixed when I ran below script!!
@$ORACLE_HOME/rdbms/admin/initcdc.sql; -
OS - win2003 server
DB - 9.2.0.5.0
Can you have a look on Statspack Report and offer your valuable suggestions?
Current Instance
~~~~~~~~~~~~~~~~
DB Id DB Name Inst Num Instance
340547761 CHRYSLER 1 chrysler
Instances in this Statspack schema
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DB Id Inst Num DB Name Instance Host
340547761 1 CHRYSLER chrysler NOID2K36BGTP
B1
Using 340547761 for database Id
Using 1 for instance number
Completed Snapshots
Snap Snap
Instance DB Name Id Snap Started Level Comment
chrysler CHRYSLER 1 17 Jan 2008 10:05 5
2 17 Jan 2008 10:09 5
3 17 Jan 2008 10:16 5
4 17 Jan 2008 10:48 5
5 17 Jan 2008 11:02 5
6 17 Jan 2008 11:12 5
Specify the Begin and End Snapshot Ids
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Enter value for begin_snap: 4
Begin Snapshot Id specified: 4
Enter value for end_snap: 6
End Snapshot Id specified: 6
PAR VERSN
HOST_NAME DB Name
Instance BTIME
NO 9.2.0.5.0
NOID2K36BGTPB1 CHRYSLER
chrysler 20080117 10:48:11
ETIME
20080117 11:12:09
Specify the Report Name
~~~~~~~~~~~~~~~~~~~~~~~
The default report file name is sp_4_6. To use this name,
press <return> to continue, otherwise enter an alternative.
Enter value for report_name: Statspack Report
Using the report name Statspack Report
SP2-0333: Illegal spool file name: "Statspack Report" (bad character: ' ')
STATSPACK report for
DB Name DB Id Instance Inst Num Release Cluster Host
CHRYSLER 340547761 chrysler 1 9.2.0.5.0 NO NOID2K36BGTP
B1
Snap Id Snap Time Sessions Curs/Sess Comment
Begin Snap: 4 17-Jan-08 10:48:11 22 6.5
End Snap: 6 17-Jan-08 11:12:09 27 7.4
Elapsed: 23.97 (mins)
Cache Sizes (end)
~~~~~~~~~~~~~~~~~
Buffer Cache: 184M Std Block Size: 8K
Shared Pool Size: 904M Log Buffer: 512K
Load Profile
~~~~~~~~~~~~ Per Second Per Transaction
Redo size: 10,225.13 4,901,244.00
Logical reads: 700.13 335,593.67
Block changes: 68.68 32,918.67
Physical reads: 15.03 7,206.67
Physical writes: 14.41 6,906.00
User calls: 1.22 584.00
Parses: 0.73 349.33
Hard parses: 0.03 13.67
Sorts: 0.40 193.00
Logons: 0.01 4.67
Executes: 1.46 701.67
Transactions: 0.00
% Blocks changed per Read: 9.81 Recursive Call %: 91.60
Rollback per transaction %: 0.00 Rows per Sort: 1016.53
Instance Efficiency Percentages (Target 100%)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buffer Nowait %: 100.00 Redo NoWait %: 100.00
Buffer Hit %: 99.57 In-memory Sort %: 99.65
Library Hit %: 100.00 Soft Parse %: 96.09
Execute to Parse %: 50.21 Latch Hit %: 99.98
Parse CPU to Parse Elapsd %: 56.76 % Non-Parse CPU: 99.34
Shared Pool Statistics Begin End
Memory Usage %: 53.83 53.90
% SQL with executions>1: 84.54 84.53
% Memory for SQL w/exec>1: 62.62 62.65
Top 5 Timed Events
~~~~~~~~~~~~~~~~~~ % Total
Event Waits Time (s) Ela Time
CPU time 32 79.76
direct path read 390 3 7.21
db file scattered read 275 2 3.78
log file parallel write 515 1 2.44
db file sequential read 365 1 2.07
Wait Events for DB: CHRYSLER Instance: chrysler Snaps: 4 -6
-> s - second
-> cs - centisecond - 100th of a second
-> ms - millisecond - 1000th of a second
-> us - microsecond - 1000000th of a second
-> ordered by wait time desc, waits desc (idle events last)
Avg
Total Wait wait Waits
Event Waits Timeouts Time (s) (ms) /txn
direct path read 390 0 3 7 130.0
db file scattered read 275 0 2 5 91.7
log file parallel write 515 449 1 2 171.7
db file sequential read 365 0 1 2 121.7
control file parallel write 467 0 0 1 155.7
control file sequential read 294 0 0 1 98.0
db file parallel write 35 0 0 10 11.7
db file parallel read 1 0 0 251 0.3
LGWR wait for redo copy 19 1 0 12 6.3
SQL*Net message from dblink 18 0 0 4 6.0
latch free 14 0 0 5 4.7
log file sync 14 0 0 1 4.7
SQL*Net break/reset to clien 36 0 0 0 12.0
log buffer space 19 0 0 1 6.3
SQL*Net more data to client 103 0 0 0 34.3
direct path write 8 0 0 1 2.7
SQL*Net message to dblink 18 0 0 0 6.0
SQL*Net message from client 1,606 0 11,104 6914 535.3
wakeup time manager 47 47 2,580 54895 15.7
SQL*Net more data from clien 11 0 0 14 3.7
SQL*Net message to client 1,611 0 0 0 537.0
Background Wait Events for DB: CHRYSLER Instance: chrysler Snaps: 4 -6
-> ordered by wait time desc, waits desc (idle events last)
Avg
Total Wait wait Waits
Event Waits Timeouts Time (s) (ms) /txn
log file parallel write 515 449 1 2 171.7
control file parallel write 467 0 0 1 155.7
db file parallel write 35 0 0 10 11.7
control file sequential read 188 0 0 2 62.7
LGWR wait for redo copy 19 1 0 12 6.3
latch free 4 0 0 17 1.3
rdbms ipc message 2,392 1,859 9,366 3916 797.3
pmon timer 487 487 2,651 5443 162.3
smon timer 4 4 2,307 ###### 1.3
SQL ordered by Gets for DB: CHRYSLER Instance: chrysler Snaps: 4 -6
-> End Buffer Gets Threshold: 10000
-> Note that resources reported for PL/SQL includes the resources used by
all SQL statements called within the PL/SQL code. As individual SQL
statements are also reported, it is possible and valid for the summed
total % to exceed 100
CPU Elapsd
Buffer Gets Executions Gets per Exec %Total Time (s) Time (s) Hash Value
415,514 2 207,757.0 41.3 5.45 5.44 1116368370
Module: SQL*Plus
INSERT INTO STATS$SQLTEXT ( HASH_VALUE , TEXT_SUBSET , PIECE , S
QL_TEXT , ADDRESS , COMMAND_TYPE , LAST_SNAP_ID ) SELECT ST1.HAS
H_VALUE , SS.TEXT_SUBSET , ST1.PIECE , ST1.SQL_TEXT , ST1.ADDRES
S , ST1.COMMAND_TYPE , SS.SNAP_ID FROM V$SQLTEXT ST1 , STATS$SQL
SUMMARY SS WHERE SS.SNAPID = :B3 AND SS.DBID = :B2 AND SS.INST
223,045 2 111,522.5 22.2 1.09 1.38 3446574552
Module: SQL Developer
select column_name from all_updatable_columns where TABLE_NAME
= :OBJECT_NAME and owner = :OBJECT_OWNER and updatable = 'YES'
208,951 1 208,951.0 20.8 10.42 14.21 1240367379
Module: SQL*Plus
BEGIN statspack.snap ; END;
208,539 1 208,539.0 20.7 10.47 14.11 2522684317
Module: sqlplus.exe
BEGIN statspack.snap; END;
81,198 1 81,198.0 8.1 0.73 0.73 401938015
Module: Oracle SQL Developer
SELECT s.owner, s.synonym_name, 'SYNONYM' as object_type FROM sy
s.all_synonyms s, sys.all_objects o WHERE s.table_name = o.objec
t_name AND s.table_owner = o.owner AND object_type IN ('PACKAGE'
, 'PROCEDURE', 'SEQUENCE', 'TABLE', 'TYPE', 'VIEW', 'FUNCTION' )
ORDER BY s.owner, s.synonym_name
58,656 10 5,865.6 5.8 3.34 3.33 3247664323
insert into source$(obj#,line,source) values (:1,:2,:3)
57,404 2 28,702.0 5.7 0.28 0.30 3259503395
Module: SQL Developer
select * from (SELECT OBJECT_NAME, OBJECT_ID ,'' short_name,
decode(( SELECT count (1) FROM SYS.ALL_TAB_PARTITIONS WHERE TAB
LE_OWNER =owner AND TABLE_NAME = object_name ),0,'FALSE','TRUE'
) partition, OWNER OBJECT_OWNER
FROM SYS.ALL_OBJECTS O WHERE O.OWNE
51,583 1 51,583.0 5.1 0.77 0.75 2077069258
Module: Oracle SQL Developer
SELECT owner, object_name, object_type FROM sys.all_objects WHER
E object_type IN ('PACKAGE', 'PROCEDURE', 'SEQUENCE', 'TABLE', '
TYPE', 'VIEW', 'FUNCTION' ) ORDER BY owner, object_name
41,310 2 20,655.0 4.1 0.27 0.29 1607513402
Module: SQL Developer
SELECT OWNER,TABLE_NAME FROM all_external_tables
SQL ordered by Gets for DB: CHRYSLER Instance: chrysler Snaps: 4 -6
-> End Buffer Gets Threshold: 10000
-> Note that resources reported for PL/SQL includes the resources used by
all SQL statements called within the PL/SQL code. As individual SQL
statements are also reported, it is possible and valid for the summed
total % to exceed 100
CPU Elapsd
Buffer Gets Executions Gets per Exec %Total Time (s) Time (s) Hash Value
20,776 1 20,776.0 2.1 0.20 0.21 1305228895
Module: SQL*Plus
select owner , object_name , object_type from dba_objects where
object_type = 'TABLE'
15,709 10 1,570.9 1.6 0.97 1.07 3098922061
delete from source$ where obj#=:1
11,854 1 11,854.0 1.2 0.11 0.21 4208944292
Module: SQL Developer
with pri_cols as ( SELECT cols.column_name column_name, cols.pos
ition column_position FROM all_constraints cons, al
l_cons_columns cols WHERE cons.constraint_type = 'P'
AND cons.constraint_name = cols.constraint_name
AND cons.owner = cols.owner and cols.table_name
7,493 1 7,493.0 0.7 0.17 1.87 1279266739
Module: SQL Developer
select count(*) from IMP_TEMPSS_PARTSLANG
3,904 47 83.1 0.4 0.00 0.14 815501214
select t.schema, t.name, t.flags, q.name from system.aq$_queue_t
ables t, sys.aq$_queue_table_affinities aft, system.aq$_que
ues q where aft.table_objno = t.objno and aft.owner_instance = :
1 and q.table_objno = t.objno and q.usage = 0 and b
itand(t.flags, 4+16+32+64+128+256) = 0 for update of t.name, aft
3,467 14 247.6 0.3 0.50 0.53 1554250272
Module: SQL Developer
select count(1) from all_objects where owner <> 'PUBLIC' and ob
ject_name in (:S0)
1,694 4 423.5 0.2 0.08 0.08 1547382267
Module: SQL Developer
select object_type,owner,object_name,rank from ( select objec
t_type,owner,object_name,0 rank from all_objects where obj
ect_name = :NAME and UPPER(owner) = nvl(:OWNER,UPPER(sys_cont
ext('USERENV', 'CURRENT_SCHEMA'))) and object_type not in ( '
SYNONYM' ) union all select ao.object_type,ao.owner,ao.ob
1,317 188 7.0 0.1 0.00 0.03 3371479671
select t.name, (select owner_instance from sys.aq$_queue_table_
affinities where table_objno = t.objno) from system.aq$_queue
_tables t where t.name = :1 and t.schema = :2 for update skip lo
cked
892 1 892.0 0.1 0.02 0.01 3021556466
Module: SQL Developer
SELECT OBJECT_NAME, OBJECT_ID, DECODE(STATUS, 'INVAL
ID', 'TRUE', 'FALSE') INVALID, 'TRUE' runnable,
SQL ordered by Gets for DB: CHRYSLER Instance: chrysler Snaps: 4 -6
-> End Buffer Gets Threshold: 10000
-> Note that resources reported for PL/SQL includes the resources used by
all SQL statements called within the PL/SQL code. As individual SQL
statements are also reported, it is possible and valid for the summed
total % to exceed 100
CPU Elapsd
Buffer Gets Executions Gets per Exec %Total Time (s) Time (s) Hash Value
NVL( b.HAS_BODY, 'FALSE') HAS_BODY FROM SYS.ALL_OBJECTS
a, (SELECT 'TRUE' HAS_BODY, object_name tmp_name FROM SYS.
ALL_OBJECTS WHERE OWNER = :SCHEMA AND OBJECT_TYPE = 'PACKAGE BOD
890 2 445.0 0.1 0.09 0.10 1201167771
Module: SQL Developer
SELECT T.TABLE_NAME, 'TABLE' OBJECT_TYPE , (SELECT O.OBJ
ECT_ID FROM ALL_OBJECTS O WHERE O.OWNER = T.OWNER
AND O.OBJECT_TYPE = 'TABLE' AND O.OBJECT_NAME = T.
TABLE_NAME) OBJECT_ID FROM ALL_TABLES T WHERE T.OWNER = :1 AN
D T.TABLE_NAME LIKE :2 AND T.IOT_NAME IS NULL AND T.NES
779 10 77.9 0.1 0.02 0.05 3067006941
delete from dependency$ where d_obj#=:1
748 146 5.1 0.1 0.05 0.05 3951809012
insert into dependency$(d_obj#,d_timestamp,order#,p_obj#,p_times
tamp,d_owner#, property)values (:1,:2,:3,:4,:5,:6, :7)
632 2 316.0 0.1 10.53 17.92 4043595143
Module: SQL*Plus
INSERT INTO STATS$SQL_SUMMARY ( SNAP_ID , DBID , INSTANCE_NUMBER
, TEXT_SUBSET , SHARABLE_MEM , SORTS , MODULE , LOADED_VERSIONS
SQL ordered by Reads for DB: CHRYSLER Instance: chrysler Snaps: 4 -6
-> End Disk Reads Threshold: 1000
CPU Elapsd
Physical Reads Executions Reads per Exec %Total Time (s) Time (s) Hash Value
17,317 2 8,658.5 80.1 10.53 17.92 4043595143
Module: SQL*Plus
INSERT INTO STATS$SQL_SUMMARY ( SNAP_ID , DBID , INSTANCE_NUMBER
, TEXT_SUBSET , SHARABLE_MEM , SORTS , MODULE , LOADED_VERSIONS
, FETCHES , EXECUTIONS , LOADS , INVALIDATIONS , PARSE_CALLS ,
DISK_READS , BUFFER_GETS , ROWS_PROCESSED , COMMAND_TYPE , ADDRE
SS , HASH_VALUE , VERSION_COUNT , CPU_TIME , ELAPSED_TIME , OUTL
8,659 1 8,659.0 40.1 10.42 14.21 1240367379
Module: SQL*Plus
BEGIN statspack.snap ; END;
8,658 1 8,658.0 40.0 10.47 14.11 2522684317
Module: sqlplus.exe
BEGIN statspack.snap; END;
3,880 1 3,880.0 17.9 0.17 1.87 1279266739
Module: SQL Developer
select count(*) from IMP_TEMPSS_PARTSLANG
299 2 149.5 1.4 1.09 1.38 3446574552
Module: SQL Developer
select column_name from all_updatable_columns where TABLE_NAME
= :OBJECT_NAME and owner = :OBJECT_OWNER and updatable = 'YES'
12 5 2.4 0.1 0.05 0.13 3444463493
Module: SQL Developer
SELECT TEXT FROM SYS.ALL_SOURCE WHERE TYPE = :TYPE AND OWNER =
:OWNER AND NAME = :NAME ORDER BY LINE
12 4 3.0 0.1 0.03 0.13 3833423502
Module: SQL Developer
SELECT TEXT FROM SYS.ALL_SOURCE WHERE TYPE = :1 AND OWNER = :2 A
ND NAME = :3 ORDER BY LINE
9 1 9.0 0.0 0.00 0.07 3687727603
insert into col$(obj#,name,intcol#,segcol#,type#,length,precisio
n#,scale,null$,offset,fixedstorage,segcollength,deflength,defaul
t$,col#,property,charsetid,charsetform,spare1,spare2,spare3)valu
es(:1,:2,:3,:4,:5,:6,decode(:7,0,null,:7),decode(:5,2,decode(:8,
-127/*MAXSB1MINAL*/,null,:8),178,:8,179,:8,180,:8,181,:8,182,:8,
8 2 4.0 0.0 0.28 0.30 3259503395
Module: SQL Developer
select * from (SELECT OBJECT_NAME, OBJECT_ID ,'' short_name,
decode(( SELECT count (1) FROM SYS.ALL_TAB_PARTITIONS WHERE TAB
LE_OWNER =owner AND TABLE_NAME = object_name ),0,'FALSE','TRUE'
) partition, OWNER OBJECT_OWNER
FROM SYS.ALL_OBJECTS O WHERE O.OWNE
7 5 1.4 0.0 0.02 0.06 3508476732
insert into idl_ub1$(obj#,part,version,piece#,length,piece) valu
es(:1,:2,:3,:4,:5,:6)
SQL ordered by Reads for DB: CHRYSLER Instance: chrysler Snaps: 4 -6
-> End Disk Reads Threshold: 1000
CPU Elapsd
Physical Reads Executions Reads per Exec %Total Time (s) Time (s) Hash Value
5 8 0.6 0.0 0.00 0.03 1008661772
update idl_ub1$ set piece#=:1 ,length=:2 , piece=:3 where obj#=:
4 and part=:5 and piece#=:6 and version=:7
5 1 5.0 0.0 0.11 0.21 4208944292
Module: SQL Developer
with pri_cols as ( SELECT cols.column_name column_name, cols.pos
ition column_position FROM all_constraints cons, al
l_cons_columns cols WHERE cons.constraint_type = 'P'
AND cons.constraint_name = cols.constraint_name
AND cons.owner = cols.owner and cols.table_name
2 3 0.7 0.0 0.00 0.01 761440199
insert into idl_ub2$(obj#,part,version,piece#,length,piece) valu
es(:1,:2,:3,:4,:5,:6)
1 3 0.3 0.0 0.00 0.01 1249304535
update idl_ub2$ set piece#=:1 ,length=:2 , piece=:3 where obj#=:
4 and part=:5 and piece#=:6 and version=:7
1 2 0.5 0.0 0.27 0.29 1607513402
Module: SQL Developer
SELECT OWNER,TABLE_NAME FROM all_external_tables
1 10 0.1 0.0 0.03 0.02 1825174980
delete from access$ where d_obj#=:1
1 10 0.1 0.0 0.02 0.05 3067006941
delete from dependency$ where d_obj#=:1
1 10 0.1 0.0 3.34 3.33 3247664323
insert into source$(obj#,line,source) values (:1,:2,:3)
1 146 0.0 0.0 0.05 0.05 3951809012
insert into dependency$(d_obj#,d_timestamp,order#,p_obj#,p_times
tamp,d_owner#, property)values (:1,:2,:3,:4,:5,:6, :7)
0 2 0.0 0.0 0.00 0.00 10821553
Module: SQL Developer
ALTER SESSION SET TIME_ZONE = '05:30'
0 3 0.0 0.0 0.00 0.01 66972507
Module: SQL Developer
SELECT TO_DATE(TIMESTAMP, 'YYYY-MM-DD:HH24:MI:SS') FROM SYS.ALL_
OBJECTS WHERE OWNER = :1 AND OBJECT_NAME = :2 AND OBJECT_TYPE =
:3
0 2 0.0 0.0 0.02 0.00 80089551
Module: SQL Developer
SELECT LAST_DDL_TIME FROM SYS.ALL_OBJECTS WHERE OWNER = :1 AND O
BJECT_NAME = :2 AND OBJECT_TYPE = :3
0 1 0.0 0.0 0.00 0.00 120978412
select col#,intcol#,ntab# from ntab$ where obj#=:1 order by intc
SQL ordered by Reads for DB: CHRYSLER Instance: chrysler Snaps: 4 -6
-> End Disk Reads Threshold: 1000
CPU Elapsd
Physical Reads Executions Reads per Exec %Total Time (s) Time (s) Hash Value
ol# asc
0 5 0.0 0.0 0.00 0.00 130926350
select count(*) from sys.job$ where next_date < :1 and (field1 =
:2 or (field1 = 0 and 'Y' = :3))
0 5 0.0 0.0 0.00 0.00 155765854
select count(*),min(piece#),max(piece#) from idl_ub1$ where obj#
=:1 and part=:2 and version=:3
0 1 0.0 0.0 0.00 0.00 162044583
select col#,intcol#,charsetid,charsetform from col$ where obj#=:
1 order by intcol# asc
0 2 0.0 0.0 0.00 0.00 179957765
select count(*),min(piece#),max(piece#) from idl_char$ where obj
#=:1 and part=:2 and version=:3
0 3 0.0 0.0 0.00 0.00 204386021
select col#, grantee#, privilege#,max(mod(nvl(option$,0),2)) fro
m objauth$ where obj#=:1 and col# is not null group by privilege
#, col#, grantee# order by col#, grantee#
0 10 0.0 0.0 0.00 0.00 292617943
delete from vtable$ where obj#=:1
0 1 0.0 0.0 0.73 0.73 401938015
Module: Oracle SQL Developer
SELECT s.owner, s.synonym_name, 'SYNONYM' as object_type FROM sy
SQL ordered by Executions for DB: CHRYSLER Instance: chrysler Snaps: 4 -6
-> End Executions Threshold: 100
CPU per Elap per
Executions Rows Processed Rows per Exec Exec (s) Exec (s) Hash Value
280 0 0.0 0.00 0.00 1316169839
select job, nvl2(last_date, 1, 0) from sys.job$ where (((:1 <= n
ext_date) and (next_date < :2)) or ((last_date is null) and
(next_date < :3))) and (field1 = :4 or (field1 = 0 and 'Y' = :5)
) and (this_date is null) order by next_date, job
280 280 1.0 0.00 0.00 1693927332
select count(*) from sys.job$ where (next_date > sysdate) and (n
ext_date < (sysdate+5/86400))
188 188 1.0 0.00 0.00 3371479671
select t.name, (select owner_instance from sys.aq$_queue_table_
affinities where table_objno = t.objno) from system.aq$_queue
_tables t where t.name = :1 and t.schema = :2 for update skip lo
cked
146 146 1.0 0.00 0.00 3951809012
insert into dependency$(d_obj#,d_timestamp,order#,p_obj#,p_times
tamp,d_owner#, property)values (:1,:2,:3,:4,:5,:6, :7)
76 76 1.0 0.00 0.00 2997854589
insert into access$(d_obj#,order#,columns,types) values (:1,:2,:
3,:4)
47 0 0.0 0.00 0.00 633914867
select q_name, state, delay, expiration, rowid, msgid, dequeu
e_msgid, chain_no, local_order_no, enq_time, enq_tid, step_no,
priority, exception_qschema, exception_queue, retry_count, corr
id, time_manager_info from SYS.AQ_EVENT_TABLE where time
managerinfo <= :1 and state != :2 for update skip locked
47 188 4.0 0.00 0.00 815501214
select t.schema, t.name, t.flags, q.name from system.aq$_queue_t
ables t, sys.aq$_queue_table_affinities aft, system.aq$_que
ues q where aft.table_objno = t.objno and aft.owner_instance = :
1 and q.table_objno = t.objno and q.usage = 0 and b
itand(t.flags, 4+16+32+64+128+256) = 0 for update of t.name, aft
47 0 0.0 0.00 0.00 870116171
select q_name, state, delay, expiration, rowid, msgid, dequeu
e_msgid, chain_no, local_order_no, enq_time, enq_tid, step_no,
priority, exception_qschema, exception_queue, retry_count, corr
id, time_manager_info from SYSTEM.DEF$_AQERROR where tim
e_manager_info <= :1 and state != :2 for update skip locked
47 0 0.0 0.00 0.00 1153132087
select q_name, state, delay, expiration, rowid, msgid, dequeu
e_msgid, chain_no, local_order_no, enq_time, enq_tid, step_no,
priority, exception_qschema, exception_queue, retry_count, corr
id, time_manager_info from SYSTEM.DEF$_AQCALL where time
managerinfo <= :1 and state != :2 for update skip locked
47 0 0.0 0.00 0.00 3920324236
select q_name, state, delay, expiration, rowid, msgid, dequeue
SQL ordered by Executions for DB: CHRYSLER Instance: chrysler Snaps: 4 -6
-> End Executions Threshold: 100
CPU per Elap per
Executions Rows Processed Rows per Exec Exec (s) Exec (s) Hash Value
msgid, chainno, local_order_no, enq_time, enq_tid, step_no,
priority, exception_qschema, exception_queue, retry_count, corri
d, time_manager_info, sender_name, sender_address, sender_prot
ocol from SYS.AQ_SRVNTFN_TABLE where time_manager_info <= :1
30 30 1.0 0.00 0.00 2201541053
insert into error$(obj#,sequence#,line,position#,textlength,text
) values (:1,:2,:3,:4,:5,:6)
26 115 4.4 0.00 0.00 1749333492
select position#,sequence#,level#,argument,type#,charsetid,chars
etform,properties,nvl(length, 0), nvl(precision#, 0),nvl(scale,
0),nvl(radix, 0), type_owner,type_name,type_subname,type_linknam
e,pls_type from argument$ where obj#=:1 and procedure#=:2 order
by sequence# desc
21 0 0.0 0.00 0.00 1683508596
delete from idl_sb4$ where obj#=:1 and part=:2
21 0 0.0 0.00 0.00 1894783783
delete from idl_char$ where obj#=:1 and part=:2
21 0 0.0 0.00 0.00 2479503691
delete from idl_ub1$ where obj#=:1 and part=:2
21 0 0.0 0.00 0.00 3926364396
delete from idl_ub2$ where obj#=:1 and part=:2
20 20 1.0 0.00 0.00 3401267293
insert into settings$(obj#, param, value) values (:1, :2, :3)
14 62 4.4 0.00 0.00 1356713530
select privilege#,level from sysauth$ connect by grantee#=prior
privilege# and privilege#>0 start with (grantee#=:1 or grantee#=
1) and privilege#>0
14 14 1.0 0.04 0.04 1554250272
Module: SQL Developer
select count(1) from all_objects where owner <> 'PUBLIC' and ob
ject_name in (:S0)
13 13 1.0 0.00 0.00 3468666020
select text from view$ where rowid=:1
12 12 1.0 0.00 0.00 825987371
Module: SQL Developer
declare l_line varchar2(255); l_done number; l_buffe
r long; begin loop exit when length(l_buffer)+255 > :maxby
tes OR l_done = 1; dbms_output.get_line( l_line, l_done );
l_buffer := l_buffer || l_line || chr(10); end loop; :done
:= l_done; :buffer := l_buffer; end;
12 0 0.0 0.00 0.00 2222871512
Module: SQL Developer
SQL ordered by Executions for DB: CHRYSLER Instance: chrysler Snaps: 4 -6
-> End Executions Threshold: 100
CPU per Elap per
Executions Rows Processed Rows per Exec Exec (s) Exec (s) Hash Value
SELECT LINE,POSITION,TEXT FROM USER_ERRORS WHERE TYPE=:1AND NAME
=:2
SQL ordered by Parse Calls for DB: CHRYSLER Instance: chrysler Snaps: 4 -6
-> End Parse Calls Threshold: 1000
% Total
Parse Calls Executions Parses Hash Value
47 47 4.48 633914867
select q_name, state, delay, expiration, rowid, msgid, dequeu
e_msgid, chain_no, local_order_no, enq_time, enq_tid, step_no,
priority, exception_qschema, exception_queue, retry_count, corr
id, time_manager_info from SYS.AQ_EVENT_TABLE where time
managerinfo <= :1 and state != :2 for update skip locked
47 47 4.48 815501214
select t.schema, t.name, t.flags, q.name from system.aq$_queue_t
ables t, sys.aq$_queue_table_affinities aft, system.aq$_que
ues q where aft.table_objno = t.objno and aft.owner_instance = :
1 and q.table_objno = t.objno and q.usage = 0 and b
itand(t.flags, 4+16+32+64+128+256) = 0 for update of t.name, aft
47 47 4.48 870116171
select q_name, state, delay, expiration, rowid, msgid, dequeu
e_msgid, chain_no, local_order_no, enq_time, enq_tid, step_no,
priority, exception_qschema, exception_queue, retry_count, corr
id, time_manager_info from SYSTEM.DEF$_AQERROR where tim
e_manager_info <= :1 and state != :2 for update skip locked
47 47 4.48 1153132087
select q_name, state, delay, expiration, rowid, msgid, dequeu
e_msgid, chain_no, local_order_no, enq_time, enq_tid, step_no,
priority, exception_qschema, exception_queue, retry_count, corr
id, time_manager_info from SYSTEM.DEF$_AQCALL where time
managerinfo <= :1 and state != :2 for update skip locked
47 188 4.48 3371479671
select t.name, (select owner_instance from sys.aq$_queue_table_
affinities where table_objno = t.objno) from system.aq$_queue
_tables t where t.name = :1 and t.schema = :2 for update skip lo
cked
47 47 4.48 3920324236
select q_name, state, delay, expiration, rowid, msgid, dequeue
msgid, chainno, local_order_no, enq_time, enq_tid, step_no,
priority, exception_qschema, exception_queue, retry_count, corri
d, time_manager_info, sender_name, sender_address, sender_prot
ocol from SYS.AQ_SRVNTFN_TABLE where time_manager_info <= :1
21 21 2.00 1683508596
delete from idl_sb4$ where obj#=:1 and part=:2
21 21 2.00 1894783783
delete from idl_char$ where obj#=:1 and part=:2
21 21 2.00 2479503691
delete from idl_ub1$ where obj#=:1 and part=:2
21 21 2.00 3926364396
delete from idl_ub2$ where obj#=:1 and part=:2
14 14 1.34 1356713530
SQL ordered by Parse Calls for DB: CHRYSLER Instance: chrysler Snaps: 4 -6
-> End Parse Calls Threshold: 1000
% Total
Parse Calls Executions Parses Hash Value
select privilege#,level from sysauth$ connect by grantee#=prior
privilege# and privilege#>0 start with (grantee#=:1 or grantee#=
1) and privilege#>0
14 14 1.34 1554250272
Module: SQL Developer
select count(1) from all_objects where owner <> 'PUBLIC' and ob
ject_name in (:S0)
13 13 1.24 3468666020
select text from view$ where rowid=:1
12 12 1.15 825987371
Module: SQL Developer
declare l_line varchar2(255); l_done number; l_buffe
r long; begin loop exit when length(l_buffer)+255 > :maxby
tes OR l_done = 1; dbms_output.get_line( l_line, l_done );
l_buffer := l_buffer || l_line || chr(10); end loop; :done
:= l_done; :buffer := l_buffer; end;
12 12 1.15 2222871512
Module: SQL Developer
SELECT LINE,POSITION,TEXT FROM USER_ERRORS WHERE TYPE=:1AND NAME
=:2
11 11 1.05 701589132
Module: SQL Developer
BEGIN /* NOP UNLESS A TABLE OBJECT */ IF dictionary_
obj_type = 'TABLE' AND sys.dbms_cdc_publish.active > 0 THE
N sys.dbms_cdc_publish.change_table_trigger(dictionary_o
bj_owner,dictionary_obj_name,sysevent); END IF; END;
11 11 1.05 4144490151
delete from error$ where obj#=:1
11 11 1.05 4151580176
update obj$ set obj#=:6,type#=:7,ctime=:8,mtime=:9,stime=:10,sta
tus=:11,dataobj#=:13,flags=:14,oid$=:15,spare1=:16, spare2=:17 w
here owner#=:1 and name=:2 and namespace=:3 and(remoteowner=:4 o
r remoteowner is null and :4 is null)and(linkname=:5 or linkname
is null and :5 is null)and(subname=:12 or subname is null and :
10 10 0.95 292617943
delete from vtable$ where obj#=:1
10 10 0.95 412513799
select o.owner#, u.name, o.name, o.namespace,
o.obj#, d.d_timestamp, nvl(d.property,0), o.type#, o.s
ubname from dependency$ d, obj$ o, user$ u where d.p_obj#=:1
and (d.p_timestamp=:2 or d.property=2) and d.d_obj#=o.obj#
and o.owner#=u.user# and decode(:3,0,0,o.type#)=:3
10 10 0.95 1077743770
SQL ordered by Parse Calls for DB: CHRYSLER Instance: chrysler Snaps: 4 -6
-> End Parse Calls Threshold: 1000
% Total
Parse Calls Executions Parses Hash Value
delete from argument$ where obj#=:1
SQL ordered by Sharable Memory for DB: CHRYSLER Instance: chrysler Snaps: 4 -6
-> End Sharable Memory Threshold: 1048576
Sharable Mem (b) Executions % Total Hash Value
3,898,908 2 0.4 3259503395
Module: SQL Developer
select * from (SELECT OBJECT_NAME, OBJECT_ID ,'' short_name,
decode(( SELECT count (1) FROM SYS.ALL_TAB_PARTITIONS WHERE TAB
LE_OWNER =owner AND TABLE_NAME = object_name ),0,'FALSE','TRUE'
) partition, OWNER OBJECT_OWNER
FROM SYS.ALL_OBJECTS O WHERE O.OWNE
2,519,473 1 0.3 680078008
Module: SQL Developer
SELECT O.OBJECT_NAME, O.OBJECT_TYPE, O.OBJECT_ID FROM ALL_OBJE
CTS O WHERE O.OWNER = :1 AND O.OBJECT_NAME LIKE :2 AND O.
OBJECT_TYPE IN (:3) AND O.SUBOBJECT_NAME IS NULL AND O.SEC
ONDARY = 'N' AND ( O.OBJECT_TYPE <> 'INDEX' OR (
EXISTS (SELECT 1 FROM ALL_INDEXES I
1,882,420 1 0.2 4208944292
Module: SQL Developer
with pri_cols as ( SELECT cols.column_name column_name, cols.pos
ition column_position FROM all_constraints cons, al
l_cons_columns cols WHERE cons.constraint_type = 'P'
AND cons.constraint_name = cols.constraint_name
AND cons.owner = cols.owner and cols.table_name
1,687,994 4 0.2 1547382267
Module: SQL Developer
select object_type,owner,object_name,rank from ( select objec
t_type,owner,object_name,0 rank from all_objects where obj
ect_name = :NAME and UPPER(owner) = nvl(:OWNER,UPPER(sys_cont
ext('USERENV', 'CURRENT_SCHEMA'))) and object_type not in ( '
SYNONYM' ) union all select ao.object_type,ao.owner,ao.ob
1,406,016 2 0.1 2033073833
Module: SQL Developer
select parameter,value from nls_session_parameters union all SE
LECT 'DB_TIMEZONE' name, DBTIMEZONE value FROM DUAL union all S
ELECT parameter, value FROM nls_database_parameters WHERE parame
ter='NLS_CHARACTERSET'
SQL ordered by Version Count for DB: CHRYSLER Instance: chrysler Snaps: 4 -6
-> End Version Count Threshold: 20
Version
Count Executions Hash Value
53 2 2033073833
Module: SQL Developer
select parameter,value from nls_session_parameters union all SE
LECT 'DB_TIMEZONE' name, DBTIMEZONE value FROM DUAL union all S
ELECT parameter, value FROM nls_database_parameters WHERE parame
ter='NLS_CHARACTERSET'
Instance Activity Stats for DB: CHRYSLER Instance: chrysler Snaps: 4 -6
Statistic Total per Second per Trans
CPU used by this session 3,185 2.2 1,061.7
CPU used when call started 3,185 2.2 1,061.7
CR blocks created 48 0.0 16.0
Cached Commit SCN referenced 0 0.0 0.0
Commit SCN cached 0 0.0 0.0
DBWR buffers scanned 0 0.0 0.0
DBWR checkpoint buffers written 22 0.0 7.3
DBWR checkpoints 0 0.0 0.0
DBWR free buffers found 0 0.0 0.0
DBWR lru scans 0 0.0 0.0
DBWR make free requests 0 0.0 0.0
DBWR revisited being-written buff 0 0.0 0.0
DBWR summed scan depth 0 0.0 0.0
DBWR transaction table writes 6 0.0 2.0
DBWR undo block writes 12 0.0 4.0
SQL*Net roundtrips to/from client 1,570 1.1 523.3
SQL*Net roundtrips to/from dblink 18 0.0 6.0
active txn count during cleanout 188 0.1 62.7
background checkpoints completed 0 0.0 0.0
background checkpoints started 0 0.0 0.0
background timeouts 1,682 1.2 560.7
branch node splits 0 0.0 0.0
buffer is not pinned count 436,985 303.9 145,661.7
buffer is pinned count 948,328 659.5 316,109.3
bytes received via SQL*Net from c 803,800 559.0 267,933.3
bytes received via SQL*Net from d 6,405 4.5 2,135.0
bytes sent via SQL*Net to client 831,677 578.4 277,225.7
bytes sent via SQL*Net to dblink 3,735 2.6 1,245.0
calls to get snapshot scn: kcmgss 7,027 4.9 2,342.3
calls to kcmgas 763 0.5 254.3
calls to kcmgcs 208 0.1 69.3
change write time 375 0.3 125.0
cleanout - number of ktugct calls 3,728 2.6 1,242.7
cleanouts and rollbacks - consist 0 0.0 0.0
cleanouts only - consistent read 3,527 2.5 1,175.7
cluster key scan block gets 27,451 19.1 9,150.3
cluster key scans 12,274 8.5 4,091.3
commit cleanout failures: block l 0 0.0 0.0
commit cleanout failures: buffer 0 0.0 0.0
commit cleanout failures: callbac 2 0.0 0.7
commit cleanout failures: cannot 0 0.0 0.0
commit cleanouts 1,219 0.9 406.3
commit cleanouts successfully com 1,217 0.9 405.7
commit txn count during cleanout 3,574 2.5 1,191.3
consistent changes 95 0.1 31.7
consistent gets 926,553 644.3 308,851.0
consistent gets - examination 304,799 212.0 101,599.7
current blocks converted for CR 0 0.0 0.0
cursor authentications 13 0.0 4.3
data blocks consistent reads - un 95 0.1 31.7
db block changes 98,756 68.7 32,918.7
db block gets 80,228 55.8 26,742.7
deferred (CURRENT) block cleanout 613 0.4 204.3
dirty buffers inspected 3,379 2.4 1,126.3
enqueue conversions 90 0.1 30.0
enqueue releases 2,288 1.6 762.7
Instance Activity Stats for DB: CHRYSLER Instance: chrysler Snaps: 4 -6
Statistic Total per Second per Trans
enqueue requests 2,290 1.6 763.3
enqueue timeouts 0 0.0 0.0
enqueue waits 0 0.0 0.0
execute count 2,105 1.5 701.7
free buffer inspected 3,379 2.4 1,126.3
free buffer requested 4,937 3.4 1,645.7
hot buffers moved to head of LRU 243 0.2 81.0
immediate (CR) block cleanout app 3,527 2.5 1,175.7
immediate (CURRENT) block cleanou 240 0.2 80.0
index fast full scans (full) 0 0.0 0.0
index fetch by key 248,987 173.2 82,995.7
index scans kdiixs1 457,728 318.3 152,576.0
leaf node 90-10 splits 1 0.0 0.3
leaf node splits 36 0.0 12.0
logons cumulative 14 0.0 4.7
messages received 553 0.4 184.3
messages sent 553 0.4 184.3
no buffer to keep pinned count 0 0.0 0.0
no work - consistent read gets 483,400 336.2 161,133.3
opened cursors cumulative 806 0.6 268.7
parse count (failures) 14 0.0 4.7
parse count (hard) 41 0.0 13.7
parse count (total) 1,048 0.7 349.3
parse time cpu 21 0.0 7.0
parse time elapsed 37 0.0 12.3
physical reads 21,620 15.0 7,206.7
physical reads direct 17,317 12.0 5,772.3
physical writes 20,718 14.4 6,906.0
physical writes direct 17,317 12.0 5,772.3
physical writes non checkpoint 20,698 14.4 6,899.3
pinned buffers inspected 0 0.0 0.0
prefetched blocks 3,662 2.6 1,220.7
prefetched blocks aged out before 0 0.0 0.0
process last non-idle time 16,807,669,922 11,688,226.7 ############
recovery blocks read 0 0.0 0.0
recursive calls 19,103 13.3 6,367.7
recursive cpu usage 2,568 1.8 856.0
redo blocks written 29,780 20.7 9,926.7
redo buffer allocation retries 19 0.0 6.3
redo entries 51,190 35.6 17,063.3
redo log space requests 0 0.0 0.0
redo log space wait time 0 0.0 0.0
redo ordering marks 17 0.0 5.7
redo sizeI know, I must apply the latest patch to make it 9.2.0.8.0. coming back to your question, I am actually new in this company, don't know much about their nature of database. their database appears to run prety slow. specially, when they perfrom bulk DML activity. I've already suggested them to disable the indexes
and drop the constraints, but that didn't seem to work eighter. I though, you guys would able to offer something , which would make sence in order to kill the ongoing problem. Anyways, thanks for the inputs
hare krishna
Alok -
Change Data Capture on a db in NoArchivelog mode
I am trying to test an implementation of CDC on a database in noarchivelog mode, but I'm not having much success. All the documentation I've read does not make it sound like it is required, but there are no guides on doing it. I am attempting to use the Asynchronous HotLog method on a 10.2 instance. The (first) error I am running into occurs after trying to create a change set via DMBS_CDC_PUBLISH.CREATE_CHANGE_SET:
ERROR at line 1:
ORA-00258: manual archiving in NOARCHIVELOG mode must identify log
ORA-06512: at "SYS.DBMS_CAPTURE_ADM_INTERNAL", line 121
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_CDC_PUBLISH", line 560
ORA-06512: at line 2I'm afraid this is not possible!!!!
-
Need helps with getting ODI CDC to work
Hi, I'm new to ODI. I'm trying to get the ODI CDC to work and for now I'm only interested in seeing that the changes are captured correctly.
I've set the d/b to archivelog mode and granted all the rights I can think of to the d/b user. I've defined the CDC in Consistent Mode for the model, defined the CDC for my tables, started the journal, etc.
When I right-click on the table and do Change Data Capture/Journal Data... I get ORA-00904 Table or View not found (stack trace below)
What is missing? Thanks for your assistance.
See com.borland.dx.dataset.DataSetException error code: BASE+62
com.borland.dx.dataset.DataSetException: Execution of query failed.
at com.borland.dx.dataset.DataSetException.a(Unknown Source)
at com.borland.dx.dataset.DataSetException.queryFailed(Unknown Source)
at com.borland.dx.sql.dataset.QueryProvider.a(Unknown Source)
at com.borland.dx.sql.dataset.JdbcProvider.provideData(Unknown Source)
at com.borland.dx.dataset.StorageDataSet.refresh(Unknown Source)
at com.borland.dx.sql.dataset.QueryDataSet.refresh(Unknown Source)
at com.sunopsis.graphical.frame.a.jb.dj(jb.java)
at com.sunopsis.graphical.frame.a.jb.<init>(jb.java)
at com.sunopsis.graphical.frame.a.jd.<init>(jd.java)
at com.sunopsis.graphical.frame.a.je.<init>(je.java)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.sunopsis.graphical.frame.bb.b(bb.java)
at com.sunopsis.graphical.tools.utils.swingworker.v.call(v.java)
at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
at com.sunopsis.graphical.tools.utils.swingworker.l.run(l.java)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Unknown Source)
Chained exception:
java.sql.SQLException: ORA-00942: table or view does not exist
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
at oracle.jdbc.driver.T4CPreparedStatement.execute_for_describe(T4CPreparedStatement.java:503)
at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:965)
at oracle.jdbc.driver.T4CPreparedStatement.execute_maybe_describe(T4CPreparedStatement.java:535)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1051)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2984)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3026)
at com.borland.dx.sql.dataset.o.f(Unknown Source)
at com.borland.dx.sql.dataset.QueryProvider.e(Unknown Source)
at com.borland.dx.sql.dataset.JdbcProvider.provideData(Unknown Source)
at com.borland.dx.dataset.StorageDataSet.refresh(Unknown Source)
at com.borland.dx.sql.dataset.QueryDataSet.refresh(Unknown Source)
at com.sunopsis.graphical.frame.a.jb.dj(jb.java)
at com.sunopsis.graphical.frame.a.jb.<init>(jb.java)
at com.sunopsis.graphical.frame.a.jd.<init>(jd.java)
at com.sunopsis.graphical.frame.a.je.<init>(je.java)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.sunopsis.graphical.frame.bb.b(bb.java)
at com.sunopsis.graphical.tools.utils.swingworker.v.call(v.java)
at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
at com.sunopsis.graphical.tools.utils.swingworker.l.run(l.java)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Unknown Source)
java.sql.SQLException: ORA-00942: table or view does not exist
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
at oracle.jdbc.driver.T4CPreparedStatement.execute_for_describe(T4CPreparedStatement.java:503)
at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:965)
at oracle.jdbc.driver.T4CPreparedStatement.execute_maybe_describe(T4CPreparedStatement.java:535)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1051)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2984)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3026)
at com.borland.dx.sql.dataset.o.f(Unknown Source)
at com.borland.dx.sql.dataset.QueryProvider.e(Unknown Source)
at com.borland.dx.sql.dataset.JdbcProvider.provideData(Unknown Source)
at com.borland.dx.dataset.StorageDataSet.refresh(Unknown Source)
at com.borland.dx.sql.dataset.QueryDataSet.refresh(Unknown Source)
at com.sunopsis.graphical.frame.a.jb.dj(jb.java)
at com.sunopsis.graphical.frame.a.jb.<init>(jb.java)
at com.sunopsis.graphical.frame.a.jd.<init>(jd.java)
at com.sunopsis.graphical.frame.a.je.<init>(je.java)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.sunopsis.graphical.frame.bb.b(bb.java)
at com.sunopsis.graphical.tools.utils.swingworker.v.call(v.java)
at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
at com.sunopsis.graphical.tools.utils.swingworker.l.run(l.java)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Unknown Source)Update...
I traced it to the Start Journal step issue. The Operator shows that step 8 - Journalizing - xxxx - Create Change Set, produces Oracle error ORA-00600. What does this means? The SQL that it tries to execute is:
==============================================
BEGIN
DBMS_CDC_PUBLISH.CREATE_CHANGE_SET(
change_set_name => 'TID_SOURCE',
description => 'Sunopsis change set for model : TID_SOURCE',
change_source_name => 'HOTLOG_SOURCE',
begin_date => sysdate
END;
==============================================
The strack trace is as follows:
600 : 60000 : java.sql.SQLException: ORA-00600: internal error code, arguments: [kcbgcur_9], [8388665], [23], [25165824], [8388608], [], [], []
ORA-06512: at "SYS.DBMS_CAPTURE_ADM_INTERNAL", line 121
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_CDC_PUBLISH", line 560
ORA-06512: at line 1
java.sql.SQLException: ORA-00600: internal error code, arguments: [kcbgcur_9], [8388665], [23], [25165824], [8388608], [], [], []
ORA-06512: at "SYS.DBMS_CAPTURE_ADM_INTERNAL", line 121
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_CDC_PUBLISH", line 560
ORA-06512: at line 1
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:633)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1086)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2984)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3057)
at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.i(e.java)
at com.sunopsis.dwg.cmd.g.y(g.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Unknown Source) -
Upgrade of Database with Oracle Change Data Capture
Hello,
We are upgrading and moving our database to a different server.
The move is from 10G R1 database on Solaris to 11G R2 on Linux.
Our database uses Oracle Change Data Capture.
What is the best way to perform this migration? Unlike in the approach below, ideally, it would be without any manual steps to drop and recreate CDC subscriptions, change tables, etc.
Thanks.
Considerations for Exporting and Importing Change Data Capture Objects
http://docs.oracle.com/cd/B13789_01/server.101/b10736/cdc.htm#i1027532
Starting in Oracle Databse 10g, Oracle Data Pump is the supported export and import utility for Change Data Capture. Change Data Capture change sources, change sets, change tables, and subscriptions are exported and imported by the Oracle Data Pump expdp and impdp commands with the following restrictions:
After a Data Pump full database import operation completes for a database containing AutoLog Change Data Capture objects, the following steps must be performed to restore these objects:
1. The publisher must manually drop the change tables with the SQL DROP TABLE command. This is needed because the tables are imported without the accompanying Change Data Capture metadata.
2. The publisher must re-create the AutoLog change sources, change sets, and change tables using the appropriate DBMS_CDC_PUBLISH procedures.
3. Subscribers must re-create their subscriptions to the AutoLog change sets.Hello,
I opened SR with Oracle Support, they are suggesting to perform full database import/export
Change Data Capture change sources, change sets, change tables, and subscriptions are exported and imported by the Oracle Data Pump expdp and impdp commands with the following restrictions.
Change Data Capture objects are exported and imported only as part of full database export and import operations (those in which the expdp and impdb commands specify the FULL=y parameter). Schema-level import and export operations include some underlying objects (for example, the table underlying a change table), but not the Change Data Capture metadata needed for change data capture to occur."
CDC has different implementation methods:
You may use the below query to determine-
select SOURCE_NAME, SOURCE_DESCRIPTION, CREATED, SOURCE_TYPE, SOURCE_DATABASE, SOURCE_ENABLED from change_sources;
– Synchronous CDC: with this implementation method you capture changes
synchronously on the source database into change tables. This method uses
internal database triggers to enable CDC. Capturing the change is part of the
original transaction that introduces the change thus impacting the performance
of the transaction.
– Asynchronous Autolog CDC: this implementation method requires a staging
database separate from the source database. Asynchronous Autolog CDC uses
the database's redo transport services to transport redo log information from
the source database to the staging database1. Changes are captured at the
staging database. The impact to the source system is minimal, but there is some
latency between the original transaction and the change being captured.
As suggested in the document-
Change Data Capture objects are exported and imported only as part of full database export and import operations (those in which the expdp and impdb commands specify the FULL=y parameter). Schema-level import and export
operations include some underlying objects (for example, the table underlying a change table), but not the Change Data Capture metadata needed for change data capture to occur.
■ AutoLog change sources, change sets, and change tables are not supported.
Starting in Oracle Database 10g, Oracle Data Pump is the supported export and import utility for Change Data Capture.
Re-Creating AutoLog Change Data Capture Objects After an Import Operation
http://docs.oracle.com/cd/B19306_01/server.102/b14223/cdc.htm#i1027532
After a Data Pump full database import operation completes for a database containing AutoLog Change Data Capture objects, the following steps must be performed to restore these objects:
a. The publisher must manually drop the database objects underlying AutoLog Change Data Capture objects.
b. The publisher must re-create the AutoLog change sources, change sets, and change tables using the appropriate DBMS_CDC_PUBLISH procedures.
c. Subscribers must re-create their subscriptions to the AutoLog change sets. -
Capturing data of the previous time interval with Oracle Stream(HotLog)
I read from 10g Oracle manual that Oracle Steam can capture data within specified time interval with begin_data and end_data options.
For example :
BEGIN
DBMS_CDC_PUBLISH.CREATE_CHANGE_SET(
change_set_name => 'set_cns',
description => 'set_cns...',
change_source_name => 'HOTLOG_SOURCE',
stop_on_ddl => 'y',
begin_date => sysdate,
end_date => sysdate + 1);
END;
However if I set begin_date to previous time from now, Oracle doesn't caputre data anymore in this case.(HotLog method)
(I set begin_date => sysdate - 1/24
end_date => sysdate + 1/24.)
Does anybody know to capture the previous time interval with Oracle Stream?Change C2 to:
cursor c2(passing_date IN date) IS
SELECT MONITOR_ID, SAMPLE_ID,
COLL_TIME, DEW_POINT
FROM ARCHIVE_DATA
WHERE COLL_TIME < passing_date
ORDER BY COLL_TIME desc;And rather than populating a table with the three records, you could just select the three records using: where COLL_TIME between Prev3_time and Prev1_time -
How to create change set in 9i r2 ?
I created new change source and new change set , not use 'SYNC_SOURCE' and 'SYNC_SET'.
after I created change table and activated change set, I update source table's data.
but I can't find any recored in change table.
please help, thanks.
//create change source
begin
dbms_cdc_publish.create_change_source(
change_source =>'hr_change_source',
source_description=>'Change source for hr test_source',
logfile_suffix => '',
logfile_location => ''
end;
//create change set
begin
dbms_cdc_publish.create_change_set(
set_name => 'hr_change_set',
change_source_name => 'hr_change_source',
begin_date => sysdate,
end_date => sysdate+5,
tablespace_name => 'ts_cdcpub',
ignore_ddl_events => 'y',
rollback_seg_name =>' ');
end;
//create change table
begin
dbms_cdc_publish.create_change_table(
owner => 'cdcpub',
change_table_name => 'hr_ct',
change_set_name => 'hr_change_set',
source_schema => 'hr',
source_table => 'cdc_test',
column_type_list => 'id integer, name varchar2(10)',
capture_values => 'both',
rs_id => 'y',
row_id => 'n',
user_id => 'n',
timestamp => 'n',
object_id => 'n',
source_colmap => 'n',
target_colmap => 'y',
options_string => 'tablespace ts_cdcpub');
end;
//activate change set
begin
dbms_cdc_publish.alter_change_set(
set_name => 'hr_change_set',
advance_enable => 'y',
ignore_ddl_events => 'n',
rollback_seg_name => '');
end;
//source table
create table hr.cdc_test(
id integer,
name varchar2(10),
primary key(id)
);Dear Niranjan
the WWI design of a cover letter is very "company" specific. In most cases data like:
- which material number was "delivered" is shown e.g. with material text
- some contact adress data from the company shipping the MSDS is shown
etc.
Most of the information printed are retrieved using a parameter symbol. Some data might come from information in CVD1; some data is retrieved by using the data from CVD1; e.g. Customer adress information etc. (here data is retrieved from business partner information)
The parameter symbols you are showing are "standard"; therefore you can use option of Ralph to try to identify the "source" of the data as retrieved.
There are not many threads related to cover letter topic in this FORUM; I believe not more than 10 threads are related to this topic. I participated in discussion of one of these threads; i was not able to find the thread; sorry
Only as a hint: don't only concentrate on WWI design; identify as well how you need to "link" the cover letter to a specific "process"; this is done via customizing; e.g. refer to the SDS distribution OSS in which the whole SDS process is described; the process is described well how to "link" the cover letter to a shipment process
Topic is explained on "very" high level here:
Cover Sheet Template (DBV) - Basic Data and Tools (EHS-BD) - SAP Library
So I believe the best option is to us the proposal of Ralph and trying to understand the standard symbols etc.
C.B.
PS: after oce again trying to find additional threads I found only these:
Coverletter - Output of material data
Parameter Symbols not appearing in Coversheet and/or Acknowledgement Receipt
How to create Cover letter -
Insufficient privileges while creating change set.
Hi,
I'm trying to setup CDC in Async Distributed HotLog mode with source 9i (9.2.0.7) and stage 10.2 database. Change source was created successfully, but when i run DBMS_CDC_PUBLISH.CREATE_CHANGE_SOURCE it gives error
ORA-01031: insufficient_privileges
ORA-09512: at "SYS.DBMS_CDC_PUBLISH", line 560
It does create the propagation on source db for this change set and then gives this error. I'm following the chapter 16 of data warehousing guide to set it up. Have checked all privileges and I can't seem to figure this out. Has anyone faced something similar? what am i missing here?
Regards.
AliHi Ali,
I had the same thing with plain Streams (dbms_streams_adm.add_Table_rule).
The user with wich you set it up should have DBA role (that's somehow the requirement from Oracle, I would rather see some specific system-privileges in stead of having the whole DBA role to be granted). Another thing is that I wanted to create a package with functionality to setup my Streams environment. But in then the first time you would add table or schema rules, it creates the Capture or Apply process. And for that you need specific rights that are granted through the DBA role. But the Oracle rights-implementation prevents privileges granted via a Role to be used in a stored pl/sql-procedure. To be used in a stored-procedure you need the specific rights granted directly. That's another reason I'm not fond of the requirement of having to grant the DBA role.
So grant the DBA role to your user, if not done allready, or if you use a stored procedure to setup your cdc then do the first call directly from an sqlplus script and not within your stored pl/sql code. Subsequent calls can then be made from your stored-procedure. -
Archive log mode required for async. CDC?
Hello there,
I have tried to set up asyn. HotLog CDC on my 10g database but after creating a publisher I get the following error Message when creating a change set with the publisher:
BEGIN
DBMS_CDC_PUBLISH.CREATE_CHANGE_SET(
change_set_name => 'MY_CHANGESET',
description => 'First Change set',
change_source_name => 'HOTLOG_SOURCE',
stop_on_ddl => 'y',
begin_date => sysdate,
end_date => sysdate+20);
END;
following Error-Message:
BEGIN
ERROR at line 1:
ORA-00258: manual archiving in NOARCHIVELOG mode must identify log
ORA-06512: at "SYS.DBMS_CAPTURE_ADM_INTERNAL", line 115
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_CDC_PUBLISH", line 57
ORA-06512: at line 2
Does this mean that I have to activate the ARCHIVE LOG-mode, and if yes, how do I do this with the Enterprise Manager?
I already set the LOG_ARCHIVE_START initparam to "true".
KlausTo place a database in archivelog mode you must:
Be sure that the log_archive_start and log_archive_dest
parameters are set in the init file.
Shut the instance down.
startup mount;
alter database archivelog;
alter database open;
Maybe you are looking for
-
Hi all!! I've created an interactive form in a WebDynpro and I need this form to be save in KM. So I need to convert my form to some format, in java is Byte[], in ABAP I don't know what the format is. Then send it to a Web Service that is already cre
-
Windows & Mac Software Are how to using and updating......
Windows Xp , Windows7 , Mac Operating System in top software.. ITune and Other
-
"select an object" tool is grayed out in acrobat X Pro
"select an object" tool is grayed out in acrobat X Pro
-
Time Capsule Impacting email????
I am having this problem with my iMac, an old iBook, and a MacBook Pro...started a few weeks ago. I have three different email accounts in the house (2 comcast and .me). The iMac and the iBook use Entourage and the MacBook uses MAIL. We had no proble
-
Using photo joiner in iTunes apps
How do I open apps in iTunes to use?