Run DBMS_STATS. SET_TABLE_STATS in the package
Hello
I tried to put the table of statistics through DBMS_STATS. SET_TABLE_STATS for the table, I'm not owner.
When I use the command SQL * Plus, it works fine.
When I use the same command in the package, I got an error:
ERROR on line 1:
ORA-20000: TABLE 'XXX '. "' YYYYY ' does not exist or insufficient privileges
ORA-06512: at "SYS." DBMS_STATS", line 4455
ORA-06512: at "SYS." DBMS_STATS", line 10128
ORA-06512: at "TKPA. KOPA_ORP_RELACIJE', line 13
ORA-06512: at line 2
User a role DBA and ALTER, DELETE, INDEX, INSERT and SELECT, UPDATE, REFERENCES, ON COMMIT REFRESH, QUERY REWRITE, DEBUG, FLASHBACK on table.
Y at - it an idea?
Thank you and best regards.
Maybe
Read memos to use SET_TABLE_STATS in http://docs.oracle.com/cd/E11882_01/appdev.112/e40758/d_stats.htm#ARPLS059
To call this procedure, you must be the table owner, or you need the ANALYZE
ANY
privilege. For the objects belonged to SYS
, you must be the owner of the table, or you must ANALYZE
ANY
DICTIONARY
privilege or the SYSDBA
privilege.
Concerning
Etbin
http://docs.Oracle.com/CD/E11882_01/AppDev.112/e25519/subprograms.htm#LNPLS00809 can be useful also
Tags: Database
Similar Questions
-
Function within the package error
Hi friends,
I have a package called xxhw_ams_utils with a function inside get_salary
When I tried to run this function in the package as below average way, im getting error as
ORA-00904: "XXHW_AMS_UTILS." "" GET_SALARY ": invalid identifier
where there are 1072 is the assignment IM id to the objective test.select apps.xxhw_ams_utils.get_salary(1072) from dual
This is the actually the get_salary function located in the package xxhw_ams_utils of coding
Suppose that if I performed as the way to way below, I get the correct resultFUNCTION get_salary (p_asg_id IN NUMBER) RETURN VARCHAR2 IS l_gross VARCHAR2(20); l_basic VARCHAR2(20); BEGIN select eev.screen_entry_value into l_basic from pay_element_entry_values_f eev, per_pay_bases ppb, pay_element_entries_f pe where ppb.pay_basis_id +0 = 61 and pe.assignment_id = 1072 and eev.input_value_id = ppb.input_value_id and eev.element_entry_id = pe.element_entry_id and sysdate between eev.effective_start_date and eev.effective_end_date and sysdate between pe.effective_start_date and pe.effective_end_date; EXCEPTION WHEN OTHERS THEN RAISE; END;
Suppose if I run as the means below it is back as invalid character error.select eev.screen_entry_value --into l_basic from pay_element_entry_values_f eev, per_pay_bases ppb, pay_element_entries_f pe where ppb.pay_basis_id +0 = 61 and pe.assignment_id = 1072------------------------------------>assignment id (that im passing) and eev.input_value_id = ppb.input_value_id and eev.element_entry_id = pe.element_entry_id and sysdate between eev.effective_start_date and eev.effective_end_date and sysdate between pe.effective_start_date and pe.effective_end_date;
Why might the problem friends.select apps.xxhw_ams_utils.get_salary(1072) from dual
Brgds,
MiniYour function must RETURN a VARCHAR2
-
iTunes error update
I am trying to install an update to iTunes on my laptop and find the folowing part-way through the installation error:"There is a problem with this Windows Installer package. A program run as part of the set up did not complete as expected. Contact your provider to support personal or package. »
I got iTunes for 3-4 years now and have always been able to install updates successfully, so don't not sure what is the problem.
I tried msconfig and changed the boot process, so it includes all of the non-Windows elements, as suggested on the Microsoft Web site, but that has not worked.
Can anyone help?
Thank you
The instructions were to contact the vendor of the package. This isn't iTunes, Microsoft.
Ask the question in the Apple Forums:
https://discussions.Apple.com/index.jspa -
Original title: problem WIndows Installer to install the latest version of i tunes
When I try to install the latest I tunes version 10, I get a message "there is a problem with this windows package installer. a program run as part of the set up did not complete as expected "the downloads version, but will not be installed." How can I fix? I have an earlier version, but I need to update to use my i pad.
Hello
You can try the steps of troubleshooting provided in the link below and check if the problem persists.
Problem installing iTunes or QuickTime for Windows
http://support.Apple.com/kb/HT1926
To get help on the issue, you can get in touch with support for ITunes.
-
I tried to update my iPhone to the latest version, but when I tried to download the latest version of iTunes, it gives me an error in the middle of the download, which says:
"There is a problem with this windows package install." A program required for this install to complete could not be run. Contact your supplier of staff or the package of support ".Then I opened my old iTunes again and tried to update my iPhone once again and then he started to back up my iPhone and delete the existing version if it might update the last being but then I got an error saying he needs the iTunes 9.2 update my iPhone. So I'm stuck with my iPhone can not be used and I can't download the new iTunes also. Please, need help on this issue?
Thanks in advance.
Now iTunes10 is underway, I downloaded and everything seems to work very well.
Thank you.
-
When trying to install a new control software and data package my Hyperion charger I get this error message "there is a problem with this Windows Installer package. A program run as part of the Setup did not finish as expected. Contact your supplier of staff or the package of support ".
---------------------
Troubleshoot Windows install
2438651 how to solve problems that may occur when you install, uninstall, or upgrade a program on a Windows computer
http://support.Microsoft.com/kb/2438651
Substitute:
Unregister Windows Installer and then reregister Windows Installer. To do this, follow these steps:
1. in the menu 'Start', click on ' execute:.»
2. in the "Open" box, type "msiexec /unreg", and then press ENTER.
3. in the menu 'Start', click 'run '.
4. in the "Open" box, type "msiexec/regserver", and then press ENTER.
Click Start Orb, in the box, type search: Regedit.
Highlight: HKEY_lOCAL_MACHINE/SYSTEM/CurrentControlSet/services/msiserver
Verify that the SYSTEM account has full control. If it does not, add the SYSTEM account with full control.
Change the settings of the REGISTRY can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the REGISTRY settings configuration can be solved. Changes to these settings are at your own risk.
-
Guys,
Please let know us if it is possible to run dbms_stats.gather_table_stats in "start = > Execute until off-peak hours = > take a break during peak times = > restart from where he was arrested after the rush hour" mode.
I partitioned table with mammoth number of records requiring full table statistics collection once all 3 months. Stats gathering is so expensive that it takes almost 2 days to complete. Our goal is to ensure that no SQL that runs during peak hours (15:00 to 22:00 hours) is affected by the collection of statistics. That's why we would like the stats collection to run above mode.
Ideas, suggestions would be very appreciated and I will receive with the profound esteem.
-Bugs
Like others, I wonder why full stats are required.
You nightly stats together people with reduced mobility?
Check dba_tab_modifications for the changes made to the table, your stats every night, whether its stats are needed comes from there so if a partition has no 10% change, why you re - collect his stats for her? There are a few other things going on behind the scenes, but close enough. Even if you set additional stats there and kick that off, he'll simply choose the following who did not, risking several work trying to do the same thing
theres probably 10 different ways to act how you're good with plql but generate your work statistics with something like that, then open multiple windows of sqlplus and divide it into sections while you are in the collection of statistics on several pieces at the same time. Failure could write some autonomous plsql proc that analyzes a partition that went in there and call that any amount of time passing in the partition in a loop, but you get the idea of gathering statistics on more than one partition at the same time.
Change the value of table_owner and table_name
exec DBMS_STATS. FLUSH_DATABASE_MONITORING_INFO;
Select the command from
(select (nvl(a.updates,0) + nvl(a.inserts,0) + nvl(a.deletes,0)) * 100)
/ nvl(b.num_rows,1) as change.
"exec DBMS_STATS. GATHER_TABLE_STATS (' |) '''' || "TABLE_OWNER" | '''' || ',' || '''' || 'TABLE_NAME ' | '''' || ', granularity =>' | '''' || 'PARTITION | ''''|| ', PARTNAME =>' | '''' || a.PARTITION_NAME | '''' || ', ESTIMATE_PERCENT => DBMS_STATS. AUTO_SAMPLE_SIZE, METHOD_OPT => ' | '''' || 'FOR ALL COLUMNS SIZE AUTO ' | '''' || ')' as a command
of dba_tab_modifications a, b dba_tab_partitions
where a.table_name as "TABLE PARTITIONNEE YOUR BIG".
and a.table_name = b.table_name
and a.partition_name = b.partition_name
and nvl(a.updates,0) + nvl(a.inserts,0) + nvl(a.deletes,0) > 0
)
where to change > = 10
-
Run the package to a different schema
Hi all
I have a very strange (at least for me) problem with a package to run in the production environment.
The package has been installed in the application schema and in the same schema for all tables that are in the same table.
The customer reported a slowdown in the performance of it, but if I test it in my PR env and:
-If I run the application outside of the package, it run very fast
-If I install the package in my personal schema and run it, it run very fast
-If I run the package, installed on the application's schema, is very slow!
What is the difference between these three methods?
Thank you in advance,
Diego
91ca5e2c-8db6-4563-9e70-c98e10acf2ad wrote:
OK, to start my procedure I used Notepad anonym in plsqldeveloper:
Start
Appuser.pkgapp.prcursors (vcode =>: vcode, pcursor =>: pcursor);
end;
when I try to get the cursor, with plsqldeveloper, I have different response time for:
-package in my user-> very fast
-package to the user of the application-> very slow
OK - but that the above code does not recover. All this shows is a call to the procedure who, do you think, does that open the cursor.
Once a cursor is opened the procedure who opened it has NO control over it. Only the session making the recovery is involved as is an Oracle process on the backend. But the procedure/package is NOT involved.
If the location of the package does NOT affect actual recovery, but it can affect the execution plan used when the cursor is opened first.
New - when you say "run the code" you tell fetch data? Or are you talking about just open the cursor as the example above shows?
Display actual execution plan - get it from a trace file, if you need to.
other things to say is that the number of lines to get out are some ten years.
The question is always this THAT IS SLOW? It is the RECOVERY of these lines "a few ten at most? Or is it just open the cursor so that you can begin to pick up?
You need to SHOW US (just tell us):
1. WHAT you do
2. HOW you do
3. WHAT results you get
4. WHAT results you expect to get
-
dbms_job. Submit not run the package
Hi all
We have just updated the oracle 10g to 12 c
Select * from version $ v
--==============================================================
12 c Oracle database Release 12.1.0.1.0 - 64 bit Production 0
PL/SQL Release 12.1.0.1.0 - Production 0
CORE 12.1.0.1.0 Production 0
AMT for 64-bit Windows: Version 12.1.0.1.0 - Production 0
NLSRTL Version 12.1.0.1.0 - Production 0
--================================================================
declare
a directory;
l_procedure_to_run varchar2 (100): =.
' app_boxes_cust. RunInterface (100,14141, "cust_rel.txt", "c:\Files\cust_rel_exp", 972); " ;
date of p_date_to_run: = TO_DATE (' November 20, 2014 ', ' dd/mm/yyyy ');
Start
dbms_job. Submit (a, l_procedure_to_run, p_date_to_run);
commit;
end;
The dbms_job.submit generates job_id but it does not run the package.
--=========================================================================
Select broken, failures to dba_jobs where job = 63;
broken = ' don't
Chess = NULL.
Please your HELP
Thanks in advance,
Naama
Check next_date when he intended to run.
Check job_queue_processes parameter.
Check if the Scheduler is disabled.
-
in 2012, I bought a package of cs6 - now my computer is running slow and I want to delate everything on it. If I delete the package I bought from adobe, can I download it again?
Hello
You can install and activate the perpetual software (purchased) two computers of the same type (mac or pc), as long as you use it on one at a time. (lightroom is the exception because it is a product of multi platform, so it can be installed on the pc and mac platforms)
For deactivation refer:- https://helpx.adobe.com/x-productkb/policy-pricing/activate-deactivate-products.html
To download please visit:-applications download Creative Suite 6
Hope this helps!
-
The time actually ran up to remaining 27hours before I force quit it (he was installing for at least an hour already) I tried this on iMac running different versions of Mac OS x including Maverick and Yosemite, and they have this problem. It comes to CC for the company. The package includes Bridge, Photoshop, Illustrator, InDesign, After Effects, and Muse. Here's the Setup log:
24 Nov 15:24:09 Henrys-iMac installer [384]: @(#) PROGRAM: PROJECT: install-690
24 Nov 15:24:09 Henrys-iMac installer [384]: @(#) PROGRAM: install PROJECT: Installer-538
24 Nov 15:24:09 Henrys-iMac installer [384]: material: iMac12, 2 to 2.70 GHz (x 4), 8192 MB RAM
24 Nov 15:24:09 Henrys-iMac installer [384]: running Build OS: Mac OS X 10.7.5 (11 G 63)
24 Nov 15:24:09 Henrys-iMac installer [384]: Env: PATH = / usr/bin: / bin: / usr/sbin: / sbin
24 Nov 15:24:09 Henrys-iMac installer [384]: Env: TMPDIR = / var/folders/_d/c6_827z92njfbx5jpb7hzsyh0000gn/T /.
24 Nov 15:24:09 Henrys-iMac installer [384]: Env: SHELL = / bin/bash
24 Nov 15:24:09 Henrys-iMac installer [384]: Env: HOME = / users/henryfrick
24 Nov 15:24:09 Henrys-iMac installer [384]: Env: USER = henryfrick
24 Nov 15:24:09 Henrys-iMac installer [384]: Env: LOGNAME = henryfrick
24 Nov 15:24:09 Henrys-iMac installer [384]: Env: DISPLAY=/tmp/launch-AhtzCs/org.x:0
24 Nov 15:24:09 Henrys-iMac installer [384]: Env: SSH_AUTH_SOCK = / tmp/launch-qGnbkA/Auditors
24 Nov 15:24:09 Henrys-iMac installer [384]: Env: Apple_Ubiquity_Message = / tmp/launch-XxdyXy/Apple_Ubiquity_Message
24 Nov 15:24:09 Henrys-iMac installer [384]: Env: Apple_PubSub_Socket_Render = / tmp/launch-dEGRJ6/rendering
24 Nov 15:24:09 Henrys-iMac installer [384]: Env: COMMAND_MODE = unix2003
24 Nov 15:24:09 Henrys-iMac installer [384]: Env: __CF_USER_TEXT_ENCODING = 0x1F5:0:0
24 Nov 15:24:09 Henrys-iMac installer [384]: journal of Installation CCPLuciano
24 Nov 15:24:09 Henrys-iMac installer [384]: open from: /Users/henryfrick/Desktop/CCPLuciano/Build/CCPLuciano_Install.pkg
24 Nov 15:24:09 Henrys-iMac installer [384]: journal of Installation of Luciano
24 Nov 15:24:09 Henrys-iMac installer [384]: open from: /Volumes/GHOSTDRIVE2/Luciano/Build/Luciano_Install.pkg
24 Nov 15:24:09 Henrys-iMac installer [384]: fileURLForURL = x-disc://GHOSTDRIVE2/Luciano/Build/Luciano_Install.pkg
24 Nov 15:24:09 Henrys-iMac installer [384]: fileURLForURL = file://localhost/Volumes/GHOSTDRIVE2/Luciano/Build/Luciano_Install.pkg
24 Nov 15:24:14 Henrys-iMac installer [384]: plugin InstallerStatusNotifications loaded
24 Nov 15:24:21 Henrys-iMac runner [403]: the administrator authorization.
24 Nov 15:24:21 Henrys-iMac installer [384]: =.
24 Nov 15:24:21 Henrys-iMac installer [384]: selected user install Standard
24 Nov 15:24:21 Henrys-iMac installer [384]: choice selected for installation:
24 Nov 15:24:21 Henrys-iMac installer [384]: Update: "CCPLuciano".
24 Nov 15:24:21 Henrys-iMac installer [384]: CCPLuciano_Install.pkg: com.adobe.Enterprise.install.F71180A0-A393-42DF-9B13-156B44D066BA: 1.0.0.1.0
24 Nov 15:24:21 Henrys-iMac installer [384]: =.
24 Nov 15:24:21 Henrys-iMac installer [384]: it took 0.00 seconds to sum up the package selections.
24 Nov 15:24:21 Henrys-iMac installer [384]:-[IFPKGDerivedDocument sortedPackageLocations]: result =)
'file://localhost '.
)
[24 Nov 15:24:21 Henrys-iMac installer [384]:-[IFDInstallController(Private) _buildInstallPlan]: location = file://localhost
[24 Nov 15:24:21 Henrys-iMac installer [384]:-[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Users/henryfrick/Desktop/CCPLuciano/Build/CCPLuciano_Install.pkg
24 Nov 15:24:21 Henrys-iMac installer [384]: set the level of permissions to root for the session
24 Nov 15:24:21 Henrys-iMac installer [384]: use session PK
24 Nov 15:24:21 Henrys-iMac installer [384]: start the installation:
24 Nov 15:24:21 Henrys-iMac installer [384]: configuration of volume "Macintosh HD."
24 Nov 15:24:21 Henrys-iMac installer [384]: preparation of disc for the local installation of punt.
24 Nov 15:24:21 Henrys-iMac installer [384]: free space on "Macintosh HD": 729,28 GB (729277222912 bytes).
24 Nov 15:24:21 Henrys-iMac installer [384]: create the temporary directory "/ var/folders/_d/c6_827z92njfbx5jpb7hzsyh0000gn/T//Install.384aB0g1m".
24 Nov 15:24:21 Henrys-iMac [384] Installer: IFPKInstallElement (1 package)
24 Nov 15:24:21 Henrys-iMac installer [384]: using the root to IFPKInstallElement permission level
Nov 24 15:24:22 Henrys-iMac installed [406]: PackageKit:-----Begin installation -
Nov 24 15:24:22 Henrys-iMac installed [406]: PackageKit: application = < 1 packages, destination = PKInstallRequest / >
Nov 24 15:24:22 Henrys-iMac installed [406]: PackageKit: packages =)
"PKJaguarPackage < file://localhost/Users/henryfrick/Desktop/CCPLuciano/Build/CCPLuciano_Install.pkg >.
)
Nov 24 15:24:22 Henrys-iMac installed [406]: PackageKit: will be based on the obsolete reception for package identifier com.adobe.Enterprise.install.F71180A0-A393-42DF-9B13-156B44D066BA (path prefix =)
Nov 24 15:24:22 Henrys-iMac installed [406]: PackageKit: extraction file://localhost/Users/henryfrick/Desktop/CCPLuciano/Build/CCPLuciano_Install.pkg (destination = / var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/cleaning the start-up/PKInstallSandbox-tmp/Root, uid = 0)
Nov 24 15:24:22 Henrys-iMac installed [406]: PackageKit: executing script ".» "/ preupgrade" in /Users/henryfrick/Desktop/CCPLuciano/Build/CCPLuciano_Install.pkg/Contents/Resources
Nov 24 15:24:22 Henrys-iMac installed [406]:. / preupgrade: AAMEE Installer: preupgrade launched...
Nov 24 15:24:22 Henrys-iMac installed [406]:. / preupgrade: AAMEE Installer: working directory is /Users/henryfrick/Desktop/CCPLuciano/Build/CCPLuciano_Install.pkg/Contents/Resources
Nov 24 15:24:22 Henrys-iMac installed [406]:. / preupgrade: AAMEE Installer: launch of AdobeDeploymentManager...
Set the permissions for everyone in the folder where CCPackager was created to "Read/write" active. It's strange because there is only one administrator account on Mac (and that the account already has read-write), but it seems to fix the problem.
-
Try to download 13 items. But the package loads 32bitand when I try to install it says I need 64-bit... When you download the package I cannot find the options for flow rates.
Download and install the 64-bit PES 13.
Available downloadable Setup files:
- Suites and programs: CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
- Acrobat: DC | XI, X | 9,8 | 9 standard
- First Elements: 13 | 12 | 11, 10 | 9, 8, 7
- Photoshop Elements: 10, 11, 12, 13. 9,8,7
- Lightroom: 5.7.1. 5 | 4 | 3 | 2.7 (win),2.7 (mac)
- Captivate: 8 | 7 | 6 | 5
- Contribute: CS5 | CS4, CS3
Download and installation help links Adobe
Help download and installation to Prodesigntools links can be found on the most linked pages. They are essential; especially steps 1, 2 and 3. If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".
window using the Lightroom 3 link to see these "important Instructions".
-
Hi when I try the following in a process before header
Start
liste_pkg_lista.liste_lista_func(:P2_X);
end;
I get:
1 error has occurred
* ORA-06550: line 3, column 1: PLS-00221: 'LISTE_LISTA_FUNC' is not a procedure or is undefined ORA-06550: line 3, column 1: PL/SQL: statement ignored
Can you help me with this?Coco wrote:
Start
liste_pkg_lista.liste_lista_func(:P2_X);
end;Post all the code wrapped in ------...------wrapped in \
...\
Tags to preserve formatting and stop interpreting HTML/CSS/JavaScript forum software.
According to the specification of the package so that we can see the declaration of liste_pkg_lista.liste_lista_func.
I get:
1 error has occurred
* ORA-06550: line 3, column 1: PLS-00221: 'LISTE_LISTA_FUNC' is not a procedure or is undefined ORA-06550: line 3, column 1: PL/SQL: statement ignored
If liste_pkg_lista.liste_lista_func is actually - as the name suggests, a +function+ then it should be used in the right-hand side of an assignment, or as an expression, not compellingly as above.
declare v varchar2(4000); begin v := liste_pkg_lista.liste_lista_func(:P2_X); end;
or
begin htp.p(liste_pkg_lista.liste_lista_func(:P2_X)); end;
It also seems that you need to rethink your naming scheme: liste_pkg_lista.liste_lista_func is heavy on the s and s list lists, which looks like a little redundant.
-
ODI the Package execution fails with ODI-1228 and ORA-20000 not sufficient privileges to analyze
Hello
I am trying to execute the package to ODI to have this error:
Header 1 ODI-1228: GATHER_SCHEMA_STATS-DW_STAGE (procedure) task fails when connecting ORACLE target ORACLE_SERVER.
Caused by: java.sql.SQLException: ORA-20000: not sufficient privileges to analyze an object in the schema
ORA-06512: at "SYS." DBMS_STATS", line 24867
ORA-06512: at "SYS." DBMS_STATS", line 24945
ORA-06512: at "SYS." DBMS_STATS", line of 24899
ORA-06512: at line 2
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1115)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3954)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1539)
at oracle.odi.runtime.agent.execution.sql.SQLCommand.execute(SQLCommand.java:163)
at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:102)
at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:1)
at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:366)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:292)
to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:855)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:744)
(1) DW_STAGE and DW_REPORT have "ANY ANALYSER" and "UNLIMITED TABLESPACE" privilege and roles "S/n", 'CONNECT' and 'RESOURCE '.
(2) agents are all running
(3) tested ORACLE_SERVER and he succeeded
Need for emergency assistance.
Thanks in advance-
ADI
OK, I solved it.
As part of Oracle under Technologies--> Oracle in the Studio of the ODI, I gave in the uid and password for DW_STAGE and it fixed the problem!
Thank you all for your help and suggestions!
ADI-
-
Must run DBMS_STATS within a program
I use Delphi 2010, Oracle 10 g under Unix. I need to run GATHER_TABLE_STATS and modify the two indexes in a program. Before the program executes a SQLLDR module supplies a table, and if the stats and the clues are not redone the program will run for 6 to 8 hours. If they are redone it will run 10 to 15 minutes. I am wanting to create a stored procedure that can be called before any other processing in the program, but am not familiar enough with the stored procs and packages to be able to properly assemble instructions. That's what my procedure looks like this now:
PROCEDURE ALTER_ACCUM_INDEX
IS
BEGIN
EXEC DBMS_STATS. GATHER_TABLE_STATS ('CCOK', 'ZTEMP_ESI_ACCUM', METHOD_OPT = > 'for all indexed columns', CASCADE = > TRUE);
ALTER INDEX CCOK. INX1_ZTEMP_ESI_ACCUMM_1 COMPUTING STATISTICS;
ALTER INDEX CCOK. INX1_ZTEMP_ESI_ACCUM_2 COMPUTING STATISTICS;
END;
You try to compile, it gives me the following errors:
Error (5151,10): PLS-00103: encountered the symbol 'DBMS_STATS' when waiting for one of the following values: =. ( @ % ; The symbol ': = ' was replaced by "DBMS_STATS" continue.
Error (5152,5): PLS-00103: encountered the symbol "ALTER" during the expected as follows: begin case declare exit end exception for goto rise back loop mod null pragma select update while < ID > < one between double quote delimited identifiers of > < a variable binding > < < current delete fetch locking insert open nearby rollback savepoint SQLExecute fusion pipe set commit forall
Obviously, I'm doing something wrong. I don't know what. Any suggestions are appreciated. If you'll just tell me how ignorant I am, go ahead and skip this part, I already know.
Thank you!RUN IMMEDIATELY "ALTER INDEX CCOK. INX1_ZTEMP_ESI_ACCUMM_1 COMPUTING STATISTICS;
RUN IMMEDIATELY "ALTER INDEX CCOK. INX1_ZTEMP_ESI_ACCUM_2 COMPUTING STATISTICS;
Maybe you are looking for
-
All computers on the network can no longer print to my C6100. I have reset the connections and I can see the printer on the network. When I ping the server for the printer page, it shows that it works correctly. Is it possible that a recent windows u
-
Firefox 5 is not recognized by the Web sites
Since the upgrade to 5.0, many Web sites tell me my browser is not up-to-date (for example, if I try to sign up for Google + it says my browser must be updated... even with a few pages on FaceBook). This is prevents me to use some Web sites and quite
-
Cannot re - install the Intel HD Graphics driver
We have a G72-B66US and started having a BSOD of igdkmd64.sys yesterday morning when running the Sims 3. As part of troubleshooting, I wanted to reinstall the graphics driver since nothing else has changed since the previous day when it was working
-
BlackBerry Q10 why the videos are so short?
I tried to send videos on my q10 and the maximum length is 5 seconds. I want to know what is the maximum and if I can do it any longer. Thank you
-
Windows 7 book regular Windows 7 upgrade product key install CD
My work of key Windows 7 upgrade on Windows 7, just ordinary install CD? I want to add to my laptop but the laptop is not an upgrade. This is a new installation. My understanding is that you can use the MS on your PC and laptop products. Thanks in ad