compile the invalid objects
HelloI have a few invalid objects. During opening hours, should I run @/$ORACLE_HOME/rdbms/admin/utlrp.sql in the production database?
Oracle 10g / UNIX.
Gowin_dba wrote:
HelloI have a few invalid objects. During opening hours, should I run @/$ORACLE_HOME/rdbms/admin/utlrp.sql in the production database?
Oracle 10g / UNIX.
default behavior is that they get auto-magiquement compiled the next time they are referenced.
So why exactly you want to do it manually?
Tags: Database
Similar Questions
-
Compile the invalid objects in ADADMIN
Hi all
EBS R12.2
RHEL 6.6
How to compile database objects invalid (synonymously, stored procedures, views, etc.) using ADADMIN?
I tried the following, but it ends immediately and seems not to check all database objects?
Thank you very much
MK
Hello
You use the script "utlrp.sql" of RDBMS $ORACLE_HOME/rdbms/admin.
Thank you
A H E E R X
-
Get the invalid objects recompile errors
HY @ all,
at an Oracle 11 G R2 instance, 11.2.0.3.0, I'm trying to recompile invalid objects as explained here:
[http://www.oracle-base.com/articles/misc/recompiling-invalid-schema-objects.php]
I have a few invalic objects in "XDB" and "SYS" schema.
When I try to correct with 'utlprp.sql' at level 1 I get this output:
and when I select the invalid objects with:FAILED CHECK FOR PACKAGE BODY CTX_DOC Warning: XDB now invalid, invalid objects found: object_name object_type ------------------------------------------------------- DBMS_XMLDOM PACKAGE BODY DBMS_XMLPARSER PACKAGE BODY DBMS_XSLPROCESSOR PACKAGE BODY DBMS_XDBRESOURCE PACKAGE BODY DBMS_XDB PACKAGE BODY DBMS_XDBUTIL_INT PACKAGE BODY DBMS_CSX_INT PACKAGE BODY DBMS_XMLSCHEMA PACKAGE BODY PATH_VIEW VIEW XDB_PV_TRIG TRIGGER XIMETADATA_PKG PACKAGE BODY DBMS_XDBT PACKAGE BODY PL/SQL-Prozedur erfolgreich abgeschlossen.
The number of invalid objects is always the same that before running the script 'utlprp.sql '. I have tried manually by:SELECT owner, object_type, object_name, status FROM dba_objects WHERE status = 'INVALID' ORDER BY owner, object_type, object_name;
or with:ALTER PACKAGE my_package COMPILE; ALTER PACKAGE my_package COMPILE BODY; ALTER PROCEDURE my_procedure COMPILE; ALTER FUNCTION my_function COMPILE; ALTER TRIGGER my_trigger COMPILE; ALTER VIEW my_view COMPILE;
but whenever Oracle print me, that objects has been recompiled with compile errors.EXEC DBMS_DDL.alter_compile('PACKAGE', 'MY_SCHEMA', 'MY_PACKAGE'); EXEC DBMS_DDL.alter_compile('PACKAGE BODY', 'MY_SCHEMA', 'MY_PACKAGE'); EXEC DBMS_DDL.alter_compile('PROCEDURE', 'MY_SCHEMA', 'MY_PROCEDURE'); EXEC DBMS_DDL.alter_compile('FUNCTION', 'MY_SCHEMA', 'MY_FUNCTION'); EXEC DBMS_DDL.alter_compile('TRIGGER', 'MY_SCHEMA', 'MY_TRIGGER');
Does anyone know, how I fix this?
Thank you very much and best regards,
DavidSelect ComputerName, State of dba_registry;
Check status of the XDB component, if its not VALID. Fix it.
http://www.iselfschooling.com/Board/index.php?topic=810.0
-
Compilation of the invalid object
Hello
I would like to know if I have applied the patch with no option of compilation db. and then I pronounce my request to the user to use. and recompile invalid objects after catching up my system and how it will affect the functionality of the applications? as in some other post hussain replied that this will affect the functionality. Kindly help me to under stand.
Thank you
Vishal Joshibut I want to know how it will affect application features?
As you know that patch usually invalid db components, we assume that your patch has invalidated certain products related package and which becomes referenced when some of the user trying to do some front end activity and requires the package, then oracle will throw error.
Thank you
JD -
unexpected output of code after the dynamic compilation of invalid objects
Hello
We are on Oracle Database 10 g Enterprise Edition Release 10.2.0.4.0.
Our patching process, we have developed a custom package that dynamically RECOMPILES all objects user not valid.
The code (very simplified version of this) that consists of two procedures, looks like this:
procedure compile_object)
type_objet_p in all_objects.object_type%type,
nom_objet_p in all_objects.object_name%type
) is
Start
run immediately 'Edit ' | type_objet_p | ' ' || nom_objet_p | ' compile ';
end;
and main procedure that makes a loop on each incorrect object in user_objects
procedure compile_invalid_user_objects
is
Start
c to (select *)
from user_objects
where status = 'INVALID')
loop
dbms_output.put_line ('before');
compile_object (c.object_type, c.object_name);
dbms_output.put_line ('after');
end loop;
end;
The problem that we have, is that the code exists after the first call of compile_object. The 'before' line is sent to dbms_output, but the line 'after' is never executed.
- There is no raised exception
- There is no exception-handling that might hide an error
- There is no dependency between the object that is compiled and the package where it procedures are in.
How the code may suddenly exit without error?
Thanks in advance!
ROP
What client do you use? Maybe it's that the client ignores silently ORA-24344: success with compilation error.
-
XLA_00555_AAD_C_011117_PKG Invalid Object is not compile
Hi guru,.
I have an invalid object XLA_00555_AAD_C_011117_PKG.
I've compiled several types, but it is not compiled.
I tried through adadmin utility,@utlrp.sql and collected through the command
change the package compilation XLA_00555_AAD_C_011117_PKG body;
but this isn't the compilation.
Please guide me to compile the invalid object above... .package body
Kind regards
SBJ *.Please see this link - http://www.orafaq.com/node/2608
Thank you
Hussein -
Invalid objects after the upgrade to GR 11, 2
EBS - 12.1.2
SLES SP10 - Linux x 86-64
DB - 11.2.0.3
zVM/OS
After our upgrade to 11.2.0.3, I see that the number of invalid objects is passed about 35 to about 92. I ran adadmin to compile the drawing APPS - and there are still some 79.
What strikes me as strange is that most of the invalid objects is in the scheme applications - and is prefixed with EDW_ or FII_
This isn't the business environment in the PRODUCTION (yet to be upgraded).
Is there something that I am missing in the upgrade process?
What is the importance of the link DB EDW_APPS_TO_WH? This could be the reason why the EDW_ objects are not compiled?After our upgrade to 11.2.0.3, I see that the number of invalid objects is passed about 35 to about 92. I ran adadmin to compile the drawing APPS - and there are still some 79.
What strikes me as strange is that most of the invalid objects is in the scheme applications - and is prefixed with EDW_ or FII_
This isn't the business environment in the PRODUCTION (yet to be upgraded).
Is there something that I am missing in the upgrade process?
What is the importance of the link DB EDW_APPS_TO_WH? This could be the reason why the EDW_ objects are not compiled?
You must ensure that these database links are valid for disabled to validate objects.
Invalid objects for Modules EDW and IFI [412032.1 ID]
EDW Associates invalid objects [554036.1 ID]
Interoperability note EBS R12 with Database 11 g 2 [ID 1058763.1]https://forums.Oracle.com/forums/search.jspa?threadID=&q=EDW+and+invalid&objid=C3&DateRange=all&userid=&NumResults=15&rankBy=10001
Thank you
Hussein -
Impossible to compile invalid objects
After the connection of 10g, I had a bunch of invalid objects that I have to manually compile. I was able to compile all invalid objects except three.
OWNER OBJECT_TYP OBJECT_NAME
---------- ---------- ------------------------------
SYNONYM PUBLIC all THESQLSET_STATEMENTS_ONLY
SYNONYM PUBLIC all THESQLSET_STATISTICS_ONLY
SYNONYM PUBLIC all THESQLSET_STATEMENTS_PHV
I tried the following:
COMPILATION of ALTER PUBLIC SYNONYM all THESQLSET_STATEMENTS_ONLY;
ERROR on line 1:
ORA-00911: invalid character
Please help.
Published by: user10427867 on May 5, 2009 05:32Hello
You can t objects names begin with '_' (Underscore). But in your case, it is.
+ EDIT SYNONYM PUBLIC ALLSQLSET_STATEMENTS_ONLY COMPILATION; +
Make it likeALTER PUBLIC SYNONYM "_ALL_SQLSET_STATEMENTS_ONLY" COMPILE;
Concerning
-
Invalid objects in the database
Hi Sawwane,
We have an old environment of a year of R12.0.5 and db 10.2.0.2 apps, we receive daily invalid objects in the database, we have not applied the patches and we did not recently, all changes
every day, we used to compile all invalids at night time, before we start our working hours in the morning, we can see some of the invalid objects,
normally, reason why we get disabled even if we just run some scheduled several simultaneous requests in the database but we did not have before these invalides now we receive invalids in the database.Hello
Please see the following document.
Note: 312076.1 - DBA_HIST % objects become DISABLED at random
https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=312076.1For other objects, I suspect it's something to do with the regular simultaneous queries. Then, check if new applications were created recently? And what is its role?
Kind regards
Hussein -
Invalid objects after the discharge of the export is refreshed. How to fix?
I made a pattern only export dump and then imported into a test environment. Now, there are about 40 invalid objects. I used utlrp.sql to make them disappear.
All are deleted except a procedure owned by a user of the app.
I want to recreate it, but fear there are some permissions, grants associated with this procedure.
How be sure all connected with this procedure, such as subsidies, permissions, links will be recreated?
Thank you in advance for help.846422 wrote:
I see. You are right. Thanks for solving this problem. Any good suggestion on how to fix the invalid objects? and what is the workaround for these grants on system/sys objects? How to avoid this problem?someone has explicitly issued GRANT on DB exported; previously.
The SQL statements must be under the control of application source code; like the rest of application.
After the import run only SQL file containing all the commands necessary to produce 100% valid objects
-
How to operate all invalid objects for a schema?
Dear team,
There is a lot of invalid objects in my diagram.
Is it possible to compile/Run the invalid objects to the schema?
Kind regards
AugustineYes, there is: DBMS_UTILITY.COMPILE_SCHEMA
HTH!
-
INVALID objects after the upgrade of 12.1.1 12.1.3
Hello
Recently I applied a 9239090, 13984450, 10627841 patches to upgrade 12.1.1 12.1.3, but now there are a number of invalid objects in the comic book.
I tried to compile them with utility "adadmin" and even ran "utlirp.sql" with "utlrp.sql". Tried to bounce all db, level apps, apache but they still "invalid." What kind of objects are they, and if they will affect applications? How to compile them?
Any help will be really appreciated. Thank you.
As a test, I tried to compile an object and get the following errors:
APPS package body. FFP55370_01011990@EBS12
Error (347,1): PL/SQL: statement ignored
Error (347,5): PLS-00306: wrong number or types of arguments in the call to "ARREARS".
Error (382,1): PL/SQL: statement ignored
Error (382,5): PLS-00306: wrong number or types of arguments in the call to "ARREARS".
List of invalid objects
----------------------
FFP55370_01011990
FFP50529_01011900
FFP50775_01011900
FFP52090_01011990
FFP50576_01011900
FFP54520_01011995
ImportExport
FFP58914_01010001
FFP60324_01010001
FFP56324_01011990
FFP50523_01011900
FFP54824_01012000
FFP59200_01011990
FFP55331_01011998
FFP55359_01011990
FFP58907_01010001
FFP55328_01011998
FFP55356_01011990
FFP58908_01010001
FFP59176_01012004
FFP57126_01011995
FFP60588_01011990
FFP61138_01010001
FFP61170_01010001
FFP61884_01010001
FFP61867_01010001
FFP62357_01012000
FFP62358_01012000
FFP62376_01012000
FFP51848_01011990
FFP50533_01011900
FFP50531_01011900
FFP54413_01011995
FFP54409_01011995
FFP52683_01071999
WWV_FLOW_LIST_OF_VALUES_DATA
WWV_FLOW_LISTS_OF_VALUES$
FFP58919_01010001
FFP58887_01042004
FFP51846_01011990
FFP59110_01011990
FFP57215_01011999
FFP56739_01011999
FFP56325_01011990
FFP59192_01011990
FFP1915_01010001
FFP56596_01012001
FFP1918_01010001
FFP57217_01012000
FFP59113_01011990
FFP55243_26121999
FFP56327_01011990
FFP54521_01011995
FFP60587_01011990
FFP60593_01011990
FFP60793_01012004
FSAH_DUPLICATE_PKG
FFP61920_01010001
FFP55366_01011990
FFP52681_01071999
FFP51840_01011990
FFP52621_01011996
FFP55065_01011990
FFP53477_01012001
FFP59131_01011990
FFP51850_01011990
FFP51838_01011990
FFP59273_01012004
FFP51849_01011990
FFP55077_01011990
FFP59251_01012004
FFP55240_26121999
FFP54414_01011995
FFP54393_01011995
FFP58912_01010001
FFP54823_01012000
FFP57196_01012000
FFP55362_01011990
FFP57216_01012000
FFP57125_01011995
FFP60833_01012000
FFP60943_01011990
FFP60964_01012000
FFP61532_01011990
XLA_00707_AAD_C_000026_PKG
FFP61919_01010001
FFP62359_01012000
FFP55060_01011990
FFP50510_01011900
FFP55355_01011990
FFP55058_01011990
FFP54406_01011995
FFP51867_01011990
FFP54474_01011995
FFP55361_01011990
FFP58885_01042004
FFP51844_01011990
FFP56716_01012001
FFP59175_01012004
FFP54525_01011995
FFP54909_01011990
FFP56329_01011990
FFP54407_01011995
FFP56052_01012000
FFP54524_01011995
FFP56056_01012000
FFP54404_01011995
FFP54523_01011995
FFP58913_01010001
FFP55306_01011995
FFP50525_01011900
FFP55333_01011998
FFP1916_01010001
FFP58911_01010001
FFP60555_01010001
FFP61156_01010001
FFP61152_01010001
FFP52982_01010001
FFP61511_01012000
FFP62356_01012000
FFP62378_01012000
FFP62379_01012000
FFP51404_01011997
FFP55358_01011990
FFP55067_01011990
FFP52115_01011990
FFP51887_01011990
FFP54398_01011995
FFP54411_01011995
WWV_FLOW_GENERIC
WWV_FLOW_FIELD_TEMPLATES
FFP53720_01011990
FFP54827_01012000
FFP50522_01011900
FFP55330_01011998
FFP54912_01011990
FFP59116_01011990
FFP59115_01011990
FFP54394_01011995
FFP56330_01011990
FFP56434_01012001
FFP58163_01011951
FFP59114_01011990
FFP56328_01011990
FFP58910_01010001
FFP60606_01011990
FFP61440_01011990
XLA_20065_AAD_C_000030_PKG
FFP55069_01011990
FFP53540_01012001
FFP55364_01011990
FFP55375_01011990
FFP50577_01011900
FFP52481_01010001
RE_PROFILER
FFP58915_01010001
FFP58920_01010001
FFP51888_01011990
FFP50928_01011997
FFP56333_01011990
FFP55063_01011990
FFP55367_01011990
FFP51068_01011997
FFP59111_01011990
FFP56332_01011990
FFP56323_01011990
FFP57190_01012000
FFP1919_01010001
FFP59191_01011990
FFP51966_01011998
FFP54403_01011995
FFP55368_01011990
FFP1917_01010001
FFP60592_01011990
FFP60607_01011990
FFP61277_01011951
FFP61871_01010001
FFP61926_01010001
FFP61897_01010001
FFP62377_01012000
FFP51837_01011990
FFP50512_01011900
FFP52744_01071999
FFP52724_01071999
FFP51411_01011999
FFP50527_01011900
FFP58888_01042004
FFP58870_01042004
FFP59117_01011990
FFP56331_01011990
FFP55080_01011990
FFP59112_01011990
FFP50583_01011900
FFP54518_01011995
FFP55079_01011990
FFP59195_01011990
FFP56053_01012000
FFP56322_01011990
FFP55373_01011990
FFP54449_01011995
FFP54522_01011995
FFP54948_01011990
FFP58918_01010001
FFP60591_01011990
RDT_1
FFP60944_01011990
FFP60963_01012000
FFP61124_01010001
FFP61912_01010001
MSD_DEM_OBI_DEMANTRA_MV
FFP55372_01011990
FFP50773_01011900
FFP53497_01012001
FFP51406_01011997
FFP50506_01011900
FFP50508_01011900
FFP51843_01011990
FFP55062_01011990
FFP55078_01011990
FFP55070_01011990
FFP57220_01012000
FFP56326_01011990
FFP51906_01011990
FFP53224_01011999
FFP56337_01011995
FFP58909_01010001
FFP58906_01010001
FFP58861_01042004
FFP51841_01011990
FFP50581_01011900
FFP56321_01011990
FFP50524_01011900
FFP60589_01011990
FFP61924_01010001
XLA_00707_AAD_C_000044_PKG
F
GPL see the solution in this Doc MOS
Invalid objects FFP [ID 1331911.1]
HTH
Srini -
Need to compile invalid objects
Hello
Someone help to compile invalid objects of the following...
XXGCHK_CREATE_BILL_ADDR,
WIP_SO_RESERVATIONS,
WIP_OPEN_DEMANDS_V,
RLM_EXTINTERFACE_SV,
RLM_CUM_SV
RLM_BLANKET_SV,
PV_ORDER_MGMT_PVT
Need to run SQL objects * more...
I'm using the 10.2.0.2.0 database
EBS 12.0.0
OS: RHEL.
Thank you
VerhasseltEXEC UTL_RECOMP.recomp_serial();
Concerning
Hitesh -
Invalid objects found in the repository
I want to install to redhat 5.2 11.1 grid control, with 11.2 repository database located on the same host. In step 7 of 13 to connect to the database, I have provided the host, port, the service and sys password and click Next, and I had a simple error message
There no other clues given. I checked the script admin_recompile_invalid.sql, it's pretty simple, however simply object and dba_synonyms for any object invalid user < EM_REPOS_USER >. If find, recompile. I don't know what the user is < EM_REPOS_USER > but both queries return nothing in my database for all users. The script should just pass and do nothing.Invalid objects found in Repository. Re-compile the objects using: $ORACLE_HOME/sysman/admin/emdrep/sql/core/latest/admin/admin_recompile_invalid.sql <EM_REPOS_USER>.
What could be wrong?
Where can I find more information?Have you tried recompiling invalid objects using utlrp.sql
Also check the objects using the invalid:
Select count (*) in the dba_objects where status<>"VALID."
Concerning
Rajesh -
Invalid objects after the upgrade to 10.2.0.4
Hi all
I upgraded my database of 9.2.0.5 to 10.2.0.4, iam running EBS 11.5.10 and OS is HP-UX 11.11
I get the following invalid objects, I tried to utlrp.sql, compilation, compilation manual but I could not, the list is
OBJECT_NAME OBJECT_TYPE
---------------------------------------- ------------
PACKAGE MSC_SATP_FUNC BODY
PACKAGE MSC_ATP_UTILS BODY
PACKAGE MSC_ATP_PVT BODY
PACKAGE MSC_ATP_PUB BODY
PACKAGE ASG_DOWNLOAD BODY
PACKAGE ASG_CONS_QPKG BODY
DEBUG_CARTX SYNONYM
PACKAGE SQLT BODY $ D
can someone tell me how to compile these?See metalink Note: 215187.1
You need to maybe just run sqlt/install/sqcreate.sql to reinstall, or you will have to perhaps download and unzip again.
(This is just poking around on metalink, maybe I have no idea what I'm talking about)
Maybe you are looking for
-
I can't believe the attacker could change my questions of security and rescue by email. Even I remember any questions of security at once after a long time. There must be a way to see my user information) (of dorsal somehow. I even received an email
-
Updated satellite L40 - cannot install the VAP 1.2.40
I have a Satellite L40 running Windows 7 32 bit. Just got an alert on Tempro (yet) asking me to install a new version of the * value added package * (PPV) Version 1.2.40 apparently published on 21/09/2010. Unzipped the download and again error _ * 0x
-
I need to output a reverse sawtooth of an analogue channel of my DAQ. I tried to build one to simulate arbitrary signals Express but which generates dynamic data. So, how can I make a dynamic data output and make it suitable to go to my DAQ card, or
-
a srunning XP on laptop. He had problems and has been restored to the factory setting of microsoft server2000. My XP upgrade will not install. says server not supported. What can I do?
-
BlackBerry smartphones double date on Storm
Hello, I synchronize my Storm with my Outlook calendar (via cable) and found that some of my appointments appear suddenly double on the timing of the storm, which is the same nomination at the same time, but one blue and one yellow. This is not the c