Return-Path: <oracle-l-bounce@freelists.org>
Delivered-To: 2-oracle-l@orafaq.com
Received: (qmail 4035 invoked from network); 1 Nov 2007 10:27:51 -0500
Received: from freelists-180.iquest.net (HELO turing.freelists.org) (206.53.239.180)
  by 69.64.49.119 with SMTP; 1 Nov 2007 10:27:50 -0500
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 517E17AE46B;
 Thu,  1 Nov 2007 11:27:52 -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 30107-08; Thu, 1 Nov 2007 11:27:52 -0400 (EDT)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id BC33E7AE53F;
 Thu,  1 Nov 2007 11:27:51 -0400 (EDT)
Received: with ECARTIS (v1.0.0; list oracle-l); Thu, 01 Nov 2007 10:41:24 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 6C01A7AF205
 for <oracle-l@freelists.org>; Thu,  1 Nov 2007 10:41:24 -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 21921-10 for <oracle-l@freelists.org>;
 Thu, 1 Nov 2007 10:41:24 -0400 (EDT)
Received: from mx2.kocbank.com.tr (ANYWAY.kocbank.com.tr [195.46.132.157])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id ADF1F7AE9DE
 for <oracle-l@freelists.org>; Thu,  1 Nov 2007 10:41:23 -0400 (EDT)
Received: from camexc1.kfs.local ([10.222.8.20]) by MX2 with InterScan Message Security Suite; Thu, 01 Nov 2007 16:40:32 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by Ecartis
Subject: RE: anyway to trace a DDL statement?
Date: Thu, 1 Nov 2007 16:41:08 +0200
Message-ID: <083667B535F3464CA0DD0D1DAFA4E3760ED3F788@camexc1.kfs.local>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: anyway to trace a DDL statement?
References: <110120071331.20880.4729D54500090C52000051902202888744079D9A00000E09A1020E979D@comcast.net>
From: "Yasin Baskan" <yasin.baskan@yapikredi.com.tr>
To: <ryan_gaffuri@comcast.net>,
 <oracle-l@freelists.org>
X-archive-position: 2845
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: yasin.baskan@yapikredi.com.tr
Precedence: normal
Reply-to: yasin.baskan@yapikredi.com.tr
List-help: <mailto:ecartis@freelists.org?Subject=help>
List-unsubscribe: <oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-subscribe: <oracle-l-request@freelists.org?Subject=subscribe>
List-owner: <mailto:steve.adams@ixora.com.au>
List-post: <mailto:oracle-l@freelists.org>
List-archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l
X-Virus-Scanned: Debian amavisd-new at localhost.localdomain



In what version of the database, which level of 10046 and for which
command?

I get the following in 10G for a simple create table statement with
10046 level 12. It shows lots of recursive sqls.

OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS

call     count       cpu    elapsed       disk      query    current
rows
------- ------  -------- ---------- ---------- ---------- ----------
----------
Parse       21      0.06       0.07          0          0          6
0
Execute    177      0.19       0.21          3         15         44
6
Fetch      257      0.03       0.04          3        570          0
762
------- ------  -------- ---------- ---------- ---------- ----------
----------
total      455      0.28       0.33          6        585         50
768

Misses in library cache during parse: 21
Misses in library cache during execute: 21

Elapsed times include waiting on following events:
  Event waited on                             Times   Max. Wait  Total
Waited
  ----------------------------------------   Waited  ----------
------------
  db file sequential read                         6        0.00
0.03

    2  user  SQL statements in session.
  177  internal SQL statements in session.
  179  SQL statements in session.



-----Original Message-----
From: oracle-l-bounce@freelists.org
[mailto:oracle-l-bounce@freelists.org] On Behalf Of
ryan_gaffuri@comcast.net
Sent: Thursday, November 01, 2007 3:32 PM
To: oracle-l@freelists.org
Subject: anyway to trace a DDL statement?

If I run a 10046 trace on a DDL statement, I do not get the recursive
SQL that oracle runs underneath the DDL. Is there another form of trace
that will show me what oracle is doing? 
--
http://www.freelists.org/webpage/oracle-l





Bu mesaj ve onunla iletilen tum ekler gonderildigi kisi ya da kuruma ozel ve Bankalar Kanunu geregince, gizlilik yukumlulugu tasiyor olabilir. Bu mesaj, hicbir sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz; mesajin yetkili alicisi veya alicisina iletmekten sorumlu kisi degilseniz, mesaj icerigini ya da eklerini kopyalamayiniz, yayinlamayiniz, baska kisilere yonlendirmeyiniz ve mesaji gonderen kisiyi derhal uyararak bu mesaji siliniz. Bu mesajin iceriginde ya da eklerinde yer alan bilgilerin dogrulugu, butunlugu ve guncelligi Bankamiz tarafindan garanti edilmemektedir ve bilinen viruslere karsi kontrolleri yapilmis olarak yollanan mesajin sisteminizde yaratabilecegi zararlardan Bankamiz sorumlu tutulamaz.

This message and the files attached to it are under the privacy liability in accordance with the Banking Law and confidential to the use of the individual or entity to whom they are addressed. This message cannot be copied, disclosed or sold monetary consideration for any purpose. If you are not the intended recipient of this message, you should not copy, distribute, disclose or forward the information that exists in the content and in the attachments of this message; please notify the sender immediately and delete all copies of this message. Our Bank does not warrant the accuracy, integrity and currency of the information transmitted with this message. This message has been detected for all known computer viruses thence our Bank is not liable for the occurrence of any system corruption caused by this message
--
http://www.freelists.org/webpage/oracle-l


