From oracle-l-bounce@freelists.org Mon Jul 11 13:48:26 2005 Return-Path: Received: from air891.startdedicated.com (root@localhost) by orafaq.com (8.12.10/8.12.10) with ESMTP id j6BImQcC022686 for ; Mon, 11 Jul 2005 13:48:26 -0500 X-ClientAddr: 206.53.239.180 Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180]) by air891.startdedicated.com (8.12.10/8.12.10) with ESMTP id j6BImKIP022673 for ; Mon, 11 Jul 2005 13:48:20 -0500 Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id BB1EF1CBD3B; Mon, 11 Jul 2005 13:48:14 -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 27638-06; Mon, 11 Jul 2005 13:48:14 -0500 (EST) Received: from turing (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 45D1D1CB854; Mon, 11 Jul 2005 13:48:14 -0500 (EST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Q546teQPkaauvN77X2yRNK26rOnURKYIqsufm+Ef0hiYA+RgdBp9qUQfM//Q8apt24qOXm/PRg5NxB9L8f9CKul1fJACXzZ19zSHKAOtDLp8+MOpPvtoUDVeimuIPlGtNYnisghuxY7am2CXcSz0dy4G8ockx6lBE7vFYmdEghI= Message-ID: Date: Mon, 11 Jul 2005 14:46:27 -0400 From: Tanmoy To: Juan Carlos Reyes Pacheco Subject: Re: Optimizing Programs for ORACLE Apps (RULE Based) Cc: oracle-l@freelists.org, mwf@rsiz.com In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by Ecartis Content-Disposition: inline References: X-archive-position: 22302 X-ecartis-version: Ecartis v1.0.0 Sender: oracle-l-bounce@freelists.org Errors-To: oracle-l-bounce@freelists.org X-original-sender: tanmoydc@gmail.com Precedence: normal Reply-To: tanmoydc@gmail.com X-list: oracle-l X-Virus-Scanned: by amavisd-new-20030616-p9 (Debian) at avenirtech.net X-mailscan-MailScanner-Information: Please contact the ISP for more information X-mailscan-MailScanner: Found to be clean X-MailScanner-From: oracle-l-bounce@freelists.org X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on air891.startdedicated.com X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 Hi Juan, Thanks for suggesting the same. Due to management decision there wont be any upgrade. However i can change the session level parameter for the particular program . I am thinking for doing execute immediate to change the following parameter for my session optimizer_mode = CHOOSE optimizer_max_permutations = 2000 (now 80000) db_file_multiblock_read_count = 8 ( now 64 ) index_cost_adj = 80 index_cashing = 20 Do let me know if you suggest something. Current parameter are given in my original post. On 7/11/05, Juan Carlos Reyes Pacheco wrote: > Hi Tanmoy, my two cents. > Why don't you try to create a test environment and move to CBO, > recalculate full statistics and see. > Maybe this could be your real solution. > This is risky, but this could solve several present and future problems at once. > Anyway rule mode had been deprecated, there is no reason to continue using it. > Soon or later your system will have to move to cbo, and I think is better soon. > -- Regards, Tanmoy -- "Time is the coin of life. Only you can determine how it will be spent." -- http://www.freelists.org/webpage/oracle-l