Regarding stats collection in oracle 11g.
Just a general question, while doing stats collection weather system takes the backup of current statistics. i think we can specify stattab. but weather it takes stats backup before over writing?
I got this requirement as a part of upgrade, i have already gone through export_schema_stats and import_schema stats already. Just trying all other possible options only...
Regards
DBA.
DBA wrote:
Just a general question, while doing stats collection weather system takes the backup of current statistics. i think we can specify stattab. but weather it takes stats backup before over writing?
backup to where exactly?
Similar Messages
-
How to view the List of statements executed in Oracle 11G database
Hi ,
I have this Application which internally updates and writes to the tables in my database. Is there a way that i can make oracle 11g to log all the statements that are executed in it so that ill be able to see the statements?. Plz explain me how to do this ?
Thanks
KiranUser Auditing on those tables.
http://www.oracle.com/technology/deploy/security/database-security/database-auditing/index.html
http://www.oracle-base.com/articles/10g/Auditing_10gR2.php
Regards
Rajesh -
During installation, the decision was made to not install the stats gathering job in 11g.
Post installation the job is not running as expected.
SInce then we have done more research and are comfortable with the stats job running only for Oracle dictionary tables.
My question is
How to install it and make sure it is run at a certain time?
I have read documentation and have issues commands such as :-
DBMS_AUTO_TASK_ADMIN.ENABLE (
client_name IN VARCHAR2,
operation IN VARCHAR2,
window_name IN VARCHAR2);
I have verified that the stats are not gathered on dictionary tables a.k.a SYS owned objects.
Any input will be highly appreciated.I have verified that the stats are not gathered on dictionary tables a.k.a SYS owned objects.post SQL & results that are proof that "the stats are not gathered on dictionary tables".
LAST_ANALYZED is NOT a reliable indicator to determine if/when statistics were gathered.
If/when table content does NOT change, then current statistics are still valid & statistics do NOT need to be collected again.
Handle: Dbacloud
Status Level: Newbie (20)
Registered: Nov 18, 2009
Total Posts: 55
Total Questions: 13 (13 unresolved)
so many questions without ANY answers.
http://forums.oracle.com/forums/ann.jspa?annID=718
Edited by: sb92075 on Feb 25, 2011 5:46 PM -
Install Oracle 11g RAC on Solaris 10
Hello,
I'm new joined DBA in my organization.
There is a requirement from a client to install Oracle 11g RAC on Solaris 10 env.
Can anybody please guide me with some doc or pdf for the steps.
Till now, i've install Oracle 11g DB on Solaris, but i'm pretty new to RAC env.
Note:
I've to do installation via commands, No GUI.
Thanks for your help.
Regards,
GagsHi,
Q) Can Oracle 11g Release 2 RAC be installed on Solaris (x86)??yes, you can Install it on Solaris X86
Q) Can the links of Oracle RAC installation over Unix and Linux be taken as base?? As i haven't seen any doc for installing 11g RAC on Solaris, where as it was provided in Oracle 10g.yes, you need to consider Oracle RAC installation over Unix and Linux be taken as base as base document.
http://download.oracle.com/docs/cd/E11882_01/install.112/e17214/toc.htm
In addition Refer:
http://www.oraclemasters.in/?p=963
thanks,
X A H E E R -
"Rows" statistics from STAT in trace event 10046, Oracle 11g.
Hi, all!
Why "Rows" statistics in STAT are different for 10g and 11g?
I have two database with version 10g and 11g, with the same data.
I executed some pl/sql code with tracing 10046 level 8.
And I have different result when obtain raw trace.
In 10g I obtain rows statistics for all executions - Rows= 7.
In 11g I obtain rows statistics for first executions - Rows= 1. Why?
See my example:
declare
type t_name_tbl is table of varchar2(30) index by binary_integer;
v_name_tbl t_name_tbl;
v_len number := 10;
begin
execute immediate 'alter session set timed_statistics = true ';
execute immediate 'alter session set statistics_level=all ';
execute immediate 'alter session set max_dump_file_size = unlimited ';
execute immediate 'alter session set events ''10046 trace name context forever,level 8'' ';
loop
select cour_name bulk collect
into v_name_tbl
from country t
where length(t.cour_name) = v_len;
exit when v_len = 0;
v_len := v_len - 1;
for i in 1 .. v_name_tbl.count loop
dbms_output.put_line(v_name_tbl(i));
end loop;
end loop;
end;Result Tkprof for Oracle 10g:
SELECT COUR_NAME
FROM
COUNTRY T WHERE LENGTH(T.COUR_NAME) = :B1
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 11 0.00 0.00 0 0 0 0
Fetch 11 0.01 0.00 0 44 0 7
total 23 0.01 0.00 0 44 0 7
Misses in library cache during parse: 0
Optimizer mode: ALL_ROWS
Parsing user id: 649 (recursive depth: 1)
Rows Row Source Operation
7 TABLE ACCESS FULL COUNTRY (cr=44 pr=0 pw=0 time=1576 us)Result Tkprof for Oracle 11g:
SQL ID: 3kqmkg8jp5nwk
Plan Hash: 1371235632
SELECT COUR_NAME
FROM
COUNTRY T WHERE LENGTH(T.COUR_NAME) = :B1
call count cpu elapsed disk query current rows
Parse 1 0.01 0.00 0 0 0 0
Execute 11 0.02 0.01 0 0 0 0
Fetch 11 0.00 0.01 3 44 0 7
total 23 0.03 0.02 3 44 0 7
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 82 (recursive depth: 1)
Rows Row Source Operation
1 TABLE ACCESS FULL COUNTRY (cr=4 pr=3 pw=0 time=0 us cost=2 size=44 card=2)Were can I read about it?Oracle 11g by default writes the execution plan (the STAT lines in the raw trace file) after the first execution of the SQL statement, while prior to 11g the execution plan is written only when the cursor is closed.
The behavior in 11g can be controlled by changing the PLAN_STAT parameter of the call that enables the trace from the default value of FIRST_EXECUTION to ALL_EXECUTIONS:
http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/d_sessio.htm#i1010518
Charles Hooper
Co-author of "Expert Oracle Practices: Oracle Database Administration from the Oak Table"
http://hoopercharles.wordpress.com/
IT Manager/Oracle DBA
K&M Machine-Fabricating, Inc.
Edited by: Charles Hooper on Aug 9, 2010 3:33 PM
Default value on 11g is FIRST_EXECUTION, while the behavior prior to 11g is ALL_EXECUTIONS - corrected the incomplete sentence. -
Hi
I would like to use ASM storage for my single instance oracle 11gR2 database. I am a little bit confused so that asking some question about Oracle 11g ASM.
1. Does Grid Infrastructure mandatory for installation Oracle 11g ASM instance?
2. Without installation Grid Infrastructure can I full fill my requirements ?
Regards
Rabi"If you plan to use Oracle Restart or Oracle Automatic Storage Management (Oracle ASM), then you must install Oracle Grid Infrastructure before you install and create the database. " -- http://docs.oracle.com/cd/E11882_01/install.112/e47689/oraclerestart.htm#LADBI999
-
Need help regarding upgrading Oracle 10g Forms to Oracle 11g Fusion Middlew
Hi All,
I am trying to create a workshop on a VM for showing the migration / upgrading of Oracle Forms 10g to Oracle 11g FMW using the Upgrade Assistant tool available in <ORACLE_HOME>/bin/ua.bat.
As per my understanding of pre-requisites:
1) I need to install Oracle SOA Suite 10g on my VM.
2) I also need to install Oracle SOA Suite 11g on my VM.
3) I need to install Oracle Forms/Reports Services 10g on my Oracle SOA Suite 10g installation.
4) I need to run Oracle Forms/reports installer on my Oracle SOA Suite 11g installation.
5) I need to run upgrade assistant tool on my VM to upgrade my form from source(Oracle SOA Suite 10g) to destination(Oracle SOA Suite 11g). Is it mandatory for this migration that I should have Oracle SOA Suite 10g and Oracle SOA Suite 11g on the same system ?
Having all these software installed on one VM would be difficult. So just wanted to check can I avoid any software to install on VM ?
If there is any alternative suggestion then please let me know.
Regards,What do you want to do with the SOA-suite? At least for Froms10G is is not necessary.
-
sir/mam
i am facing a problem in installing the oracle 11g.. after installing the software. when i am going on command prompt then it is asking for user name and password. after then it is showing that connected to oracle. then when i am clicking on the desktop icon get started with oracle database 11g, it is opening a web page. i am not getting what to do after that..?????
sir/mam please give me some advice.. its very urgent.
thanks a lot..Hi,
Reading Database Express Edition Getting Started Guide might help
http://docs.oracle.com/cd/E17781_01/admin.112/e18585/toc.htm
Regards,
Jari
My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
Twitter: http://www.twitter.com/jariolai -
Is 11g auto stats collection automatic on? where can I find this job?
Is 11g auto stats collection automatic on?
I manually created a 11g database, but I did not see auto stats collection job. where can I find this job? or how could I verify this is on?
Thank you.Found in Automated Maintenance Tasks.
-
Help needed regarding installation of Oracle 11G in Solaris10(VMware)
I am trying to install Oracle 11G in Solaris. Whenever I am trying to run the installer ,I gets below error messages.
# cd /export/home/oracle
# ls -ltr
total 2098204
drwxr-xr-x 3 oracle oinstall 512 Mar 29 21:23 product
drwxr-xr-x 2 oracle oinstall 512 Mar 29 23:03 Documents
drwxr-xr-x 2 oracle oinstall 512 Mar 29 23:03 Desktop
-rw------T 1 root root 1073741824 Mar 29 23:09 orcl_swap
lrwxrwxrwx 1 oracle oinstall 32 Mar 30 19:34 link to installation -> /e xport/home/oracle/installation
drwxr-xr-x 4 root root 512 Mar 30 20:30 installation
drwxr-xr-x 4 oracle oinstall 512 Mar 30 23:30 tmp
# cd installation
# ls -ltr
total 4
dr-xr-xr-x 4 root root 512 Mar 30 20:30 linux.zseries64_11gR2_data base_2of2
dr-xr-xr-x 3 root root 512 Mar 30 20:30 solaris.x64_11gR2_database _1of2_1
# cd solaris.x64_11gR2_database_1of2_1
# ls -ltr
total 2
dr-xr-xr-x 8 root root 512 Mar 30 21:09 database
# cd database
# ls -ltr
total 38
dr-xr-xr-x 12 root root 512 Mar 30 20:34 doc
dr-xr-xr-x 4 root root 512 Mar 30 20:34 install
dr-xr-xr-x 2 root root 512 Mar 30 20:34 response
dr-xr-xr-x 2 root root 512 Mar 30 20:34 rpm
dr-xr-xr-x 2 root root 512 Mar 30 20:34 sshsetup
dr-xr-xr-x 14 root root 1024 Mar 30 21:09 stage
-rwxrwxrwx 1 root root 6513 Mar 30 21:59 runInstaller
-r--r--r-- 1 root root 5400 Mar 30 21:59 welcome.html
# ./runInstaller
./runInstaller: /export/home/oracle/installation/solaris.x64_11gR2_database_1of2_1/database/install/.oui: cannot execute
It will bre great if anyone can help me with some ideas and concepts here.I have downloaded Oracle 11G R2 version from Windows and extracted it in Windows and copied it into DVD after extraction in two folders. Now I am mounting that DVD in Solaris 10 installed in my VMware . I made a new directory named as 'installation ' under /export/home/oracle and copied the folders from DVD to 'installation' folder. Now I am entering installation folder and try to do ./runInstaller as 'oracle ' user and getting the error mentioned before.
Edited by: 916438 on Mar 31, 2012 5:55 PM -
How to use BULK COLLECT in Oracle Forms 11g
Forms is showing error that "Feature is not support in Client Side Program" when i am trying to impliment Bulk collect in Forms 11g.
i need to load full data from DB to my form becuase using cursor is very slow....
Is there any method/Work around to achieve this ....declare
type arr is table of emp%rowtype ;
lv_arr arr;
begin
select * bulk collect in to lv_arr from emp;
/*written code here to process the data and write in to file*/
end;Unless you are inserting/updating the data you are holding in the array into a database table I don't think there is much peformance gain in using bulk-collect in conjunction with writing a file. Bulk processing will increase performance by minimizing context switches from the SQL to the PL/SQL engine, nothing more, nothing less.
In any case bulk processing is not available in forms, if you really need to make use of it you need to do it in a stored procedure.
cheers -
Stats collection running long in 11g
Oracle11.2.0.1
Sun Solaris.
Stats collection running long for almost 12 hours from 6PM to 6AM daily and stats collection autotask is getting STOPPED after the window duration.
DBA_TABLES.last_analyzed is not getting updated after 2AM in the morning. I believe it is scanning some big tables, but not able to pin point the table/index.
And we've some a bunch of 100GB tables in the DB. Is there a way to find out which table it's gathering stats between 2AM and 6AM and not getting completed?
Thanks for your time!moreajays wrote:
Hi,
I would suggest to find out those tables with huge Table & last_analyzed is Null , these tables would be possible tables responsible for long run.
Only AWR ot other SQL Hist stats tables can help you to get details.
To fix this issue you should run stats gathering manually in day time (not in maintenance window) either with auto stats or with little estimate_percent (10 or 5)
After getting first successful analyze (manually) , maintenance stats will pick up new incremental stats thereafter
Ajay,
I don't think that your statement that after the gathering the statistics manually, it would be next done incrmentally is correct. The incremental statistics are introduced only for partitioned tables AFAIK. Can you post a link from the documentation that your mentioned behavior exists?
Aman.... -
Regarding Insallation Oracle 11g
Hi Friends,
I am having Oracle 10g Enterprise edition and i am trying to install oracle application express facing some problem, so i downloaded oracle 11g express edition.
Installed 11g in different drive... while accessing independently it's working, while accessing through front developer PL-SQL Developer,Oracle forms and reports etc facing problem as tns manes could not resolve..
How can i over come this..
--kishoreHi Friends,
I am having Oracle 10g Enterprise edition and i am trying to install oracle application express facing some problem, so i downloaded oracle 11g Release 1.
Installed 11g in different drive... while accessing independently it's working, while accessing through front developer PL-SQL Developer,Oracle forms and reports etc facing problem as tns manes could not resolve..
How can i over come this..
--kishore -
Regarding oracle 11g health check
Hi,
Does my oracle 11g health check checks the health of oracle 10g? The other way round is definitely not possible. But i was wondering if this were possible?What "11g health check" are we talking about?
Justin -
Oracle 11g Quartz Scheduler 1.8.5 running under JBOSS 5.1
Basically I'm getting this error when running Quartz configured for the jobStore
org.quartz.jobStore.class = org.quartz.impl.jdbcjobstore.JobStoreCMT
I've got two data sources setup.
One data source is setup to be looked up via JNDI (presumably for the one that may participate in distributed JTA XA transactions) and one that
supposedly is not to participate in JTA transactions in which quartz can call commit/rollback on it's own.
The problem I'm seeing with the interaction of the two is the following exception:
05:21:27,292 ERROR [TxPolicy] javax.ejb.EJBTransactionRolledbackException: SqlMapClient operation; uncategorized SQLException for SQL []; SQL state [9
9999]; error code [29875];
--- The error occurred in XXXXX_COORDINATE_SqlMap.xml.
--- The error occurred while applying a parameter map.
--- Check the XXXX_COORDINATE.insert-InlineParameterMap.
--- Check the statement (update failed).
--- Cause: java.sql.SQLException: ORA-29875: failed in the execution of the ODCIINDEXINSERT routine
ORA-29400: data cartridge error
ORA-14450: attempt to access a transactional temp table already in use
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 720
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 225
; nested exception is com.XXXXXibatis.common.jdbc.exception.NestedSQLException:
--- The error occurred in XXXXX_COORDINATE_SqlMap.xml.
--- The error occurred while applying a parameter map.
--- Check the XXXXX_COORDINATE.insert-InlineParameterMap.
--- Check the statement (update failed).
--- Cause: java.sql.SQLException: ORA-29875: failed in the execution of the ODCIINDEXINSERT routine
ORA-29400: data cartridge error
ORA-14450: attempt to access a transactional temp table already in use
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 720
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 225
Has anyone seen this error before with the following configuration of Quartz 1.8.5, Oracle 11g, Oracle Spatial?
I've googled and seen reference to Oracle spatial using temp tables and not compatible with transactions... but not sure
exactly how to solve this problem.
Thanks in advacce.Hi;
Can any one advise me where and how can I download proper RPM packages and how do I resolve swap space requirement failure as mentioned above. Please let me know if further information required.You can find all related rpm from your DVD. For rpm please see below thread:
RPM confirmation
Re: Package install for oracle11gr2
For swap:
swap size increase-linux
How to increase swap size?
Regard
Helios
Maybe you are looking for
-
Dear all. I have another Question, is there any note that explain why its not possible to install this solution (ADS - Adobe Document Service) and the JAVA Instance in the same AP server here the 470 R/3 version is instaled. Example:
-
How to setup process chains to run during office times every 30 minutes
I want to set up a process chain to run only during 8 am to 6 pm MST every 30 minutes. How do I do such a setting in the process chain? Regards Ram
-
I upgraded to Mac OS 10.9, and then had to upgrade Xcode 4 to Xcode 5.0.2. Xcode 5.0.2 causes my processor to run at over 100%, and makes my computer inoperable.
-
DVD player -problem Please Help!!
Hi all, I was trying to play a friend's wedding DVD on my PM G5, and it plays fine until a certain point in the DVD, after which it hangs with spinning beach ball. I then get an error that "disk cannot play either dirty or scratched". I have checked
-
What need to be transport to the production
Hi I have done config of Service Desk and it is working in Development i had transported all the request created when the time of Customization. When i login to Production and type DSWP it is saying the no solution exist. What are the other customiz