Return-Path:
Delivered-To: 2-oracle-l@orafaq.com
Received: (qmail 883 invoked from network); 27 Aug 2008 10:57:56 -0500
Received: from freelists-180.iquest.net (HELO turing.freelists.org) (206.53.239.180)
by air964.startdedicated.com with SMTP; 27 Aug 2008 10:57:56 -0500
Received: from localhost (localhost [127.0.0.1])
by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 9E2F8920ABA;
Wed, 27 Aug 2008 11:57:51 -0400 (EDT)
Received: from turing.freelists.org ([127.0.0.1])
by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id 19448-02; Wed, 27 Aug 2008 11:57:51 -0400 (EDT)
Received: from turing.freelists.org (localhost [127.0.0.1])
by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 19348920CCB;
Wed, 27 Aug 2008 11:57:51 -0400 (EDT)
Received: with ECARTIS (v1.0.0; list oracle-l); Wed, 27 Aug 2008 11:55:54 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 7899992086C for ; Wed, 27 Aug 2008 11:55:54 -0400 (EDT)
Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 19034-02 for ; Wed, 27 Aug 2008 11:55:54 -0400 (EDT)
Received: from sj6.svr.bankone.net (sj6.jpmchase.com [159.53.110.162]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 3FD9C9207E0 for ; Wed, 27 Aug 2008 11:55:53 -0400 (EDT)
Received: from se2.svr.bankone.net (se2.svr.bankone.net [155.180.234.120]) by sj6.svr.bankone.net (Switch-3.1.8/Switch-3.1.7) with ESMTP id m7RFvAB9002237 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=FAIL) for ; Wed, 27 Aug 2008 11:57:10 -0400
Received: from bankone.net (cssnat232.bankone.net [172.18.0.232]) by se2.svr.bankone.net (Switch-3.1.8/Switch-3.1.7) with ESMTP id m7RFtoW3022131 for ; Wed, 27 Aug 2008 11:55:50 -0400
Received: from ([10.21.19.194]) by imf3.bankone.net with ESMTP id KP-BRATA.59794371; Wed, 27 Aug 2008 11:55:28 -0400
To: ORACLE-L
Subject: SQL Profiles
MIME-Version: 1.0
Message-ID:
From: brian.s.wisniewski@jpmchase.com
Date: Wed, 27 Aug 2008 11:55:27 -0400
X-MIMETrack: Serialize by Router on RMAIL127/JPMCHASE(Release 6.5.6FP1|April 24, 2007) at 08/27/2008 11:55:29 AM, Serialize complete at 08/27/2008 11:55:29 AM
Content-Type: multipart/alternative; boundary="=_alternative 00577890852574B2_="
X-archive-position: 10446
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: brian.s.wisniewski@jpmchase.com
Precedence: normal
Reply-to: brian.s.wisniewski@jpmchase.com
List-help:
List-unsubscribe:
List-software: Ecartis version 1.0.0
List-Id: oracle-l
X-List-ID: oracle-l
List-subscribe:
List-owner:
List-post:
List-archive:
X-list: oracle-l
X-Virus-Scanned: Debian amavisd-new at localhost.localdomain
--=_alternative 00577890852574B2_=
Content-Type: text/plain;
charset="US-ASCII"
Anyone aware of a way to create a sql profile without running the sql
tuning advisor? I have 6 plans associated with the same sql stmt and I
want to create a profile based on the execution path from today's run.
1 select sql_id, plan_hash_value, max(timestamp) from dba_hist_sql_plan
where
2 sql_id = '206z4tq4j0yrp' group by sql_id, plan_hash_value
3* order by 3
SQL> /
SQL_ID PLAN_HASH_VALUE MAX(TIMESTAMP)
------------- --------------- --------------------
206z4tq4j0yrp 2840312503 13-AUG-2008 04:30:14
206z4tq4j0yrp 2136351662 20-AUG-2008 04:38:25
206z4tq4j0yrp 502714015 21-AUG-2008 04:42:30
206z4tq4j0yrp 1813612 22-AUG-2008 04:40:20
206z4tq4j0yrp 3184831364 26-AUG-2008 04:25:56
206z4tq4j0yrp 3939223844 27-AUG-2008 04:29:42
6 rows selected.
I'm just curious if there's a way to shorten the process vs creating the
tuning task, getting it from the cursor cache, executing the tuning task,
accepting the profile....
Thanks - Brian
-----------------------------------------
This communication is for informational purposes only. It is not
intended as an offer or solicitation for the purchase or sale of
any financial instrument or as an official confirmation of any
transaction. All market prices, data and other information are not
warranted as to completeness or accuracy and are subject to change
without notice. Any comments or statements made herein do not
necessarily reflect those of JPMorgan Chase & Co., its subsidiaries
and affiliates.
This transmission may contain information that is privileged,
confidential, legally privileged, and/or exempt from disclosure
under applicable law. If you are not the intended recipient, you
are hereby notified that any disclosure, copying, distribution, or
use of the information contained herein (including any reliance
thereon) is STRICTLY PROHIBITED. Although this transmission and any
attachments are believed to be free of any virus or other defect
that might affect any computer system into which it is received and
opened, it is the responsibility of the recipient to ensure that it
is virus free and no responsibility is accepted by JPMorgan Chase &
Co., its subsidiaries and affiliates, as applicable, for any loss
or damage arising in any way from its use. If you received this
transmission in error, please immediately contact the sender and
destroy the material in its entirety, whether in electronic or hard
copy format. Thank you.
Please refer to http://www.jpmorgan.com/pages/disclosures for
disclosures relating to UK legal entities.
--=_alternative 00577890852574B2_=
Content-Type: text/html;
charset="US-ASCII"
Anyone aware of a way to create a sql
profile without running the sql tuning advisor? I have 6 plans associated
with the same sql stmt and I want to create a profile based on the execution
path from today's run.
1 select sql_id, plan_hash_value,
max(timestamp) from dba_hist_sql_plan where
2 sql_id = '206z4tq4j0yrp'
group by sql_id, plan_hash_value
3* order by 3
SQL> /
SQL_ID PLAN_HASH_VALUE
MAX(TIMESTAMP)
------------- --------------- --------------------
206z4tq4j0yrp 2840312503
13-AUG-2008 04:30:14
206z4tq4j0yrp 2136351662
20-AUG-2008 04:38:25
206z4tq4j0yrp
502714015 21-AUG-2008 04:42:30
206z4tq4j0yrp
1813612 22-AUG-2008 04:40:20
206z4tq4j0yrp 3184831364
26-AUG-2008 04:25:56
206z4tq4j0yrp 3939223844
27-AUG-2008 04:29:42
6 rows selected.
I'm just curious if there's a way to
shorten the process vs creating the tuning task, getting it from the cursor
cache, executing the tuning task, accepting the profile....
Thanks - Brian
This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries and affiliates.
This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMorgan Chase & Co., its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you.
Please refer to http://www.jpmorgan.com/pages/disclosures for disclosures relating to UK legal entities.
--=_alternative 00577890852574B2_=--
--
http://www.freelists.org/webpage/oracle-l