From oracle-l-bounce@freelists.org Wed May 19 12:16:10 2004 Return-Path: Received: from air189.startdedicated.com (root@localhost) by orafaq.com (8.11.6/8.11.6) with ESMTP id i4JHFtO06074 for ; Wed, 19 May 2004 12:16:05 -0500 X-ClientAddr: 206.53.239.180 Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180]) by air189.startdedicated.com (8.11.6/8.11.6) with ESMTP id i4JHFj606025 for ; Wed, 19 May 2004 12:15:55 -0500 Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 80B1D72D141; Wed, 19 May 2004 12:04:12 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22223-91; Wed, 19 May 2004 12:04:12 -0500 (EST) Received: from turing (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id D23D972D133; Wed, 19 May 2004 12:04:11 -0500 (EST) Received: with ECARTIS (v1.0.0; list oracle-l); Wed, 19 May 2004 12:02:55 -0500 (EST) X-Original-To: oracle-l@freelists.org Delivered-To: oracle-l@freelists.org Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 84A1272CF41 for ; Wed, 19 May 2004 12:02:54 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21367-96 for ; Wed, 19 May 2004 12:02:54 -0500 (EST) Received: from web20729.mail.yahoo.com (web20729.mail.yahoo.com [216.136.226.119]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with SMTP id 2FF7B72CCE0 for ; Wed, 19 May 2004 12:02:53 -0500 (EST) Message-ID: <20040519171854.96138.qmail@web20729.mail.yahoo.com> Received: from [212.20.241.39] by web20729.mail.yahoo.com via HTTP; Wed, 19 May 2004 10:18:54 PDT Date: Wed, 19 May 2004 10:18:54 -0700 (PDT) From: Charlotte Hammond Subject: Performance of DBMS_STATS vs ANALYZE To: ORACLE-L MIME-Version: 1.0 Content-type: text/plain X-Virus-Scanned: by amavisd-new at freelists.org Content-Transfer-Encoding: 8bit X-archive-position: 913 X-ecartis-version: Ecartis v1.0.0 Sender: oracle-l-bounce@freelists.org Errors-To: oracle-l-bounce@freelists.org X-original-sender: charlottejanehammond@yahoo.com Precedence: normal Reply-To: oracle-l@freelists.org X-list: oracle-l X-Virus-Scanned: by amavisd-new at freelists.org Hi All, Could I ask people's experience with DBMS_STATS with regard to performance. When I run this: DBMS_STATS.GATHER_SCHEMA_STATS( OWNNAME=>'myschema', ESTIMATE_PERCENT=>'<>', CASCADE=>TRUE); It is anywhere between 3 and 4 times slower than a script containing ANALYZE TABLE myschema. ESTIMATE STATISTICS SAMPLE <> PERCENT FOR TABLE FOR ALL INDEXES; for all the tables in my schema. There are approx. 1000 tables, many of which are empty. I have tried this on 9.2.0.4 and 9.2.0.5 with similar results. Is this typical? Thanks - Charlotte --------------------------------- Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request@freelists.org put 'unsubscribe' in the subject line. -- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------