Purge of table RA_CUSTOMER_TRX_LINES_ALL
Hi allI'm running through a purge of the AR.
The ARPURGEB.pls code is serving many tables RA but not all.
Tables such as
OWNER NOM_SEGMENT SEGMENT_TYPE GB
AR RA_CUSTOMER_TRX_LINES_ALL TABLE 256
AR RA_CUST_TRX_LINE_GL_DIST_ALL TABLE 120
are not in the routine.
Can anyone suggest a way to purge these tables?
Kind regards
Alexey.
According to the next note, affect the purge of the AR the RA_CUSTOMER_TRX_LINES and the RA_CUSTOMER_TRX.
Reduce your Oracle E-Business Suite of data using Information Lifecycle Management [752322.1 ID], purge and archiving
It also suggests looking at Oracle® User Guide Release 11i receivables: chapter: 10 part No.: A80838-06.
Hope this helps
Sandeep Gandhi
Techno-Functional consultant
Tags: Oracle Applications
Similar Questions
-
How to purge the table ECX_OUTQUEUE of the ECX_OUTBOUND AGENT
How to purge the table ECX_OUTQUEUE of the ECX_OUTBOUND AGENT
904632 wrote:
How to purge the table ECX_OUTQUEUE of the ECX_OUTBOUND AGENT
Please see (how to recreate the ECX Related queues? (Doc ID 1354312.1)).
Thank you
Hussein
-
Purge the table FND_LOBS (attachmentolders of 2 years) to the cleaning table space
Hello
I have a requirement to serve the table FND_LOBS (spare part which is over 2 years old) in the cleaning table space.
Please advise me which is the best way to serve FND_LOBS.
I already went through the Notes below, but no luck...
--
871721.1 - how to purge FND_LOBS?
555463.1 - how generic Purge or purchase spare part of the Table FND_LOBS
298698.1 - avoiding an abnormal growth of the FND_LOBS table in 11i Applications
303709.1 - recovering unused space in the tablespace APPLSYSD
555463.1 - how generic Purge or purchase spare part of the Table FND_LOBS
--
Thank you
Genoo
Published by: Geno on April 1, 2013 05:32Geno says:
None notes solve my requirement, I don't see an option to purge only the data that is older than 2 years.Thank you
GenooPurge FND_LOBS table can simultaneous running of 'Purge obsolete generic Queue Manager Data' program - simultaneous treatment - how to add the simultaneous program "Purge obsolete generic Queue Manager Data" to the Sysadmin User. [216541.1 ID]
You can find more information about the settings for this program at the same time (questions on purge stale data of generic file manager [1165208.1 ID]).
Thank you
Hussein -
GLPURGE, Archives of GL and purging what tables remove?
I need to know how the process of 'GL Archive and Purge' works when the purge of the records in the GL tables. Also delete the data permanently deleted the GL tables, does perform any other action on the tables or the data?
I don't think so, apart from the logic to delete the data in tables, it could also be updated for the other columns that will miss us, if we use explicitly remove commands. In addition Oracle does not directly support update or delete data from base tables, you can check raising a SR.
-
Hi all
My tablespace perfstat is already 99% full. Can I purge old data table associated with it?
Thank you
pK
As mentioned by others, $ORACLE_HOME/rdbms/admin/sppurge.sql will allow you to delete data in the tables. Make sure you read the script to see what he does and what to call it - it has an option which is by default not to remove old SQL information.
Alert - Check the size of your story and serve only a small amount of data at once. the process uses foreign keys 'on delete cascade', can be very slow and can generate a large number of undo and redo.
This release, however, the space of the storage space. If you dump enough story SQL execution by statspack should re-user the empty space created in perfstat's tables; But if you think that's not good, enough you will begin to move tables and index rebuild to generate a free space in the tablespace. (If you delete a very large amount of history you can do that anyway to allow snapshots and reports to run more efficiently).
Concerning
Jonathan Lewis
-
How to purge the tables using odi?
Hello
I want to purge the data in the target. That data my political is to remember that the only 90 days. I have to keep the only 90 days of data. How can I do this in ODI. I don't have a single column DATE.
Thank you
Kind regards
AMSIIIf your existing date field can be used to identify records to be served, then you can simply create a procedure in ODI along the lines of
delete of < %="odiRef.getSchemaName" ()="" %=""> >. * your_table * where your_date_field< (sysdate="" -="">
It of the easiest way, but beware of your index finger on the table, that they don't get too fragmented. You might also consider using a strategy of daily score on the table that would allow you to remove partitions over 90 days, which would be much faster.
-
How to purge audit tables in the 11.2.01
Hello
Navigation within OWB two browser Center, control center and Deisgn repositories is much slower than the other tools of development on my PC.
Is it possible to purge the audit OWB data such as deploying at least mappings, check browser repositiory can be faster.
Thank you very muchHello
You can use the putge_audit_template.sql script provided with the OWB software.
You can find it in the path:\owb\rtp\sql Kind regards
Pnreddy -
Hello
I use the Oracle 10.2.0.3 version.
I activated the audit in the DB setting AUDIT_TRAIL to DB.
Because it fills the AUD $ table for all audit done and this table size will continue to increase.
I was looking if there is any default etc working (may pe specifically in 10G only, not in older version) to purge this table AUD$? Or we need to manually take care of this thing?
I checked in the docs of oracle, I couldn't find anything related to this.
Thanks in advance.
Best regards
oratestThis is actually covered in the documentation...
http://download.Oracle.com/docs/CD/E11882_01/network.112/e10574/auditing.htm#DBSEG90934
-
Oracle 10g
Hi gurus
I test_mst table that has a primary key test_mst.test_id, I detail table test_dtl which has test_dtl.test_id of foreign key, now I have that I want to use the delete statement in test_mst then it should also remove the constraint of her child or null in test_dtl.test_id, can again do in oracle 10g?
Thanks in advance
Hi Mit.
example of cascade
create table bill( bill_id number not null primary key ) ; create table bill_item( bill_item_id number not null primary key, bill_id number references bill(bill_id) on delete cascade ) ; insert into bill values (1) ; insert into bill_item values (1, 1) ; delete bill ; select * from bill_item ; drop table bill_item purge ; drop table bill purge ; Table BILL created. Table BILL_ITEM created. 1 row inserted. 1 row inserted. 1 row deleted. no rows selected Table BILL_ITEM dropped. Table BILL dropped.
exemplary null
create table employer( employer_id number not null primary key ) ; create table employee( employee_id number not null primary key, employer_id number references employer(employer_id) on delete set null ) ; insert into employer values (1) ; insert into employee values (1, 1) ; delete employer ; select * from employee ; drop table employee purge ; drop table employer purge ; Table EMPLOYER created. Table EMPLOYEE created. 1 row inserted. 1 row inserted. 1 row deleted. EMPLOYEE_ID EMPLOYER_ID --------------------------------------- --------------------------------------- 1 Table EMPLOYEE dropped. Table EMPLOYER dropped.
-
query to display data in table with several detail table
Hi all
I have a few cases with a table header that have more than 3 table of detail, and I have to generate the query to show all the data horizontally.
tblHdr have column A (PK)
tblDtl1 have column A (FK), B (PK)
tblDtl2 have column A (FK), C (PK)
tblDtl3 have column A (FK), D (PK)
and I need a query to display data like this:
A B1 C3 D1 A B2 C4 D2 A C5 D3 A C6 all the Details of the table should display data based on the relationship of tblHdr (A).
tblDtl1 have only 2 rows of data for the FK A
tblDtl2 just for FK 4 lines of data
tblDtl3 only 3 lines of data for the FK A
Another example:
A B1 C1 D1 A B2 C2 A B3
tblDtl1 only 3 lines of data for the FK A
tblDtl2 have only 2 rows of data for the FK A
tblDtl3 have only 1 rows of data for the FK A
Please shed some light. for the record, I'll use this query in ADF, so I'll put using PLSQL in second priority. I prefer to do it in the SQL query.
Thank you
Here are 3 ways. First test of data:
drop table ta purge; create table ta as SELECT 'A' AS A FROM dual union all select 'B' from dual; drop table tb purge; create table tb as SELECT 'A' AS A, 'B1' AS B FROM dual UNION ALL SELECT 'A', 'B2' FROM dual ; drop table tc purge; create table tc as SELECT 'A' AS A, 'C1' AS C FROM dual UNION ALL SELECT 'A', 'C2' FROM dual UNION ALL SELECT 'A', 'C3' FROM dual UNION ALL SELECT 'A', 'C4' FROM dual ; drop table td purge; create table td as SELECT 'A' AS A, 'D1' AS D FROM dual UNION ALL SELECT 'A', 'D2' FROM dual UNION ALL SELECT 'A', 'D3' FROM dual;
Now 3 solutions: full join, group by and pivot:
with b as ( select a, b, row_number() over(partition by a order by b) rn from tb ) , c as ( select a, c, row_number() over(partition by a order by c) rn from tc ) , d as ( select a, d, row_number() over(partition by a order by d) rn from td ) select a, b, c, d from ta left join b using(a) full join c using(a, rn) full join d using(a, rn) order by a, rn; select a, max(b) b, max(c) c, max(d) d from ( select a, null b, null c, null d, 1 rn from ta union all select a, b, null, null, row_number() over(partition by a order by b) rn from tb union all select a, null, c, null, row_number() over(partition by a order by c) rn from tc union all select a, null, null, d, row_number() over(partition by a order by d) rn from td ) group by a, rn order by a, rn; select A,B,C,D from ( select 'A' tab, a, null val, 1 rn from ta union all select 'B' tab, a, b, row_number() over(partition by a order by b) rn from tb union all select 'C' tab, a, c, row_number() over(partition by a order by c) rn from tc union all select 'D' tab, a, d, row_number() over(partition by a order by d) rn from td ) pivot(max(val) for tab in('B' B, 'C' C, 'D' D)) order by a, rn;
A B C D A B1 C1 D1 A B2 C2 D2 A C3 D3 A C4 B Personally, I would prefer to view the data by using a 'join the union', in order to avoid the impression that the different detail records are related somehow.
select ta.a, b, c, d from tb full join tc on 1=0 full join td on 1=0 right join ta on ta.a in (tb.a, tc.a, td.a);
A B C D A B1 A B2 A C1 A C2 A C3 A C4 A D1 A D2 A D3 B -
Oracle PL SQL Question to get some data to oracle tables descrepancy
Version of database
Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64 bit Production
PL/SQL Release 9.2.0.8.0 - Production
CORE Production 9.2.0.8.0
AMT for HP - UX: 9.2.0.8.0 - Production Version
NLSRTL Version 9.2.0.8.0 - Production
created a few sample data
drop table tab1 purge;
create table tab1 (DEPT_ID COMP, qc_subtype_id char (4), EQUIP_CODE varchar2 (20), create_time date);
Insert into tab1 values(13,'1026','HEMORYA011',sysdate);
Insert into tab1 values(13,'1012','HEMORYA011',sysdate);
Insert into tab1 values(95,'1026','HEMORYA121',sysdate);
Insert into tab1 values(95,'1012','HEMORYA121',sysdate);
----------------------
Insert into tab1 values(13,'1026','HEMORYA014',sysdate);
Insert into tab1 values(13,'1012','HEMORYA005',sysdate);
Insert into tab1 values(13,'1012','HEMORYA013',sysdate);
Insert into tab1 values(95,'1012','HEMORYA013',sysdate);
Insert into tab1 values(95,'1012','HEMORYA148',sysdate);
commit;
I need to get a query to get the records of the gap
Dept HEMORYA014 13 lack 1012
HEMORYA005 dept 12 lack 1026
Dept HEMORYA013 13 lack 1026
The dept 95 lack 1026 HEMORYA013
The dept 95 lack 1026 HEMORYA148
I want to show the latter on the report
Thanks in advance.Thanks for posting a unit test.
I hope it will work for you, but maybe you will need to set the WHERE clause (add additional predicates).SQL> select equip_code 2 from ( select equip_code 3 , count(distinct qc_subtype_id) 4 from tab1 5 group by equip_code 6 having count(distinct qc_subtype_id)<2 7 ) 8 order by equip_code; EQUIP_CODE -------------------- HEMORYA005 HEMORYA013 HEMORYA014 HEMORYA148
-
Purge of the SYS. AUD$
Hello
According to the literature, we can use the following procedure to purge this table
http://docs.Oracle.com/CD/E11882_01/AppDev.112/e25788/d_audit_mgmt.htm#ARPLS65423
However, I can't find any option to back up or store records in a way any before that happens the purge of the table.DBMS_AUDIT_MGMT.INIT_CLEANUP( audit_trail_type IN PLS_INTEGER, default_cleanup_interval IN PLS_INTEGER);
Is it possible to do?
Edit: Just to add, I understand that by purging you say the DB you no longer need them and want to get rid of them... However I wonder for storing more than the allowed value (999 hours) where my question.
Thank you
NACEUROsama mustafa wrote:
or you can export the SYS. AUD$
proof of post above is more than ramblings slowed down between your ears.
oracle@bcm-laptop:~$ expdp / dumpfile=aud1.dmp tables="AUD$" logfile=aud.log Export: Release 11.2.0.1.0 - Production on Fri Jul 6 09:15:28 2012 Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved. UDE-01017: operation generated ORACLE error 1017 ORA-01017: invalid username/password; logon denied Username: / as sysdba Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options Starting "SYS"."SYS_EXPORT_TABLE_01": /******** AS SYSDBA dumpfile=aud1.dmp tables=AUD$ logfile=aud.log Estimate in progress using BLOCKS method... Processing object type TABLE_EXPORT/TABLE/TABLE_DATA Total estimation using BLOCKS method: 0 KB ORA-39166: Object SYS.AUD$ was not found. ORA-31655: no data or metadata objects selected for job Job "SYS"."SYS_EXPORT_TABLE_01" completed with 2 error(s) at 09:15:59 oracle@bcm-laptop:~$
-
Hello
How can we purge/reset tables (data) such as v$ sql, v$ sqlarea and all others outside the instance is restarted?
Thank you!>
It is a good recommendation for a production environment? I mean... Is it necessary to play frequently?
>
Thanks for mentioning that. I should have told that should be used on a development/test instance. not on any instance shared and certainly not of production. -
I have a question, that was triggered from this thread:
{: identifier of the thread = 2331412}
Version
SetupBANNER -------------------------------------------------------------------------------- Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production PL/SQL Release 11.2.0.2.0 - Production CORE 11.2.0.2.0 Production TNS for Solaris: Version 11.2.0.2.0 - Production NLSRTL Version 11.2.0.2.0 - Production
ProblemDROP TABLE t1 PURGE; DROP TABLE t2 PURGE; CREATE TABLE t1 ( t1_pk NUMBER PRIMARY KEY , t1_dat NUMBER UNIQUE ); CREATE TABLE t2 ( t2_pk NUMBER , t2_dat_pk NUMBER , CONSTRAINT t2_pk PRIMARY KEY (t2_pk, t2_dat_pk) ); INSERT INTO t1(t1_pk, t1_dat) VALUES (1,5); INSERT INTO t1(t1_pk, t1_dat) VALUES (2,4); INSERT INTO t1(t1_pk, t1_dat) VALUES (3,3); INSERT INTO t1(t1_pk, t1_dat) VALUES (4,2); INSERT INTO t1(t1_pk, t1_dat) VALUES (5,1); INSERT INTO t2(t2_pk, t2_dat_pk) VALUES (1,5); INSERT INTO t2(t2_pk, t2_dat_pk) VALUES (2,3); INSERT INTO t2(t2_pk, t2_dat_pk) VALUES (3,1); COMMIT;
The Oracle documentation States the following on the preservation of the keys:
A table is preserved in key if all keys in the table can also be a key to the result of the join. Thus, a key preserved table has its keys preserved thanks to a join. For example, a table preserved key with its preserved thanks to a join keys.
If I try the next update:
It fails with the:UPDATE ( SELECT t1.t1_dat , t2.t2_dat_pk FROM t1 JOIN t2 ON t2.t2_dat_pk = t1.t1_dat WHERE t2.t2_pk = 1 ) SET t1_dat = NULL ;
The following questions come to mind:ORA-01779: cannot modify a column which maps to a non key-preserved table
1. with the following queries of this type of installation could it every being a situation where T2 lines are not identified? If yes - that someone can provide an example?
2. If it is not possible, how is it Oracle doesn't realize that T2 lines are particularly well identified (for example, a key to the join)?
I also tried the following variations:
UPDATE ( SELECT t1.t1_dat , t2.t2_dat_pk FROM t1 JOIN t2 ON t2.t2_dat_pk = t1.t1_dat AND t2.t2_pk = 1 ) SET t1_dat = NULL ;
Most probably I'm probably just not understand something minute here. If yes I appreciate be educated. :)UPDATE ( SELECT t1.t1_dat , t2.t2_dat_pk FROM t1 , t2 WHERE t2.t2_dat_pk = t1.t1_dat AND t2.t2_pk = 1 ) SET t1_dat = NULL ;
Good timing :)
http://jonathanlewis.WordPress.com/2012/01/06/i-wish-5/
Appears to be relatively the same question. I guess the short answer is that there are just a few things that the optimizer cannot do at the moment... maybe in the next version?
-
Trigger system Oracle fired twice on the drop table
Hi all
I'm using the Oracle 11 g on windows server 2003 R2 standard edition service pack 2. I am creating a trigger in a scheme called 'stock' by logging in as the owner of the schema. Here is my code for the same thing:
The goal is to activate whenever change or fall occurs on a database object (IE any object database). So I created a table called trigtest like this in the same schema as the trigger:create or replace TRIGGER AUDIT_SYS_TR_TEST AFTER ALTER OR DROP ON DATABASE BEGIN IF(ora_sysevent = 'DROP' AND UPPER(ora_login_user) not in ('SYS','SYSTEM')) THEN DBMS_OUTPUT.PUT_LINE(ora_sysevent); ELSIF(ora_sysevent = 'ALTER' AND UPPER(ora_login_user) not in ('SYS','SYSTEM')) THEN DBMS_OUTPUT.PUT_LINE(ora_sysevent); END IF; END;
Then I tried to drop the table:CREATE TABLE TRIGTEST(COL1 VARCHAR(20));
That's what I got as serveroutput after the drop statement:DROP TABLE TRIGTEST;
ALTER
DROP
Can someone please shed some light as to why the events the alter and drop are being triggered when only the drop statement is called?894302 wrote:
I activated recyclebin... same problem exists...Yep, that's precisely the 'problem '... Check the test script I posted.
If the recyclebin is enabled as part of the move action, Oracle renames the table to a system generated name.
Use the drop-DOWN list with PURGE option if you want to:
SQL> DROP TABLE TRIGTEST purge; DROP TABLE TRIGTEST purge DROP Table dropped.
Edited by: odie_63 nov 1. 2011 19:36
Maybe you are looking for
-
Satellite P10 504 and administrator issues
Hello friends Can you help me? I have a problem, allowing my second monitor, a prob, I have never had before. I go into the settings of properties as usual, but now I get a message that windows cannot change settings because I am not administer it, b
-
Hi all I need to know the position of the control on the Panel frontal wrt the screen and not the Panel. Currently, if I have a chart on a FP, and I use the 'Position' property, it returns the top and left position of the wrt Control Panel. I need th
-
Pavilion 15-f1024wifi: password BIOS reset - system 52529120 with disabilities
Please help me to reset the BIOS password. I get a dialog box asking "Enter password or power on password" on startup. After three tries, he's going to "system disabled 52529120. Please help.
-
HP photosmart c5580 who don't scan to computer
I have a HP photosmart c5580 who won't be no sweep on computer. but will scan to a USB card or media. Error message States to: try running the scan of the computer. Refer to the documentation for more details. Thanks for your help. Kind regards.
-
I can not deleat a file on me win Server 2008 R2.
I am logged in as the local administrator, took possession of the file and issued everone control total andstill when I try to deleate the file I get access denied Deleate H:\Cant > icacls prf2F.tmpprf2F.tmp Everyone: (I) (F)NT AUTHORITY\SYSTEM: (I)