From oracle-l-bounce@freelists.org Fri Apr 8 16:24:48 2005 Return-Path: Received: from air891.startdedicated.com (root@localhost) by orafaq.com (8.12.10/8.12.10) with ESMTP id j38LOm3o024294 for ; Fri, 8 Apr 2005 16:24:48 -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 j38LOjem024283 for ; Fri, 8 Apr 2005 16:24:47 -0500 Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 3CC6392159; Fri, 8 Apr 2005 15:22:39 -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 07793-01; Fri, 8 Apr 2005 15:22:39 -0500 (EST) Received: from turing (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id ACE22921F5; Fri, 8 Apr 2005 15:22:38 -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:references; b=QfyyAJ6yrFfrlr6iNP+bWJo/RuzwX04HmHH8JoA5B+J8FxCC/nM9FoFpqVr+9RkIEEzXLqfufTk9XLwaVVq0uNk2OnGWOBg2SqF1aQrRoS2QB8uAafCP9LmjCDy1Ojl4DExEnbgNLWLx+dcb2cWUpgpnJg+shMnc8Sd15p3nBko= Message-ID: <52a152eb05040813203f3cde0@mail.gmail.com> Date: Fri, 8 Apr 2005 16:20:51 -0400 From: Christo Kutrovsky To: zoran_martic@yahoo.com Subject: Re: Index on status field? Cc: Oracle-L@freelists.org In-Reply-To: <20050408200516.77774.qmail@web52601.mail.yahoo.com> Mime-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit References: <20050408200516.77774.qmail@web52601.mail.yahoo.com> X-archive-position: 18228 X-ecartis-version: Ecartis v1.0.0 Sender: oracle-l-bounce@freelists.org Errors-To: oracle-l-bounce@freelists.org X-original-sender: kutrovsky.oracle@gmail.com Precedence: normal Reply-To: kutrovsky.oracle@gmail.com X-list: oracle-l X-Virus-Scanned: by amavisd-new-20030616-p9 (Debian) at avenirtech.net X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on air891.startdedicated.com X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=ham version=2.60 X-Spam-Level: I havent confirmed this with a test case, but here it is: Imagine again a long list, ordered. It covers 10 pages. On 2 of the pages, you have 2 empty lines (slots). You have the ability to rewrite a single page, without touching the other pages. You are going to basically use (or re-use) the slots when a given entry has to go AFTER the last entry of the previous page AND BEFORE the first entry of the next page. Anywhere within that page, Oracle will re-arrange it and insert the "item". I hope my example was some-what helpfull. I can try harder if needed :) On Apr 8, 2005 4:05 PM, Martic Zoran wrote: > Christo, > > I understand the general mechanism about indexes and > tables. > What is left is: > > Remember i said the ordering was index key, > > rowid. > How is that working? To say that you have 10 blocks > where there are 2 slots left in each. > When and how is that going to be reused exactly? > Which algorithm is that? Some ORacle specific? > > That is what I am searching if anybody knows. > > I did not get that from your answer, but it is good > point. Where did you find out it depends on speific > rowid when the value is the same? Probably some > doc/note? > > Regards, > Zoran > > __________________________________ > Do you Yahoo!? > Yahoo! Personals - Better first dates. More second dates. > http://personals.yahoo.com > > -- > http://www.freelists.org/webpage/oracle-l > -- Christo Kutrovsky Database/System Administrator The Pythian Group -- http://www.freelists.org/webpage/oracle-l