Porting Sql profiles from 10gR1 to 10gR2
Hi,
I require some sql profiles to be ported from 10gR1 to 10gR2, as these profiles are important for the application to perform optimally.Could you please share your thoughs or suggestions, thanks in advance.
Balaji.
You may use the package DBMS_SQLTUNE.
From oracle documentation:
Import/Export SQL Tuning Sets and SQL Profiles
You use DBMS_SQLTUNE subprograms to move SQL Profiles and SQL Tuning Sets from one system to another using a common programmatic model. In both cases, you create a staging table on the source system and populate that staging table with the relevant data. You then move that staging table to the destination system following the method of your choice (such as datapump, import/export, or database link), where it is used to reconstitute the objects in their original form. These steps are implemented by means of subprograms included in this package:
Call the CREATE_STGTAB_SQLPROF Procedure or the CREATE_STGTAB_SQLSET Procedure to create the staging table on the source system.
Call the PACK_STGTAB_SQLPROF Procedure or PACK_STGTAB_SQLSET Procedure to populate the staging table with information from the source system.
Once you have moved the staging table to the destination system, you call the UNPACK_STGTAB_SQLPROF Procedure or the UNPACK_STGTAB_SQLSET Procedure to recreate the object on the new system.
Similar Messages
-
Upgrade from 10GR1 to 10GR2: Spatial Component invalid
I'm currently upgrading a database on a solaris box from 10GR1 to 10GR2 (10.1.0.2.0 to 10.2.0.1.0). After running catupgrd the Spatial Component is marked as invalid.
Spatial INVALID 10.2.0.1.0 00:30:28
I checked through the log file of the upgrade and I see the following error..
PL/SQL procedure successfully completed.
ALTER TYPE SDO_GEOMETRY REPLACE
ERROR at line 1:
ORA-22314: method information mismatch in ALTER TYPE
I'm currently re-running catupgrd but it's highly unlikely that this will work second time around. I'll have a look for the actual SQL and see what it's trying to do. Anyone seen this before?I'm doing another 10.1.0.4 to 10.2.0.1 upgrade and I'm having the same issue again with spatial
Spatial INVALID 10.2.0.1.0 00:05:47
I've run the catupgrd about 5 times now and spatial is still invalid. The output from running the catupgrd is showing little information. What's the best way about finding out what's invalid or what's to be done? -
ASM RAC Migration from 10gR1 to 10GR2 32 to 64-bit
please advise how can i move forward with migration having the following requirement.
Thanks.
- 2-node RAC Cluster on windows server 2003 32-bit
- Version is 10gR1 Standard Edition on both Nodes with ASM at the moment. (asmcmd is not available in 10gR1)
- Migration is needed to be done to a new hardware setup having new high speed disks, 10g R2 Enterprise Edition with ASM and 64-bit windows server 2003.
Now i need to migrate to the new hardware with different hardware,windows version,Oracle Version and new disks as well.
Migration PLan:
1- install 32-bit enteprise edition 10gR2 on existing system and migrate RAC from 10gR1 Standard Edition to 10gR2 Enterprise Edition first.
2- how should i de-attach datafiles in ASM so that i can take them to new machine. attach them and run rest of the migration steps. (in a non-asm environment i can just copy the datafiles using network to the new machine)
3- once the diskgroup/datafile are available on new hardware i can run the scripts to change wordsize.
please advise how step2 can be done.
do i need to take care of the 2 rac-nodes or just do all the migration using one node?
thanks.Hi;
1- Installl Redhat Enterprose Linux 5 64 bit ( need to confirm the 5.x version ) as the current DB 10.2.0.5 will not certified for RHEL6Correct only 11.2.0.3 db version is certified with RHEL6.
In oracle certification I can see the certified 64 bit RHEL OS for 10.2.0.5 is RHEL5 ("Oracle Database 10.2.0.5.0 is certified on Linux x86-64 Red Hat Enterprise Linux 5"). Please let me know the last supported version in RHEL5 which I can go for. I could not find anything about it. I am thinking, I can go for RHEL 5.5 and in the same OS can I upgrade DB 10.2.0.5 to version 11.2.0.3 after the migration.?The latest version is 5.8 and you can download it from e-delivery.
PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
Regard
Helios -
I can't seem to find any documentation on how to install R2 over top of R1. Do have to export everything out of the R1 instance and import it into the new one or is there a way to install it like a patch on top of the original install?
Hi,
is there a way to install it like a patch on top of the original install? No, this is two different release (and not patchset), from same version I agree, but different release, you need to install 10gR2 into a new ORACLE_HOME directory.
http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14238/preup.htm#i1008013
Nicolas. -
Can sql profiles be moved from Oracle SE/SEO to XE
Hi all.
I use both: 10g XE, 11g XE as well as SE and SEO.
I'd like to know if i can export / import or move sql profiles from SE / SEO to Oracle XE.
Thanks in advance!!!Profiles? Need a bit more info on what you're after.
For sqlplus the $ORACLE_HOME/admin/glogin.sql file gets executed every time one starts sqlplus or does a connect. Or its %ORACLE_HOME% on windows hosts.
For export and import (also see the 11gR2 Utilities doc Overview of Oracle Data Pump ) but generally the tables, the data, stored procedures, functions, etc. will be compatible, the main caveat will be source and target RDBMS versions, features added (or absent) from one or the other. The first two digits, possibly all four digits of the release version number are relevant.
And the XE space limit has to apply, as well as the absence of some features not included in the engine see the XE license page Oracle® Database Express Edition it has details on what is/is not present. -
Question about moving a SQL profile to a different database
All,
I know in 11g I can move SQL baselines to another host. Does anyone know if I can more just a single SQL Profile and how that is accomplished. I'm not seeing a PL/SQL package do to this but I may be missing it. Also, no hits on Metalink or Ask Tom on how to do this. I have this vague memory that it is possible but I'll be dammed if I can figure out how to do it.
thanks in advance
J SebastianJust to inform
http://blog.flimatech.com/2010/06/08/how-does-one-move-sql-profiles-from-one-instance-to-another/
Have very good example how to move SQL profile -
Enterprise feature usage: SQL Profile
Is SQL Profile an enterprise Edition feature only? As in, just making use of a profile that was not created in this database?
I've got a development environment, which is licensed for everything. I create an SQL Profile for a bad statement on that Enterprise database, then I transfer it to a standard edition database using:
How to copy SQL Profile from one database to another one. | David Marcos' Blog
When I now execute the statement, I can see that it used the profile, but the following statement returns no hits for me having used this feature:
col name for a50
alter session set nls_date_format='dd month yyyy';
select '## Enterprise Edition Feature Usage Overview:' from dual;
Select name,version,first_usage_date,last_usage_date from dba_feature_usage_statistics where name in ('Advanced Replication','AWR Report','AWR Baseline','Automatic Workload Repository','Backup Encryption','Backup ZLIB Compression','Block Media Recovery','Database Replay: Workload Capture','Database Replay: Workload Replay','Diagnostic Pack','EM Performance Page','Flashback Database','Label Security','OLAP - Analytic Workspaces','OLAP - Cubes','Oracle Secure Backup','Parallel SQL DDL Execution','Parallel SQL DML Execution','Parallel SQL Query Execution','Partitioning (user)','Real-Time SQL Monitoring','Result Cache','SQL Monitoring and Tuning pages','SQL Plan Management','SQL Tuning Set (user)','SecureFile Encryption (user)','Spatial','Tune MView','Tuning Pack','Automatic Maintenance - SQL Tuning Advisor','SQL Profile','SQL Tuning Advisor','SQL Tuning Set (user)') and first_usage_date is not null order by first_usage_date asc;
So my question is: if i've not created the profile in the Standard Edition database... it's just been imported from another database... Am I violating my licensing?Hi,
> So my question is: if i've not created the profile in the Standard Edition database... it's just been imported from another database... Am I violating my licensing?
You are even violating your Oracle EE license, if you do not have a valid Diagnostics + Tuning pack for it. You can reproduce this very easily as described by Kerry Osborne here: Licensing Requirements for SQL Profiles
SQL Plan Management is included in Oracle EE as an alternative for example: Does the use of SQL Plan Management and the DBMS_SPM database package require a tuning or diagnostic pack license?
Regards
Stefan -
Hi
DB: 10.2.0.4
Platform: Redhat Linux
Summary:
When I unpack SQL profiles from a staging table, even if they had a status of DISABLED in the staging table, they will all be set to ENABLED when querying DBA_SQL_PROFILES. That seems wrong - am I missing something here?
Details:
Current SQL profiles (select * from dba_sql_profiles):
NAME STATUS
SYS_SQLPROF_0145a03131fdc001 ENABLED
SYS_SQLPROF_01445c4c7d068003 DISABLED...then I take a backup of the SQL Profiles to a staging table:
exec DBMS_SQLTUNE.PACK_STGTAB_SQLPROF(profile_category => '%', staging_table_name => 'PRF_SQL_PROFILES_STAGING'); Data in the staging table (select * from PRF_SQL_PROFILES_STAGING):
PROFILE_NAME STATUS
SYS_SQLPROF_0145a03131fdc001 ENABLED
SYS_SQLPROF_01445c4c7d068003 DISABLED...so looks right in the staging table. The status is the same as the actual SQL profiles.
Now I load (unpack) the SQL Profiles from the staging table back into the DB:
exec DBMS_SQLTUNE.UNPACK_STGTAB_SQLPROF(replace => TRUE, staging_table_name => 'PRF_SQL_PROFILES_STAGING');Now I would expect the statuses to be the same as in the staging table - but (select * from dba_sql_profiles):
NAME STATUS
SYS_SQLPROF_0145a03131fdc001 ENABLED
SYS_SQLPROF_01445c4c7d068003 ENABLED <-- ???Now the previously DISABLED SQL profille is ENABLED.
Any thoughts? Is this the expected behavior?
Thanks,
Andreas
Upate -
As a workaround I did the following as part of the unpack script:
declare
cursor c1 is
select profile_name
from PRF_SQL_PROFILES_STAGING
where status = 'DISABLED';
begin
for rec in c1 loop
DBMS_SQLTUNE.ALTER_SQL_PROFILE (name => rec.profile_name, attribute_name => 'STATUS', value => 'DISABLED');
end loop;
end;
/So basically I just disable any 'live' SQL Profiles that have a status of DISABLED in the staging table...
Works fine, but still curious whether all profiles enabled by default is expected behavior.
Edited by: Andreas Hess on Mar 18, 2010 5:18 PMHi,
You can get the details from the DBA_SQL_PROFILES. there are futher sys tables which can give some details
SQL Profiles hints from SQLPROF$ATTR,SQLPROF$ and SQLPROF$DESC
- Pavan Kumar N
Oracle 9i/10g - OCP
http://oracleinternals.blogspot.com/ -
Using Get Data From Aggregation event class in SQL Profiler - SSAS 2012
Hi,
I'd like to understand better the use of the Get data from aggregation event class in SQL Profiler to monitor a MDX query and which info provide. Fe, does it return the MDX query? Is it possible to use this event class in order to monitor MDX query vs a
Tabular model?
In the TechNet documentation, this event class is handled briefly.
ThanksHi pscorca,
This event is raised when the storage engine reads data from an aggregation, it may have a negative impact on performance when turned on. If you need to monitor SSAS instance status, we can also use dynamic management view:
Use Dynamic Management Views (DMVs) to Monitor Analysis Services:
http://msdn.microsoft.com/en-us/library/hh230820.aspx
Regards,
Elvis Long
TechNet Community Support -
Error while connecting to SQL SERVER from OWB
HI All,
I got the following error while connecting to SQL SERVER from OWB(10gR2).
1). Created DSN with (GMSCADA)
2). tnsnames file is updated with the following information
GMSCADA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.60.29)(PORT = 1433))
(CONNECT_DATA =
(SERVICE_NAME = SA)
3). Tried to connect to SQL SERVER frm OWB
Username: sa
password: sa
host: 172.16.60.29
port: 1433
service name: GMSCADA
schema: sa
I got the following error, when I click Test Connection:
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from OWB_3095
Regards,
Kumar.Hi David,
What is Gateway, How I have to setup, Please let me know.
I tried according to the Demo, But still I am facing the same problem. Which system IP I have to put in the host details.
Can u please let me know.
Regards,
Kumar. -
See sql query from crystal report without crystal report
see sql query from crystal report without crystal report
Hi,
Depends on datasource type but you could have a look at ODBC trace or if you have access to the SQL Server you could use profiler to monitor the session.
Regards,
Craig
And this will only be of use if you know which Server/Insstance/Database the Report is connecting to...
Please click "Mark As Answer" if my post helped. Tony C. -
Moving user profiles from Server 2012 with RDS services to User profile disks Server 2012R2
Hello i have a question about moving my C:\users profiles.
My current settings on the servers are:
AD-Server 2012
SQL-Server 2012
TS- server with RDS roles (RDwebacces, RDs broker, RD session host) 2012
everything about user profiles is now in C:\Users
My new settings for the server will be:
AD-ActiveDirectory - server
SQL-Server
TS1- RDS (RDwebacces, broker, RDS server group management) 2012R2 (I have enabeld userProfileDisks to Filesistem server)
TS2- RDS(Session host) load balance 2012R2
TS3- RDS (Session host) load balance 2012
FileSistem - server ( here i will have on E: partition the new functionality UserProfileDisks) 2012R2
So is there a way to move profiles from TS - C:\Users to FileSistem - E:\UserProfileDisks
I am new to this so any idea wil be helpful.Hi,
If the UPD is configured on the server which holds existing user profiles, just select the option:
store all user settings and data inside the profile disk.
Since you are moving user profiles between different servers, then user profile contents need to be migrated manually.
Best Regards,
Amy
Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
Sql profiles in 11.1.0.7
We just upgraded from 10.1.0.3 to 11.1.0.7 and some very complex queries are running slower. When I check the plans in a non-production 11g database, the join orders are slightly different. I also have traces from my 10g production database and that I loaded into a sql tuning set in production. I am running the sql tuning advisor. When I get a recommendation to use the old plan, I implement it in the 10.2.0.5 Oracle Enterprise manager grid control.
How do I tell the sql_id of the sql profile? Is it part of the name? So if I look in dba_sql_profiles and see
SYS_SQLPROF_012a8f339c4b0001
Is the last part the sql_id? When I search on that value, I do not see it in v$sql. It does not appear that my queries are using the sql profile. So there might a slight difference from these queries (space maybe) than the ones I have. How do I confirm that my queries are using a sql profile as well?Dear user11990507,
I do think that the value "012a8f339c4b0001" is nothing to do with the SQL_ID in the v$sql fixed view. It can be generated based on an algorithm like generating SQL_IDs. That is an internal information and i really don't know much about it.
You can also accept, alter or drop an SQL profile with the below commands;
DECLARE my_sqlprofile_name VARCHAR2(30);
BEGIN my_sqlprofile_name := DBMS_SQLTUNE.ACCEPT_SQL_PROFILE (task_name => 'my_sql_tuning_task', name => 'my_sql_profile', force_match => TRUE);
END;
BEGIN
DBMS_SQLTUNE.ALTER_SQL_PROFILE(name => 'my_sql_profile', attribute_name => 'STATUS', value => 'DISABLED');
END;
BEGIN
DBMS_SQLTUNE.DROP_SQL_PROFILE(name => 'my_sql_profile');
END;
DBA_SQL_PROFILES;
http://download.oracle.com/docs/cd/B28359_01/server.111/b28320/statviews_4256.htm#REFRN23477
Check the SQL_TEXT column for you particular SQLs.
Hope That Helps.
Ogan -
Trace for a specific IP address in SQL Profiler
Hello,
I am looking for a way to trace from a specific ip address in sql profiler, Is there any filter that we can use to trace the database calls from a specific ip address.
Thanks in advance.Thanks for the reply, I have tried by selecting hostname from column filters and gave my system name in Like.
When i run application from localhost then it returns trace results, but on live domain it is not returning trace results, M i missing something in configuring filters? -
Hi All,
We have slow runnig query problem with below queries:
QUERY 1
=======
SELECT "PC0".pxObjClass AS "pxObjClass", "PC0".PXINSNAME AS "pxInsName"
, "PC0".WORKTYPENAME AS "WorkTypeName" , "PC0".PYSTATUSWORK AS
"pyStatusWork" , "PC0".PXCREATEDATETIME AS "pxCreateDateTime",
"PC0".LINKEDREFTO as "pxInsHandle" FROM V_FORM_RELATIONSHIPS_R_1_0
"PC0" WHERE ( "PC0".LINKEDREFFROM = :1 ) AND ( "PC0".pxObjClass = :2
) ORDER BY "PC0".PXINSNAME DESC , "PC0".PXCREATEDATETIME
QUERY 2
=======
SELECT PYID AS "pyID" , PXOBJCLASS AS "pxObjClass" , PZINSKEY AS
"pzInsKey", PZINSKEY as "pxInsHandle" FROM V_WORK_R_1_0 WHERE (
PYID = :1 ) AND ( pxObjClass = :2 )
V_WORK_R_1_0 is a view which union all of two table without any where clause
V_FORM_RELATIONSHIPS_R_1_0 is another view that is made up of V_WORK_R_1_0 view and one more table.
Production DBA accepted both the SQL PROFILE created for these two queries.
FROM DBA_HIST_SQLSTATS it looks like sometime the profile getting used and sometime old plan is being used.How to ensure that correct SQLPROFILE once accepted is used?
This is 4 node RAC oracle 11.2.0.2.0 on Linux
For first query below are sql stats
col BEGIN_INTERVAL_TIME for a26
col end_INTERVAL_TIME for a26
col ROWS_PROCESSED_TOTAL for 99999
col ROWS_PROCESSED_delta for 99999
select s.begin_interval_time, s.end_interval_time , q.snap_id, q.dbid, q.sql_id, q.plan_hash_value, q.optimizer_cost, q.optimizer_mode
--,ROWS_PROCESSED_TOTAL,ROWS_PROCESSED_delta--,CPU_TIME_TOTAL,CPU_TIME_DELTA,ELAPSED_TIME_TOTAL,ELAPSED_TIME_DELTA
from dba_hist_sqlstat q, dba_hist_snapshot s
where q.dbid = 4026476544 and q.sql_id = '1um96ykvtwrh4'
and q.snap_id = s.snap_id
and s.begin_interval_time between sysdate-2 and sysdate
order by 1,s.snap_id desc;
BEGIN_INTERVAL_TIME END_INTERVAL_TIME SNAP_ID DBID SQL_ID PLAN_HASH_VALUE OPTIMIZER_COST OPTIMIZER_
03-JUL-13 06.00.33.805 AM 03-JUL-13 07.00.21.439 AM 17316 4026476544 1um96ykvtwrh4 377865450 20 ALL_ROWS
03-JUL-13 06.00.33.843 AM 03-JUL-13 07.00.21.475 AM 17316 4026476544 1um96ykvtwrh4 377865450 20 ALL_ROWS
03-JUL-13 06.00.33.843 AM 03-JUL-13 07.00.21.475 AM 17316 4026476544 1um96ykvtwrh4 1122713586 179350 ALL_ROWS
03-JUL-13 06.00.33.843 AM 03-JUL-13 07.00.21.474 AM 17316 4026476544 1um96ykvtwrh4 377865450 20 ALL_ROWS
03-JUL-13 07.00.21.475 AM 03-JUL-13 08.00.06.051 AM 17317 4026476544 1um96ykvtwrh4 377865450 20 ALL_ROWS
03-JUL-13 08.00.06.023 AM 03-JUL-13 09.00.11.626 AM 17318 4026476544 1um96ykvtwrh4 377865450 20 ALL_ROWS
03-JUL-13 08.00.06.023 AM 03-JUL-13 09.00.11.626 AM 17318 4026476544 1um96ykvtwrh4 1122713586 179350 ALL_ROWS
03-JUL-13 08.00.06.051 AM 03-JUL-13 09.00.11.596 AM 17318 4026476544 1um96ykvtwrh4 377865450 20 ALL_ROWS
03-JUL-13 08.00.06.051 AM 03-JUL-13 09.00.11.623 AM 17318 4026476544 1um96ykvtwrh4 1122713586 179350 ALL_ROWS
03-JUL-13 08.00.06.051 AM 03-JUL-13 09.00.11.596 AM 17318 4026476544 1um96ykvtwrh4 1122713586 179350 ALL_ROWS
03-JUL-13 11.00.10.502 AM 03-JUL-13 12.00.16.034 PM 17321 4026476544 1um96ykvtwrh4 1122713586 179350 ALL_ROWS
03-JUL-13 11.00.10.502 AM 03-JUL-13 12.00.16.033 PM 17321 4026476544 1um96ykvtwrh4 1122713586 179350 ALL_ROWS
03-JUL-13 11.00.10.503 AM 03-JUL-13 12.00.16.034 PM 17321 4026476544 1um96ykvtwrh4 377865450 20 ALL_ROWS
03-JUL-13 12.00.16.034 PM 03-JUL-13 01.00.42.715 PM 17322 4026476544 1um96ykvtwrh4 377865450 ALL_ROWS
03-JUL-13 01.00.42.685 PM 03-JUL-13 02.00.10.200 PM 17323 4026476544 1um96ykvtwrh4 1122713586 179350 ALL_ROWS
03-JUL-13 01.00.42.714 PM 03-JUL-13 02.00.10.200 PM 17323 4026476544 1um96ykvtwrh4 1122713586 179350 ALL_ROWS
03-JUL-13 03.00.15.887 PM 03-JUL-13 04.00.05.570 PM 17325 4026476544 1um96ykvtwrh4 1122713586 179347 ALL_ROWS
03-JUL-13 03.00.15.887 PM 03-JUL-13 04.00.05.570 PM 17325 4026476544 1um96ykvtwrh4 377865450 30585 ALL_ROWS
03-JUL-13 03.00.15.914 PM 03-JUL-13 04.00.05.541 PM 17325 4026476544 1um96ykvtwrh4 1122713586 179347 ALL_ROWS
03-JUL-13 03.00.15.915 PM 03-JUL-13 04.00.05.570 PM 17325 4026476544 1um96ykvtwrh4 377865450 30585 ALL_ROWS
03-JUL-13 04.00.05.541 PM 03-JUL-13 05.00.09.865 PM 17326 4026476544 1um96ykvtwrh4 1122713586 179347 ALL_ROWS
03-JUL-13 05.00.09.866 PM 03-JUL-13 06.00.26.710 PM 17327 4026476544 1um96ykvtwrh4 1122713586 179347 ALL_ROWS
03-JUL-13 08.00.12.716 PM 03-JUL-13 09.00.00.960 PM 17330 4026476544 1um96ykvtwrh4 1122713586 179347 ALL_ROWS
03-JUL-13 08.00.12.716 PM 03-JUL-13 09.00.00.989 PM 17330 4026476544 1um96ykvtwrh4 1122713586 179347 ALL_ROWS
377865450 is the sql_hash of explain plan given by SQL_PROFILE
select
2 extractvalue(value(d), '/hint') as outline_hints
3 from
4 xmltable('/*/outline_data/hint'
5 passing (
6 select
7 xmltype(other_xml) as xmlval
8 from
9 dba_hist_sql_plan
10 where
11 sql_id = '&sql_id'
12 and plan_hash_value = &plan_hash_value
13 and other_xml is not null
14 15 ) d;
Enter value for sql_id: 1um96ykvtwrh4
old 11: sql_id = '&sql_id'
new 11: sql_id = '1um96ykvtwrh4'
Enter value for plan_hash_value: 377865450
old 12: and plan_hash_value = &plan_hash_value
new 12: and plan_hash_value = 377865450
OUTLINE_HINTS
IGNORE_OPTIM_EMBEDDED_HINTS
OPTIMIZER_FEATURES_ENABLE('11.2.0.2')
DB_VERSION('11.2.0.2')
ALL_ROWS
OUTLINE_LEAF(@"SEL$B01C6807")
OUTLINE_LEAF(@"SEL$8E13D68A")
OUTLINE_LEAF(@"SET$5715CE2E")
PUSH_PRED(@"SEL$F5BB74E1" "VW"@"SEL$2" 3)
OUTLINE_LEAF(@"SEL$F5BB74E1")
MERGE(@"SEL$2")
OUTLINE(@"SEL$3")
OUTLINE_HINTS
OUTLINE(@"SEL$4")
OUTLINE(@"SET$1")
OUTLINE(@"SEL$F5BB74E1")
MERGE(@"SEL$2")
OUTLINE(@"SEL$1")
OUTLINE(@"SEL$2")
INDEX_RS_ASC(@"SEL$F5BB74E1" "LR"@"SEL$2" ("LINK_RELATIONSHIP"."PXLINKEDREFFROM"
NO_ACCESS(@"SEL$F5BB74E1" "VW"@"SEL$2")
LEADING(@"SEL$F5BB74E1" "LR"@"SEL$2" "VW"@"SEL$2")
OUTLINE_HINTS
USE_NL(@"SEL$F5BB74E1" "VW"@"SEL$2")
INDEX_RS_ASC(@"SEL$8E13D68A" "W"@"SEL$4" ("WORK_COMMON"."PZINSKEY"))
INDEX_RS_ASC(@"SEL$B01C6807" "WORK_BATCH"@"SEL$3" ("WORK_BATCH"."PZINSKEY"))
select id, operation, options, object_name, cost
from dba_hist_sql_plan
where dbid = 4026476544 and sql_id = '1um96ykvtwrh4'
and plan_hash_value = 377865450 2 3 4
5 ;
ID OPERATION OPTIONS OBJECT_NAME COST
0 SELECT STATEMENT 20
1 SORT ORDER BY 20
2 FILTER
3 NESTED LOOPS 19
4 TABLE ACCESS BY INDEX ROWID LINK_RELATIONSHIP 5
5 INDEX RANGE SCAN RELATIONSHIP_REFFROM 3
6 VIEW V_WORK_R_1_0 7
7 UNION ALL PUSHED PREDICATE
8 TABLE ACCESS BY INDEX ROWID WORK_BATCH 4
9 INDEX UNIQUE SCAN WORK_BATCH_PK 3
10 TABLE ACCESS BY INDEX ROWID WORK_COMMON 3
11 INDEX UNIQUE SCAN WORK_COMMON_PK 2
EXPLAIN PLAN OF SQL_PROFILE PROVIDED
select * from table(dbms_xplan.display_awr('1um96ykvtwrh4',377865450,4026476544, 'ALL +peeked_binds +ALLSTATS LAST'));
PLAN_TABLE_OUTPUT
SQL_ID 1um96ykvtwrh4
SELECT "PC0".pxObjClass AS "pxObjClass", "PC0".PXINSNAME AS "pxInsName"
, "PC0".WORKTYPENAME AS "WorkTypeName" , "PC0".PYSTATUSWORK AS
"pyStatusWork" , "PC0".PXCREATEDATETIME AS "pxCreateDateTime",
"PC0".LINKEDREFTO as "pxInsHandle" FROM V_FORM_RELATIONSHIPS_R_1_0
"PC0" WHERE ( "PC0".LINKEDREFFROM = :1 ) AND ( "PC0".pxObjClass = :2
) ORDER BY "PC0".PXINSNAME DESC , "PC0".PXCREATEDATETIME
Plan hash value: 377865450
| Id | Operation | Name | E-Rows |E-Bytes| Cost (%CPU)| E-Time |
| 0 | SELECT STATEMENT | | | | 20 (100)| |
| 1 | SORT ORDER BY | | 2 | 1362 | 20 (5)| 00:00:01 |
| 2 | FILTER | | | | | |
| 3 | NESTED LOOPS | | 2 | 1362 | 19 (0)| 00:00:01 |
| 4 | TABLE ACCESS BY INDEX ROWID | LINK_RELATIONSHIP | 2 | 204 | 5 (0)| 00:00:01 |
| 5 | INDEX RANGE SCAN | RELATIONSHIP_REFFROM | 2 | | 3 (0)| 00:00:01 |
| 6 | VIEW | V_WORK_R_1_0 | 1 | 579 | 7 (0)| 00:00:01 |
| 7 | UNION ALL PUSHED PREDICATE | | | | | |
| 8 | TABLE ACCESS BY INDEX ROWID| WORK_BATCH | 1 | 89 | 4 (0)| 00:00:01 |
| 9 | INDEX UNIQUE SCAN | WORK_BATCH_PK | 1 | | 3 (0)| 00:00:01 |
| 10 | TABLE ACCESS BY INDEX ROWID| WORK_COMMON | 1 | 109 | 3 (0)| 00:00:01 |
| 11 | INDEX UNIQUE SCAN | WORK_COMMON_PK | 1 | | 2 (0)| 00:00:01 |
Query Block Name / Object Alias (identified by operation id):
1 - SEL$F5BB74E1
4 - SEL$F5BB74E1 / LR@SEL$2
5 - SEL$F5BB74E1 / LR@SEL$2
6 - SET$5715CE2E / VW@SEL$2
7 - SET$5715CE2E
8 - SEL$B01C6807 / WORK_BATCH@SEL$3
9 - SEL$B01C6807 / WORK_BATCH@SEL$3
10 - SEL$8E13D68A / W@SEL$4
11 - SEL$8E13D68A / W@SEL$4
Peeked Binds (identified by position):
1 - :1 (VARCHAR2(30), CSID=873): 'xxxx-xxx-SERVICEREQUEST-WORK-ACCTMAINT AM-13640'
Note
- Warning: basic plan statistics not available. These are only collected when:
* hint 'gather_plan_statistics' is used for the statement or
* parameter 'statistics_level' is set to 'ALL', at session or system level
OLD EXPLAIN PLAN IS
select * from table(dbms_xplan.display_awr('1um96ykvtwrh4',1122713586,4026476544, 'ALL +peeked_binds +ALLSTATS LAST'));
PLAN_TABLE_OUTPUT
SQL_ID 1um96ykvtwrh4
SELECT "PC0".pxObjClass AS "pxObjClass", "PC0".PXINSNAME AS "pxInsName"
, "PC0".WORKTYPENAME AS "WorkTypeName" , "PC0".PYSTATUSWORK AS
"pyStatusWork" , "PC0".PXCREATEDATETIME AS "pxCreateDateTime",
"PC0".LINKEDREFTO as "pxInsHandle" FROM V_FORM_RELATIONSHIPS_R_1_0
"PC0" WHERE ( "PC0".LINKEDREFFROM = :1 ) AND ( "PC0".pxObjClass = :2
) ORDER BY "PC0".PXINSNAME DESC , "PC0".PXCREATEDATETIME
Plan hash value: 1122713586
| Id | Operation | Name | E-Rows |E-Bytes|E-Temp | Cost (%CPU)| E-Time |
| 0 | SELECT STATEMENT | | | | | 171K(100)| |
| 1 | SORT ORDER BY | | 32220 | 20M| 22M| 171K (1)| 00:34:18 |
| 2 | FILTER | | | | | | |
| 3 | HASH JOIN | | 32220 | 20M| 3560K| 166K (1)| 00:33:22 |
| 4 | VIEW | index$_join$_002 | 31931 | 3180K| | 1648 (1)| 00:00:20 |
| 5 | HASH JOIN | | | | | | |
| 6 | INDEX RANGE SCAN | RELATIONSHIP_REFFROM | 31931 | 3180K| | 430 (1)| 00:00:06 |
| 7 | INDEX FAST FULL SCAN| AK1_LINK_RELATIONSHIP | 31931 | 3180K| | 1096 (1)| 00:00:14 |
| 8 | VIEW | V_WORK_R_1_0 | 3946K| 2178M| | 54733 (1)| 00:10:57 |
| 9 | UNION-ALL | | | | | | |
| 10 | TABLE ACCESS FULL | WORK_BATCH | 3910K| 331M| | 53959 (1)| 00:10:48 |
| 11 | TABLE ACCESS FULL | WORK_COMMON | 35334 | 3761K| | 774 (1)| 00:00:10 |
Query Block Name / Object Alias (identified by operation id):
1 - SEL$F5BB74E1
4 - SEL$838CAA44 / LR@SEL$2
5 - SEL$838CAA44
6 - SEL$838CAA44 / indexjoin$_alias$_001@SEL$838CAA44
7 - SEL$838CAA44 / indexjoin$_alias$_002@SEL$838CAA44
8 - SET$1 / VW@SEL$2
9 - SET$1
10 - SEL$3 / WORK_BATCH@SEL$3
11 - SEL$4 / W@SEL$4
Peeked Binds (identified by position):
1 - :1 (VARCHAR2(30), CSID=873): 'xxxxxx-xxx-SERVICEREQUEST-WORK-BD-DOCUMENTREQUEST ACE_BD_DR-166646'
Note
- Warning: basic plan statistics not available. These are only collected when:
* hint 'gather_plan_statistics' is used for the statement or
* parameter 'statistics_level' is set to 'ALL', at session or system level
52 rows selected.
Select sql_id,plan_hash_value,old_hash_value,child_number,OUTLINE_CATEGORY,CPU_TIME,ELAPSED_TIME,SQL_PROFILE from gv$sql where sql_id='1um96ykvtwrh4';
SQL_ID PLAN_HASH_VALUE OLD_HASH_VALUE CHILD_NUMBER OUTLINE_CA CPU_TIME ELAPSED_TIME SQL_PROFILE
1um96ykvtwrh4 377865450 3763442152 2 81989 198629 SYS_SQLPROF_013fa7a18f7c0001
1um96ykvtwrh4 1122713586 3763442152 0 44147289 172322738
1um96ykvtwrh4 1122713586 3763442152 1 1905933242 6101663681
1um96ykvtwrh4 377865450 3763442152 3 55988 108690 SYS_SQLPROF_013fa7a18f7c0001
FOR QUERY 2
col BEGIN_INTERVAL_TIME for a26
col end_INTERVAL_TIME for a26
select s.begin_interval_time, s.end_interval_time , q.snap_id, q.dbid, q.sql_id,q.VERSION_COUNT, q.plan_hash_value, q.optimizer_cost, q.optimizer_mode
from dba_hist_sqlstat q, dba_hist_snapshot s
where q.dbid = 4026476544 and q.sql_id = '4prk4w6sdtxa5'
and q.snap_id = s.snap_id
and s.begin_interval_time between sysdate-2 and sysdate
order by 1,s.snap_id desc;
BEGIN_INTERVAL_TIME END_INTERVAL_TIME SNAP_ID DBID SQL_ID PLAN_HASH_VALUE OPTIMIZER_COST OPTIMIZER_
04-JUL-13 12.00.01.427 PM 04-JUL-13 01.00.02.453 PM 17346 4026476544 4prk4w6sdtxa5 3168544609 56710 ALL_ROWS
04-JUL-13 12.00.01.430 PM 04-JUL-13 01.00.02.413 PM 17346 4026476544 4prk4w6sdtxa5 455675889 985 ALL_ROWS
04-JUL-13 12.00.01.430 PM 04-JUL-13 01.00.02.413 PM 17346 4026476544 4prk4w6sdtxa5 3168544609 56710 ALL_ROWS
04-JUL-13 12.00.01.430 PM 04-JUL-13 01.00.02.413 PM 17346 4026476544 4prk4w6sdtxa5 455675889 985 ALL_ROWS
04-JUL-13 12.00.01.430 PM 04-JUL-13 01.00.02.413 PM 17346 4026476544 4prk4w6sdtxa5 3168544609 56710 ALL_ROWS
OLD EXPLAIN PAL
select * from table(dbms_xplan.display_awr('4prk4w6sdtxa5',3168544609,4026476544, 'ALL +peeked_binds +ALLSTATS LAST'));
PLAN_TABLE_OUTPUT
SQL_ID 4prk4w6sdtxa5
SELECT PYID AS "pyID" , PXOBJCLASS AS "pxObjClass" , PZINSKEY AS
"pzInsKey", PZINSKEY as "pxInsHandle" FROM V_WORK_R_1_0 WHERE (
PYID = :1 ) AND ( pxObjClass = :2 )
Plan hash value: 3168544609
| Id | Operation | Name | E-Rows |E-Bytes| Cost (%CPU)| E-Time |
| 0 | SELECT STATEMENT | | | | 53846 (100)| |
| 1 | VIEW | V_WORK_R_1_0 | 2 | 1238 | 53846 (1)| 00:10:47 |
| 2 | UNION-ALL | | | | | |
| 3 | FILTER | | | | | |
| 4 | TABLE ACCESS FULL | WORK_BATCH | 1 | 67 | 53844 (1)| 00:10:47 |
| 5 | FILTER | | | | | |
| 6 | TABLE ACCESS BY INDEX ROWID| WORK_COMMON | 1 | 578 | 2 (0)| 00:00:01 |
| 7 | INDEX RANGE SCAN | AK1_WORK_COMMON | 1 | | 1 (0)| 00:00:01 |
Query Block Name / Object Alias (identified by operation id):
1 - SET$1 / V_WORK_R_1_0@SEL$1
2 - SET$1
3 - SEL$2
4 - SEL$2 / WORK_BATCH@SEL$2
5 - SEL$3
6 - SEL$3 / W@SEL$3
7 - SEL$3 / W@SEL$3
Peeked Binds (identified by position):
1 - :1 (VARCHAR2(30), CSID=873): 'CM-22180'
Note
- dynamic sampling used for this statement (level=2)
- Warning: basic plan statistics not available. These are only collected when:
* hint 'gather_plan_statistics' is used for the statement or
* parameter 'statistics_level' is set to 'ALL', at session or system level
NEW EXPLAIN PLAN IS
select * from table(dbms_xplan.display_awr('4prk4w6sdtxa5',455675889,4026476544, 'ALL +peeked_binds +ALLSTATS LAST'));
PLAN_TABLE_OUTPUT
SQL_ID 4prk4w6sdtxa5
SELECT PYID AS "pyID" , PXOBJCLASS AS "pxObjClass" , PZINSKEY AS
"pzInsKey", PZINSKEY as "pxInsHandle" FROM V_WORK_R_1_0 WHERE (
PYID = :1 ) AND ( pxObjClass = :2 )
Plan hash value: 455675889
| Id | Operation | Name | E-Rows |E-Bytes| Cost (%CPU)| E-Time | TQ |IN-OUT| PQ Distrib |
| 0 | SELECT STATEMENT | | | | 985 (100)| | | | |
| 1 | PX COORDINATOR | | | | | | | | |
| 2 | PX SEND QC (RANDOM) | :TQ10001 | 2 | 1238 | 985 (1)| 00:00:12 | Q1,01 | P->S | QC (RAND) |
| 3 | BUFFER SORT | | 2 | 1238 | | | Q1,01 | PCWP | |
| 4 | VIEW | V_WORK_R_1_0 | 2 | 1238 | 985 (1)| 00:00:12 | Q1,01 | PCWP | |
| 5 | UNION-ALL | | | | | | Q1,01 | PCWP | |
| 6 | FILTER | | | | | | Q1,01 | PCWC | |
| 7 | PX BLOCK ITERATOR | | 1 | 67 | 983 (1)| 00:00:12 | Q1,01 | PCWC | |
| 8 | TABLE ACCESS FULL | WORK_BATCH | 1 | 67 | 983 (1)| 00:00:12 | Q1,01 | PCWP | |
| 9 | BUFFER SORT | | | | | | Q1,01 | PCWC | |
| 10 | PX RECEIVE | | 1 | 59 | 2 (0)| 00:00:01 | Q1,01 | PCWP | |
| 11 | PX SEND ROUND-ROBIN | :TQ10000 | 1 | 59 | 2 (0)| 00:00:01 | | S->P | RND-ROBIN |
| 12 | FILTER | | | | | | | | |
| 13 | TABLE ACCESS BY INDEX ROWID| WORK_COMMON | 1 | 59 | 2 (0)| 00:00:01 | | | |
| 14 | INDEX RANGE SCAN | AK1_WORK_COMMON | 1 | | 1 (0)| 00:00:01 | | | |
Query Block Name / Object Alias (identified by operation id):
1 - SEL$1
4 - SET$1 / V_WORK_R_1_0@SEL$1
5 - SET$1
6 - SEL$2
8 - SEL$2 / WORK_BATCH@SEL$2
12 - SEL$3
13 - SEL$3 / W@SEL$3
14 - SEL$3 / W@SEL$3
Peeked Binds (identified by position):
1 - :1 (VARCHAR2(30), CSID=873): 'AM-15042'
Note
- automatic DOP: Computed Degree of Parallelism is 64
- SQL profile "SYS_SQLPROF_013fa79ff2ee0000" used for this statement
- Warning: basic plan statistics not available. These are only collected when:
* hint 'gather_plan_statistics' is used for the statement or
* parameter 'statistics_level' is set to 'ALL', at session or system level
53 rows selected.
HINT USED IN EXPLAIN PLAN GIVEN BY SQL_PROFILE
select
extractvalue(value(d), '/hint') as outline_hints
from
xmltable('/*/outline_data/hint'
passing (
select
xmltype(other_xml) as xmlval
from
dba_hist_sql_plan
where
sql_id = '&sql_id'
and plan_hash_value = &plan_hash_value
and other_xml is not null
)) d;
OUTLINE_HINTS
IGNORE_OPTIM_EMBEDDED_HINTS
OPTIMIZER_FEATURES_ENABLE('11.2.0.2')
DB_VERSION('11.2.0.2')
OPT_PARAM('optimizer_dynamic_sampling' 5)
ALL_ROWS
SHARED(64)
OUTLINE_LEAF(@"SEL$2")
OUTLINE_LEAF(@"SEL$3")
OUTLINE_LEAF(@"SET$1")
OUTLINE_LEAF(@"SEL$1")
NO_ACCESS(@"SEL$1" "V_WORK_R_1_0"@"SEL$1")
INDEX_RS_ASC(@"SEL$3" "W"@"SEL$3" ("WORK_COMMON"."PYID"))
FULL(@"SEL$2" "WORK_BATCH"@"SEL$2")
col OUTLINE_CATEGORY for a10
col SQL_PROFILE for a30
select sql_id,plan_hash_value,old_hash_value,child_number,OUTLINE_CATEGORY,CPU_TIME,ELAPSED_TIME,SQL_PROFILE from gv$sql where sql_id='4prk4w6sdtxa5';
SQL_ID PLAN_HASH_VALUE OLD_HASH_VALUE CHILD_NUMBER OUTLINE_CA CPU_TIME ELAPSED_TIME SQL_PROFILE
4prk4w6sdtxa5 3168544609 353644632 0 2633226703 4.4271E+10
4prk4w6sdtxa5 455675889 353644632 1 27225852 759830164 SYS_SQLPROF_013fa79ff2ee0000
4prk4w6sdtxa5 455675889 353644632 2 119988890 9664144040 SYS_SQLPROF_013fa79ff2ee0000
4prk4w6sdtxa5 455675889 353644632 3 85872011 5942746451 SYS_SQLPROF_013fa79ff2ee0000
4prk4w6sdtxa5 3168544609 353644632 0 335776954 337580538
4prk4w6sdtxa5 3168544609 353644632 1 399056329 401261240
4prk4w6sdtxa5 3168544609 353644632 2 484240383 486679352
4prk4w6sdtxa5 3168544609 353644632 3 401375979 492360355
4prk4w6sdtxa5 3168544609 353644632 4 930830490 2.2156E+10
4prk4w6sdtxa5 3168544609 353644632 5 403837610 472368680
4prk4w6sdtxa5 3168544609 353644632 6 1136393235 2.5397E+10
4prk4w6sdtxa5 3168544609 353644632 7 858015552 1.6636E+10
4prk4w6sdtxa5 455675889 353644632 8 68884598 6001624174 SYS_SQLPROF_013fa79ff2ee0000
4prk4w6sdtxa5 455675889 353644632 9 21730702 629077530 SYS_SQLPROF_013fa79ff2ee0000
4prk4w6sdtxa5 455675889 353644632 10 93504893 8216578447 SYS_SQLPROF_013fa79ff2ee0000
OTHER INFO
SQL> select table_name,owner,index_name,INDEX_TYPE from dba_indexes where table_name in ('WORK_BATCH','WORK_COMMON','LINK_RELATIONSHIP');
TABLE_NAME OWNER INDEX_NAME INDEX_TYPE
LINK_RELATIONSHIP ACE SYS_IL0000120332C00018$$ LOB
WORK_BATCH ACE SYS_IL0000120308C00085$$ LOB
WORK_COMMON ACE SYS_IL0000243612C00085$$ LOB
LINK_RELATIONSHIP ACE LINK_RELATIONSHIP_PK NORMAL
LINK_RELATIONSHIP ACE AK1_LINK_RELATIONSHIP NORMAL
LINK_RELATIONSHIP ACE RELATIONSHIP_REFFROM NORMAL
WORK_BATCH ACE WORK_BATCH_PK NORMAL
WORK_BATCH ACE IDX1_WORK_BATCH NORMAL
WORK_COMMON ACE AK2_WORK_COMMON NORMAL
WORK_COMMON ACE AK1_WORK_COMMON NORMAL
WORK_COMMON ACE WORK_COMMON_PK NORMAL
col object_name for a25
select created,object_name,object_type,owner,LAST_DDL_TIME from dba_objects where object_name in ('WORK_BATCH','WORK_COMMON','WORK_BATCH_PK','WORK_COMMON_PK','AK1_LINK_RELATIONSHIP','RELATIONSHIP_REFFROM')
2
CREATED OBJECT_NAME OBJECT_TYPE OWNER LAST_DDL_TI
28-JUN-2012 WORK_BATCH TABLE ACE 15-JUN-2013
28-JUN-2012 WORK_BATCH_PK INDEX ACE 29-MAY-2013
30-NOV-2012 RELATIONSHIP_REFFROM INDEX ACE 03-JUL-2013
23-FEB-2013 AK1_LINK_RELATIONSHIP INDEX ACE 23-FEB-2013
15-JUN-2013 WORK_COMMON TABLE ACE 15-JUN-2013
15-JUN-2013 WORK_COMMON_PK INDEX ACE 15-JUN-2013
09-MAR-2013 WORK_BATCH SYNONYM ACE_USER 09-MAR-2013
col COLUMN_NAME for a20
Select INDEX_NAME,TABLE_NAME,COLUMN_NAME,COLUMN_POSITION from dba_ind_columns where table_name in ('WORK_BATCH','WORK_COMMON','LINK_RELATIONSHIP');
INDEX_NAME TABLE_NAME COLUMN_NAME COLUMN_POSITION
RELATIONSHIP_REFFROM LINK_RELATIONSHIP PXLINKEDREFFROM 1
AK1_LINK_RELATIONSHIP LINK_RELATIONSHIP PXLINKEDREFTO 1
LINK_RELATIONSHIP_PK LINK_RELATIONSHIP PZINSKEY 1
IDX1_WORK_BATCH WORK_BATCH CAPTUREUNIQUEID 1
WORK_BATCH_PK WORK_BATCH PZINSKEY 1
WORK_COMMON_PK WORK_COMMON PZINSKEY 1
AK1_WORK_COMMON WORK_COMMON PYID 1
AK2_WORK_COMMON WORK_COMMON PXOBJCLASS 1
SQL> select distinct tablespace_name from dba_tablespaces where tablespace_name like '%INDEX%';
TABLESPACE_NAME
ACE_INDEXES_M
RBS_INDEXES_S
SPS_INDEXES_S
ACE_INDEXES_S
ACE_INDEXES_L
FI_INDEXES_S
FI_INDEXES_M
RBS_INDEXES_M
8 rows selected.
col SEARCH_CONDITION for a25
col OWNER for a10
select OWNER,CONSTRAINT_NAME,CONSTRAINT_TYPE,TABLE_NAME,SEARCH_CONDITION,INDEX_NAME from dba_constraints where TABLE_NAME in ('WORK_BATCH','WORK_COMMON','LINK_RELATIONSHIP')
OWNER CONSTRAINT_NAME C TABLE_NAME SEARCH_CONDITION INDEX_NAME
ACE SYS_C00150550 C WORK_COMMON "PZINSKEY" IS NOT NULL
ACE WORK_BATCH_PK P WORK_BATCH WORK_BATCH_PK
ACE LINK_RELATIONSHIP_PK P LINK_RELATIONSHIP LINK_RELATIONSHIP_PK
ACE WORK_COMMON_PK P WORK_COMMON WORK_COMMON_PK
select attr_val hint
from dba_sql_profiles p, sqlprof$attr h
where p.signature = h.signature
and name like ('SYS_SQLPROF_013fa7a18f7c0001')
order by attr#
select LAST_ANALYZED,SAMPLE_SIZE,num_rows from dba_tables where table_name in ('WORK_BATCH','WORK_COMMON','LINK_RELATIONSHIP');
LAST_ANALYZ SAMPLE_SIZE NUM_ROWS
02-JUL-2013 4122880 4122880
02-JUL-2013 81108 81108
03-JUL-2013 40802 40802
SQL> select count(pzinskey) from ace.WORK_BATCH;
COUNT(PZINSKEY)
4138044
SQL> select count(pzinskey) from ace.WORK_COMMON;
COUNT(PZINSKEY)
40805Hi,
i think you should give a try on baseline.
Profiles are more subject to stats ad dynamic sampling.
You can find this useful:
Kerry Osborne SQL Profiles Disable Automatic Dynamic Sampling
This doesn't match your case but can give some advices.
Regs,
Drew
Maybe you are looking for
-
Problem with validateRegExp (problem with IE and chrome but works for firefox)
Hi everyone, I have a simple af:inputText with an af:validateRegExp in it with pattern "([^$%# ]+([ ]*[^$%# ]+)*)$". Now when I enter a very big value in this inputText and finally add a space to it, it gives a proper validation exception in Mozilla
-
External Monitor - MacBook - Intel GMA 945
Hey guys, I've run into a problem running Windows Vista Ultimate on my 1st gen Macbook with Intel GMA 945 chipset. I have upgraded to Leopard. Running a Mini-DVI to DVI converter and connecting to my LCD does not work any longer. * I have run the ext
-
How do I mark mail as unread?
I set up my gmail account using microsoft exchange. When I open a message, sometimes I want to mark it as unread to remind me to read it again later. The iphone user guide gives the instruction "open the message and tap mark as unread". Seems simple
-
No Home for this CC Desktop App User
The Home page does not display in my CC desktop application. When I click on Home it just keeps spinning and spinning but never brings up the Home page. All of the other tabs work correctly. Any ideas as to why the Home page won't load? It's suppose
-
Oracle Version 9.2.0.2 I'm trying to improve what is currently terrible performance with BI Beans!! I have 1 fact table with 3 dimensions, and 1 hierarchy, stored in a simple star schema. I've defined my metatdata using OEM. Reading the 9i OLAP Users