From oracle-l-bounce@freelists.org Thu Mar 4 14:30:43 2004 Return-Path: Received: from air189.startdedicated.com (root@localhost) by orafaq.com (8.11.6/8.11.6) with ESMTP id i24KUhY30777 for ; Thu, 4 Mar 2004 14:30:43 -0600 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 i24KUbo30743 for ; Thu, 4 Mar 2004 14:30:38 -0600 Received: from turing (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 8780A397F8F; Thu, 4 Mar 2004 14:50:36 -0500 (EST) Received: with ECARTIS (v1.0.0; list oracle-l); Thu, 04 Mar 2004 14:49:07 -0500 (EST) X-Original-To: oracle-l@freelists.org Delivered-To: oracle-l@freelists.org Received: from kamricsvexchfe.us.kline.com (mail1.us.kline.com [206.103.2.30]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 4623E396696 for ; Thu, 4 Mar 2004 14:23:12 -0500 (EST) Received: from KAMRICEXCLUS ([208.174.123.134]) by kamricsvexchfe.us.kline.com with Microsoft SMTPSVC(5.0.2195.6747); Thu, 4 Mar 2004 14:27:05 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4021E.AD609C87" Subject: stats on tables - analyze for all indexed columns Date: Thu, 4 Mar 2004 14:27:05 -0500 Message-ID: <5042FDC675779848A113F70D54F5874906AC1491@KAMRICEXCLUS.us.kline.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: stats on tables - analyze for all indexed columns Thread-Index: AcQCHquGDP2/VIRlQ3mQn+Kqf0hCPg== From: "Fedock, John (KAM.RHQ)" To: X-OriginalArrivalTime: 04 Mar 2004 19:27:05.0353 (UTC) FILETIME=[AD552790:01C4021E] X-archive-position: 388 X-ecartis-version: Ecartis v1.0.0 Sender: oracle-l-bounce@freelists.org Errors-To: oracle-l-bounce@freelists.org X-original-sender: John.Fedock@us.kline.com Precedence: normal Reply-To: oracle-l@freelists.org X-list: oracle-l ------_=_NextPart_001_01C4021E.AD609C87 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Looking for some advice on gathering stats on my tables. =20 =20 I analyze estimate statistics on most tables and analyze table for all = indexed columns on a few others (also known as Histograms). I then have = a job that goes through and copies num_rows, blocks, etc and stores this = in another table. I'm sure most shops have similar jobs set up like = this. =20 I have noticed that when doing the histograms, no data is gathered at = the table level, only at the index level. I am reluctant to also = include the table, as things are running great right now. Any ideas = .... or any harm in gathering table stats AND histogram info. =20 =20 We are using the CBO and running v 8.1.7.4 on HP-UX. =20 TIA. =20 John =20 =20 John Fedock=20 "K" Line America, Inc.=20 www.kline.com=20 * john.fedock@us.kline.com=20 =20 ------_=_NextPart_001_01C4021E.AD609C87 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Looking for some=20 advice on gathering stats on my tables. 
 
I = analyze estimate=20 statistics on most tables and analyze table for all indexed columns on a = few=20 others (also known as Histograms).  I then have a job that goes = through and=20 copies num_rows, blocks, etc and stores this in another table.  I'm = sure=20 most shops have similar jobs set up like this.
 
I have = noticed that=20 when doing the histograms, no data is gathered at the table = level,=20 only at the index level.  I am reluctant to also include the table, = as=20 things are running great right now.  Any ideas  .... or = any harm=20 in gathering table stats AND histogram info.    =
 
We are = using the CBO=20 and running v 8.1.7.4 on HP-UX.
 
TIA.
 
John
 
 

John Fedock
"K" Line America, = Inc.
www.kline.com
* john.fedock@us.kline.com


 
------_=_NextPart_001_01C4021E.AD609C87-- ---------------------------------------------------------------- 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 -----------------------------------------------------------------