How to run analyze schema
Hi Guys .
Please how do you RUN analyze schema or database or table?
I have ran gather all schema statistics and now my told to run analyze schema by my boss .. How do you do this please?
Platform is 11.5.9
OS: solarais
Thanks in advance
Look at the SQL Area report for your database. If you see more than maybe 1 SYS query in the top ten, you need to gather stats for SYS as well (9i and above).
SQLAREAT.SQL - SQL Area, Plan and Statistics for Top DML (expensive SQL in terms of logical or physical reads)
http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=238684.1
Collecting Statistics with Oracle Apps 11i
http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=368252.1
Similar Messages
-
How often we need to run gather schema statistics etc.. ??
HI,
Am on 11.5.10.2
RDBMS 9.2.0.6
How often we need to run the following requests in Production...
1.Gather schema statistics
2.Gather Column statistics
3.Gather Table statistics
4.Gather All Column statisitics
ThanksHi;
We discussed here before about same issue. Please check below thread which could be helpful about your issue:
How often we need to run gather schema statistics
Re: Gather schema stats run
How we can collect custom schema information wiht gather statistics
gather schema stats for EBS 11.5.10
gather schema stats conc. program taking too long time
Re: gather schema stats conc. program taking too long time
How it runs
Gather Schema Statistics
http://oracle-apps-dba.blogspot.com/2007/07/gather-statistics-for-oracle.html
gather statistict collect which informations
Gather Schema Statistics...
Regard
Helios -
How to change the Schema (DB2, Oracle) in CommandTable at run time
Dear all,
I have a problem as below:
I have created report with CommandTable, then I am using Java and CRJ 12 to export data. So how to change the SCHEMA in CommandTable?
Please help me on this.
Ex: CommandTable is SELECT * from SCHEMA.TableA, SCHEMA.TableB
Thanks,
NhaDear Ted,
I want to change DataSource, it means the report will be load and change connection at run time (using CRJ SDK) and i want to change the SCHEMA.Tablename in CommandTable in report.
I also use the parameter to do it, but it can not be at run time, just correct when designing.
Could you please help me on this. You can post the code if any.
Thanks,
Nha -
How to run expdp from client ?
Hi All,
I tried searching google and forums for my issue but to no avail > How to run expdp from client side ....like in my laptop.
Because currently our PROD database server has no space for expdp dump file. So I want it directed to my laptop which has an extenal USB of 1TB harddisk...via client EXPDP
import data using impdp command
Posted on: 08-May-2012 11:36, by user: 841731 -- Relevance: 53% -- Show all results within this thread
below command is correct or not? if it is not correct could you please send me the correct command. impdp user/pass@databasename schemas=sourceschemaname remap_schema=sourceschemaname:destinationschemaname ...
System generated Index names different on target database after expdp/impdp
Posted on: 30-May-2012 11:58, by user: 895124 -- Relevance: 43% -- Show all results within this thread
After performing expdp/impdp to move data from one database (A) to another (B), the system name generated indexes has different ...
[ETL] TTS vs expdp/impdp vs ctas (dblink
Posted on: 08-May-2012 21:10, by user: 869578 -- Relevance: 39% -- Show all results within this thread
(table : 500 giga, index : 500 giga), how much faster is TTS (transportable tablespace) over expdp/impdp, and over ctas (dblink) ? As you know, the speed of etl depends on the hardware capacity. (io ...
Oracle Client
Posted on: 21-Jun-2012 22:47, by user: Sh**** -- Relevance: 32% -- Show all results within this thread
Hi Guys, Please can you guys elaborate the difference between Oracle Client and Oracle Instant Client. Also, please can you advise from where I can download the Oracle normal ...
Oracle 10g Client
Posted on: 05-Jun-2012 10:11, by user: dzm -- Relevance: 26% -- Show all results within this thread
to search at oracle site and this forum, but i wasn't able to find a link to download the oracle 10g client. I really need especificaly the 10g version. Anybody know the link or another way to download ...
9i client to access 11g database
Posted on: 22-Jun-2012 07:31, by user: kkrm333 -- Relevance: 24% -- Show all results within this thread
Hi, Can i access a 11g database using 9i client? Thanks,
SQLplus in Oracle Client
Posted on: 14-Jun-2012 00:36, by user: Tim B. -- Relevance: 24% -- Show all results within this thread
Hi, I tried to install an 11g oracle client in linux. As I've compared the files with the files when you install using the oracle instant ...
Re: Information on Oracle Client 11202-1.1.4-6
Posted on: 05-Jun-2012 03:33, by user: 898763 -- Relevance: 23% -- Show all results within this thread
Actually thats the client requirement
Analysing the performance of a single client
Posted on: 28-Mar-2012 02:05, by user: 880172 -- Relevance: 23% -- Show all results within this thread
timeouts even on some of the simplest queries. I want to try and get some data about how just this one client is performing and what it’s doing, but everything Google has thrown up so far is orientated around ...
to make client connection as sys
Posted on: 12-Jun-2012 22:04, by user: user11221081 -- Relevance: 23% -- Show all results within this thread
Dear gurus can i connect to my server from my client machine with sysdba without giving sys password i have connected in different ways as sys@abc ...Thanks a lot.Though you can initiate the binary from your client side but for the file creation, there is no other way but to store it on the server side. So your best bet would be to get some space free on the server side of yours.
Aman.... -
How to run the ejb project in j2ee server
How to run the EJB project.
I give like
java conveterClient converterClient.jar
here conveterClient is class file name and converterClient.jar is deployed file
like wise i give some exception is come
give some help pls friendsNavigate to the "DBOrders" module in the catalog, right click on the "ORDERS" database below and click "Export Schema Stucture". That will produce a file containing the DML needed to create the database
-
How to run Content DB Client console from JDevloper
Hi
I have downloaded all the content db client console pages from server. Please let me know how to run the console from my local machine thru jdeveloper. When i tried to run it is giving some runtime exceptions.
Sep 10, 2007 10:46:07 AM oracle.ifs.fdk.http.HttpNodeManager
INFO: Creating HTTP Node ...
07/09/10 10:46:07 Cannot create HTTP Node:
oracle.ifs.common.IfsException: IFS-45061: Unable to create node
oracle.ifs.common.IfsException: IFS-20016: Required parameters are null (either "Schema Name" or "Domain Name" should be non-null)
at oracle.ifs.management.domain.HttpServletNodeUtilities.createNode(HttpServletNodeUtilities.java:243)
at oracle.ifs.management.domain.HttpServletNodeUtilities.createNode(HttpServletNodeUtilities.java:156)
at oracle.ifs.fdk.http.HttpServer.createNode(HttpServer.java:162)
at oracle.ifs.fdk.http.HttpNodeManager.contextInitialized(HttpNodeManager.java:37)
Please let me know if there is any documentation for this.
Thanks
RaviHi,
I built berkeley DB 4.4.20 and use it from Jbuilder2005, I noticed that tha size of Jbuilderw.exe consumes about 96MB of memory and the size of javaw.exe consumes (in my application) about 63MB. so I thought that if I load the jdk1.4 only ( by running my code from the command line) this will save memory because not all compenents of Jbuilder will be loaded into memory. to do so, I copied the directory jdk1.4 from inside jbuilder2005 and put it on c:\, then I build berkeley DB using visaul c++ 6.0 and filled the following pathes in the include directory(tools-->options->directories)
c:\jdk1.4\include
c:\jdk1.4\include\win32
and in the executable files directories I added the following path:
c:\jdk1.4\bin
then I set the classpath from inside windows (server2003), and I set the path as well but when I run the java class from the command line, I recieved message like "the packege com.sleepycat.db " not exist
thanks -
How to drop a schema and load another one?
I have an interruption during installing the central instance of a SAP Netweaver 04s System. After I restarted the installation I found this message in the Log file.
<b>ERROR 2006-08-16 16:17:04</b>
CJS-30109 The Java load in database PDV/liesc1ddbw01 has already been configured. <p> SOLUTION: Drop the schema and load it with a new load before running this installation.
<b>ERROR 2006-08-16 16:17:04</b>
CJS-30109 The Java load in database PDV/liesc1ddbw01 has already been configured. <p> SOLUTION: Drop the schema and load it with a new load before running this installation.
<b>ERROR 2006-08-16 16:17:04</b>
FCO-00011 The step getJavaLoadType with step key |NW_Java_CI|ind|ind|ind|ind|0|0|NW_CI_Instance|ind|ind|ind|ind|10|0|getJavaLoadType was executed with status ERROR.
QUESTION: How to drop a schema and load another one?Hello,
I got the similar error....but i did reinstall from o.s. and done the installation again...it was worked successfully..
if you find out alternate solution for that ...please let us know..
Regards, -
I have Java 5, JAXP 1.3, and properties file that my application uses to get its settings from. What I would like to do now is have my application validate its configuration file when it starts, before it uses any of the data in the file.
XML validation sounds like what I need, but I have never used it before. This document makes it look simple to do validation, but does not include any information on how to create a schema ( aka constraints ) file to use in the validation process.
I am still search for instructions on how to do this, but would appreciate any advice or links to resources that would help me get validation up and running in my application.What do you mean by a LiveCycle schema file. Schemas are not an Adobe technology. We can use a schema do design a form but we just rely on the fact the schema file is valid.
Jasmin -
How to run report from context menu using XML Extensions?
I have found an example how to run SQL command from context menu:
<items>
<folder type="TABLE">
<name>UserDefined ContextMenus</name>
<item TYPE="TABLE" reloadparent="true">
<title>Create SYNONYM</title>
<prompt type="check">
<label>PUBLIC</label>
<value>PUBLIC</value>
</prompt>
<prompt>
<label>NEW SYNONYM NAME</label>
</prompt>
<sql>
<![CDATA[CREATE #0# SYNONYM #1# for "#OBJECT_OWNER#"."#OBJECT_NAME#"]]>
</sql>
<help>
This action create a SYNONYM (optionally public) for the selected table.</help>
<confirmation>
<title>Confirmation</title>
<prompt>SYNONYM "#1#" for "#OBJECT_NAME#" has been created.</prompt>
</confirmation>
</item>
</folder>
</items>
</prompt>
But instead of executing SQL command I need to show result page of report based on SELECT statement.Hi dz_r-
Not sure exactly what you mean by "result page of report", but extensive documentation on the xml schema defining context menu actions is available at the schema location.
<items xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.oracle.com/sqldeveloper/3_1/dialogs"
xmlns="http://xmlns.oracle.com/sqldeveloper/3_1/dialogs">
<!-- your declarations here -->
</items>
Brian Jeffries
SQL Developer Team -
Sql slow afterweekly STATS-JOB,then run analyze table it is fast again
Oracle R11.2.0.2 :
I hade some slow sql / reports and found the effect,
that the sql is slow obvious after the weekend ,
when STATS - JOB BSLN_MAINTAIN_STATS_JOB and other Jobs were running weekly on SYS.
I did run dbms_stats.GATHER_TABLE_STATS on schema
it doesn't help.
But when
run ANALYZE TABLE afterwards on only one or two tables of the schema
the sql / reports performance is well and fast.
in the dba_tables I can see the last_analyze - date
and in GLOBAL_STATS = NO ( when Table runs with ANALYZE ),
GLOBAL_STATS = YES( when Table runs with STATS )
what does the ANALYZE TABLE command doing good and let my sql run well and fast,
while dbms_stats.GATHER_TABLE_STATS
seems not work well in this situation ?
regardsastramare wrote:
Oracle R11.2.0.2 :
I hade some slow sql / reports and found the effect,
that the sql is slow obvious after the weekend ,
when STATS - JOB BSLN_MAINTAIN_STATS_JOB and other Jobs were running weekly on SYS.
I did run dbms_stats.GATHER_TABLE_STATS on schema
it doesn't help.
What options do you use for the gather_stats command ?
Do you also have collected system stats?
But when
run ANALYZE TABLE afterwards on only one or two tables of the schema
the sql / reports performance is well and fast.Analyze table is deprecated, but still does its work for some part. It is not as complete as dbms_stats
>
in the dba_tables I can see the last_analyze - date
and in GLOBAL_STATS = NO ( when Table runs with ANALYZE ),
GLOBAL_STATS = YES( when Table runs with STATS )
It must have to do something with the way you use it..
HTH
FJFranken -
How to create Default Schema from within the application
Hi friends
I am creating users using the following within my application using this syntax
BEGIN
APEX_UTIL.CREATE_USER
(:P124_USER_ID, :P124_USER_NAME,:P124_USER_FIRST_NAME,:P124_USER_LAST_NAME,' ',:P124_USER_EMAIL_ID,'xxxx');
END;
The default workspace for the user is set as blanks. I would like to set it to be the default workspace as per the current logged in user.
Can you help me with the syntax for this
thank you in advance
LaxmiLaxmi,
The subject of the post is "How to create Default Schema from within the application".
But your question asks how to set the "default workspace" for a newly created user.
Those are different questions and not the ones I think you need answered.
Let me answer this question "How can you set the default schema for an account when creating the account and set it to the same value used for the default schema attribute of the administrator account used to authenticate to the currently running application?".
In the apex_util.create_user call use named parameter notation and fetch the information about the currently logged-in user first, e.g.,declare
l_workspace varchar2(256);
l_user_name varchar2(256);
l_first_name varchar2(256);
l_last_name varchar2(256);
l_web_password varchar2(256);
l_email_address varchar2(256);
l_start_date varchar2(256);
l_end_date varchar2(256);
l_employee_id varchar2(256);
l_allow_access_to_schemas varchar2(256);
l_person_type varchar2(256);
l_default_schema varchar2(256);
l_groups varchar2(256);
l_developer_role varchar2(256);
l_description varchar2(256);
begin
apex_util.fetch_user (
p_user_id => apex_util.get_current_user_id,
p_workspace => l_workspace,
p_user_name => l_user_name,
p_first_name => l_first_name,
p_last_name => l_last_name,
p_web_password => l_web_password,
p_email_address => l_email_address,
p_start_date => l_start_date,
p_end_date => l_end_date,
p_employee_id => l_employee_id,
p_allow_access_to_schemas => l_allow_access_to_schemas,
p_person_type => l_person_type,
p_default_schema => l_default_schema,
p_groups => l_groups,
p_developer_role => l_developer_role,
p_description => l_description);
apex_util.create_user(
p_user_id => :P124_USER_ID,
p_user_name => :P124_USER_NAME,
p_first_name => :P124_USER_FIRST_NAME,
p_last_name => :P124_USER_LAST_NAME,
p_email_address => :P124_USER_EMAIL_ID,
p_web_password => 'xxxx',
p_default_schema => l_default_schema);
end;Scott -
How to run oracle cm sdk examples in a standalone mode?
I encountered some difficulty on how to run the examples provided by CM SDK Developer's Guide,such as SimpleConnection.I deployed my develop enviroment in two computers,installed only oracle JDeveloper in one computer,while installed Oracle10g,Oracle AS and Oracle CM SDK on the other computer.But when I tried to run the example on the computer which was only installed Oracle JDeveloper,I always failed.I have no idea of how to run the example in a standalone mode.I hope someone who familiar with Oracle CM SDK can help me solve the problem or give me some advice.Now I list the errors which appeared when I ran the example,SimpleConnection.
C:\Oracel JDeveloper904\jdk\bin\javaw.exe -ojvm -classpath C:\Oracel JDeveloper904\jdev\mywork\Workspace2\Project1\classes;C:\Oracel JDeveloper904\jdev\lib\jdev-rt.jar;C:\ias\cmsdk.jar;C:\ias\uix2.jar;C:\ias\classes12.jar;C:\ias\emPid.jar -DIFS.DOMAIN.Name=ifs://zhao:1521:zyh:IFSSYS -DIFS.STANDALONE.Mode=true -DIFS.SCHEMA.PASSWORD=manage oracle.ifs.examples.devdoc.connection.SimpleConnection
Connecting...
oracle.ifs.common.IfsException: IFS-20102: Unable to start service (IfsDefaultService)
oracle.ifs.common.IfsException: IFS-20010: Unable to get service configuration properties (SmallServiceConfiguration)
java.sql.SQLException: Io Òì³£: The Network Adapter could not establish the connection
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:189)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:231)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:345)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:431)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:515)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:345)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at oracle.ifs.beans.LibraryService.getServiceConfigurationProperties(LibraryService.java:618)
at oracle.ifs.beans.LibraryService.getServiceConfigurationProperties(LibraryService.java:503)
at oracle.ifs.beans.LibraryService.startService(LibraryService.java:366)
at oracle.ifs.examples.devdoc.connection.SimpleConnection.main(SimpleConnection.java:17)
Process exited with exit code 0.The CMSDK uses the oci8 interface to connect to the database. The classes12.jar file has to correspond to the appropriate ocijdbc9.dll file; and the ocijdbc9.dll file is dependent on about 26 other DLLs beginning with oci*.dll and ora*.dll.
I've found that the 10.1.0 and 9.2.0 database client releases contain the wrong oci*.dll family (at least for JDeveloper) and I use the 9.0.4 AS Client tree in my path when I work with CMSDK.
My quick test is to see if I can connect to my database using JDeveloper Connect DBMS with the oci8 connection method. This seems to put out some reasonable error messages explaining why it failed, e.g. it tells you that it couldn't find the right DLL dependency. -
HOW TO RUN ADOBE READER IN MACBOOK PRO
HOW TO RUN ADOBE READER IN MACBOOK PRO
Please stop using caps. It is considered shouting and rude.
You need to download the program. The reader runs when needed.
Barry -
How to run 'Get-AssignedAccess' or 'Set-AssignedAccess' power shell commands in c# Application
Hi,
I have console application using which i am trying to run power shell command like 'Get-AssignedAccess' or 'Set-AssignedAccess'.
i am using below code for this it is throwing exception 'Get-AssignedAccess' doesn't exist in cmdlet which is correct because these commands belongs to function category.
using (PowerShell pwInstance = PowerShell.Create())
pwInstance .AddScript("Get-AssignedAccess");
var result = pwInstance .Invoke();
How can we execute this kind of command using c#?
Thanks,Hi prakashlight,
Thank you for comming back and tell us the result. For more information about how to run PowerShell script in C# language, you can refer to this blogpost here:
Executing PowerShell scripts from C#
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Hi
Does anyone know How to run twin monitors on a MacBook Pro operating on a Windows Server 2008 R2 ?I know this doesn't help you much, but, I think you have to see if your Mac pro does audio out via HDMI. I don't even know if mine does via DVI. I think it may have to do with the adapter. Try going into Audio MIDI and setting the digital out to multichannel
and using the toslink cable for now. Lemme see...apparently DVI does not carry audio at all. Hm. apparently monoprice could be helpful? If I understand what you're saying correctly: you want to take DVI and multichannel audio via the Toslink and have it all go out over HDMI, right? Whooo..... amazon...looks like it's about $100http://www.amazon.com/Audio-SPDIF-Toslink-Converter-Adapter/dp/B0015YYOQQ
just a shot in the dark
I'm probably wrong....or not
John B
Maybe you are looking for
-
Payment method is declining while reviewing account
payment method is declininbg while reviewing account
-
Execute oracle stored procedure in CF8
I am executing a stored procedure like this. <cfstoredproc procedure="GetAction" datasource="test_DSN"> <cfprocparam cfsqltype="CF_SQL_INTEGER" dbvarname="actionId" type="in" value="1"> <cfprocresult name="actions" resultset="1" > </cfstoredproc> and
-
I have been trying to sync my iphone for two days and it is stuck on 2 of 6 i have tried to sign in and that does not work too what is wrong?
-
Doesn't play all the music I downloaded!
I downloaded 243 songs to my iPod Shuffle and when I play it in my car only 106 shows up! Very aggrevated!! I have an iPod Touch and I've never had any trouble. The only reason I got the Shuffle is to be able to leave it in my car so I can play th
-
This is probably simple but ****, HELP!
Hey guys, I'm a musician and not very computer savvy, I'm having a very basic problem, I've created a song on Logic Express 8 and i want to export it into an actually audio file (IE .mp3, .wav, .mov ANYTHING!) Please help I want to get my music out t