<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Quiz Night</title>
	<atom:link href="http://jonathanlewis.wordpress.com/2011/11/25/quiz-night-14/feed/" rel="self" type="application/rss+xml" />
	<link>http://jonathanlewis.wordpress.com/2011/11/25/quiz-night-14/</link>
	<description>Just another Oracle weblog</description>
	<lastBuildDate>Thu, 23 May 2013 12:47:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: to_char() &#171; Oracle Scratchpad</title>
		<link>http://jonathanlewis.wordpress.com/2011/11/25/quiz-night-14/#comment-42789</link>
		<dc:creator><![CDATA[to_char() &#171; Oracle Scratchpad]]></dc:creator>
		<pubDate>Fri, 02 Dec 2011 07:49:17 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=7587#comment-42789</guid>
		<description><![CDATA[[...] Here&#8217;s an odd little detail about the to_char() function that happened to show up in a little demonstration code I used to create some data for last Friday&#8217;s quiz night. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Here&#8217;s an odd little detail about the to_char() function that happened to show up in a little demonstration code I used to create some data for last Friday&#8217;s quiz night. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: IOT Answer &#171; Oracle Scratchpad</title>
		<link>http://jonathanlewis.wordpress.com/2011/11/25/quiz-night-14/#comment-42648</link>
		<dc:creator><![CDATA[IOT Answer &#171; Oracle Scratchpad]]></dc:creator>
		<pubDate>Sun, 27 Nov 2011 22:04:03 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=7587#comment-42648</guid>
		<description><![CDATA[[...] was good to see the answers to the last Quiz Night accumulating. The problem posed was simply this: I have two IOTs and I&#8217;ve inserted the same [...]]]></description>
		<content:encoded><![CDATA[<p>[...] was good to see the answers to the last Quiz Night accumulating. The problem posed was simply this: I have two IOTs and I&#8217;ve inserted the same [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pavol Babel</title>
		<link>http://jonathanlewis.wordpress.com/2011/11/25/quiz-night-14/#comment-42642</link>
		<dc:creator><![CDATA[Pavol Babel]]></dc:creator>
		<pubDate>Sun, 27 Nov 2011 15:50:16 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=7587#comment-42642</guid>
		<description><![CDATA[exactly. The execution plan is very misleading in this situation. It was quite clear CF is the most importan statistic in this case, but the situation is even worst thah I expected.
Great example by Jonathan and great observations by you :)

Regarda
Pavol Babel]]></description>
		<content:encoded><![CDATA[<p>exactly. The execution plan is very misleading in this situation. It was quite clear CF is the most importan statistic in this case, but the situation is even worst thah I expected.<br />
Great example by Jonathan and great observations by you :)</p>
<p>Regarda<br />
Pavol Babel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2011/11/25/quiz-night-14/#comment-42638</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Sun, 27 Nov 2011 10:49:43 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=7587#comment-42638</guid>
		<description><![CDATA[GregG,
No; I wasn&#039;t trying to do anything subtle or devious in this example.]]></description>
		<content:encoded><![CDATA[<p>GregG,<br />
No; I wasn&#8217;t trying to do anything subtle or devious in this example.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2011/11/25/quiz-night-14/#comment-42637</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Sun, 27 Nov 2011 10:48:42 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=7587#comment-42637</guid>
		<description><![CDATA[Plenty of good comments here - and the answers are related to &lt;em&gt;&lt;strong&gt;overflow&lt;/strong&gt;&lt;/em&gt;.
I&#039;ll be writing a follow-up posting this evening, or possibly tomorrow evening.]]></description>
		<content:encoded><![CDATA[<p>Plenty of good comments here &#8211; and the answers are related to <em><strong>overflow</strong></em>.<br />
I&#8217;ll be writing a follow-up posting this evening, or possibly tomorrow evening.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vladimir Jelinek</title>
		<link>http://jonathanlewis.wordpress.com/2011/11/25/quiz-night-14/#comment-42636</link>
		<dc:creator><![CDATA[Vladimir Jelinek]]></dc:creator>
		<pubDate>Sun, 27 Nov 2011 10:33:34 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=7587#comment-42636</guid>
		<description><![CDATA[Hi Palo,
your are right. Optimizer could recognize that for table T3 he always hit v1 in PK. But apparently he doesn&#039;t do such deep analysis and create the execution plan with same cost. In reality both execution plans has very different cost.

I posted my example later but, in fact I was motivated by Jonathan&#039;s post from November 26, 2011 @ 10:01 am UTC. It&#039;s apparent from it, that overflow segment is small just few hundreds block, so the crucial thing is clustering factor and additional logical read which results from it.

IMO the worst thing is how the execution plan is misleading, because when I see INDEX FAST FULL SCAN, I expecting SEQUENTIAL READS from index segment which is true for T3 table but in case of T4 I have the same execution plan but in reality I have few sequential reads from index segment and LOT of RANDOM READS from overflow segment. On the overflow segment bigger than buffer cache with bad clustering factor I will get many random physical reads and execution times will be very different.]]></description>
		<content:encoded><![CDATA[<p>Hi Palo,<br />
your are right. Optimizer could recognize that for table T3 he always hit v1 in PK. But apparently he doesn&#8217;t do such deep analysis and create the execution plan with same cost. In reality both execution plans has very different cost.</p>
<p>I posted my example later but, in fact I was motivated by Jonathan&#8217;s post from November 26, 2011 @ 10:01 am UTC. It&#8217;s apparent from it, that overflow segment is small just few hundreds block, so the crucial thing is clustering factor and additional logical read which results from it.</p>
<p>IMO the worst thing is how the execution plan is misleading, because when I see INDEX FAST FULL SCAN, I expecting SEQUENTIAL READS from index segment which is true for T3 table but in case of T4 I have the same execution plan but in reality I have few sequential reads from index segment and LOT of RANDOM READS from overflow segment. On the overflow segment bigger than buffer cache with bad clustering factor I will get many random physical reads and execution times will be very different.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pavol Babel</title>
		<link>http://jonathanlewis.wordpress.com/2011/11/25/quiz-night-14/#comment-42622</link>
		<dc:creator><![CDATA[Pavol Babel]]></dc:creator>
		<pubDate>Sat, 26 Nov 2011 21:56:49 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=7587#comment-42622</guid>
		<description><![CDATA[Hi Vlado,

You posted your example later, but I have to admit  your&#039;s is more accurate, it better describes the CBO&#039;s decision. I though CBO knew it didn&#039;t  have to visit OVERFLOW SEGMENT when &quot;INCLUDING v1 OVERFLOW&quot; was used (and the default PCTTHRESHOLD 50).  CBO has enough information to consider that non-key column  v1 will be always stored in PRIMARY INDEX part of IOT, because id1, id2 and v1 together will never reach 50% of 8192 (or event 4096 o 2048) byte block. 
However optimizer obviously predicts the OVERFLOW SEGMENT inspection for every row when any non-key column is specified in SQL statement and it&#039;s quite significant different from the runtime execution.

Regards
Pavol Babel]]></description>
		<content:encoded><![CDATA[<p>Hi Vlado,</p>
<p>You posted your example later, but I have to admit  your&#8217;s is more accurate, it better describes the CBO&#8217;s decision. I though CBO knew it didn&#8217;t  have to visit OVERFLOW SEGMENT when &#8220;INCLUDING v1 OVERFLOW&#8221; was used (and the default PCTTHRESHOLD 50).  CBO has enough information to consider that non-key column  v1 will be always stored in PRIMARY INDEX part of IOT, because id1, id2 and v1 together will never reach 50% of 8192 (or event 4096 o 2048) byte block.<br />
However optimizer obviously predicts the OVERFLOW SEGMENT inspection for every row when any non-key column is specified in SQL statement and it&#8217;s quite significant different from the runtime execution.</p>
<p>Regards<br />
Pavol Babel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vladimir Jelinek</title>
		<link>http://jonathanlewis.wordpress.com/2011/11/25/quiz-night-14/#comment-42619</link>
		<dc:creator><![CDATA[Vladimir Jelinek]]></dc:creator>
		<pubDate>Sat, 26 Nov 2011 17:53:52 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=7587#comment-42619</guid>
		<description><![CDATA[previous post wan&#039;t complete. Reposting:

[sourcecode language=&quot;text&quot;]

DROP TABLE t1;
CREATE TABLE t1 (
 id1 NUMBER,
 id2 NUMBER,
 v1 VARCHAR2(40),
 v2 VARCHAR2(40),
 padding VARCHAR2(500)
)
TABLESPACE dtest;

INSERT INTO t1
SELECT mod(rownum,100), rownum, mod(rownum,100), rownum/100, lpad(&#039;A&#039;, 500, &#039;A&#039;)
FROM dba_objects WHERE rownum &lt;= 2000;

DROP TABLE t3;
CREATE TABLE t3 (
 id1 NUMBER,
 id2 NUMBER,
 v1 VARCHAR2(40),
 v2 VARCHAR2(40),
 padding VARCHAR2(500),
 CONSTRAINT t3_pk PRIMARY KEY(id1,id2)
)
ORGANIZATION INDEX
INCLUDING v1 OVERFLOW
TABLESPACE dtest;


DROP TABLE t4;
CREATE TABLE t4 (
 id1 NUMBER,
 id2 NUMBER,
 v1 VARCHAR2(40),
 v2 VARCHAR2(40),
 padding VARCHAR2(500),
 CONSTRAINT t4_pk PRIMARY KEY(id1,id2)
)
ORGANIZATION INDEX
INCLUDING id2 OVERFLOW
TABLESPACE dtest;


INSERT INTO t3 select * from t1;
COMMIT;
INSERT INTO t4 select * from t1;
COMMIT;

-- gather stats


TABLE_NAME                     IOT_NAME                           BLOCKS LAST_ANALY
------------------------------ ------------------------------ ---------- ----------
SYS_IOT_OVER_75386             T3                                    143 26.11.2011
SYS_IOT_OVER_75389             T4                                    143 26.11.2011
T1                                                                   158 26.11.2011
T3                                                                       26.11.2011
T4                                                                       26.11.2011

INDEX_NAME                         BLEVEL LEAF_BLOCKS    AVG_LPK    AVG_DPK       CLUF
------------------------------ ---------- ----------- ---------- ---------- ----------
T3_PK                                   1          13          1          1       2000
T4_PK                                   1           8          1          1       2000


SQL&gt; select max(v1) from t3;

Execution Plan
----------------------------------------------------------
Plan hash value: 3180047932

-------------------------------------------------------------------------------
&#124; Id  &#124; Operation             &#124; Name  &#124; Rows  &#124; Bytes &#124; Cost (%CPU)&#124; Time     &#124;
-------------------------------------------------------------------------------
&#124;   0 &#124; SELECT STATEMENT      &#124;       &#124;     1 &#124;     3 &#124;  2005   (0)&#124; 00:00:25 &#124;
&#124;   1 &#124;  SORT AGGREGATE       &#124;       &#124;     1 &#124;     3 &#124;            &#124;          &#124;
&#124;   2 &#124;   INDEX FAST FULL SCAN&#124; T3_PK &#124;  2000 &#124;  6000 &#124;  2005   (0)&#124; 00:00:25 &#124;
-------------------------------------------------------------------------------


Statistics
----------------------------------------------------------
          1  recursive calls
          0  db block gets
         62  consistent gets
          0  physical reads
          0  redo size
        217  bytes sent via SQL*Net to client
        239  bytes received via SQL*Net from client
          2  SQL*Net roundtrips to/from client
          0  sorts (memory)
          0  sorts (disk)
          1  rows processed

SQL&gt; select max(v1) from t4;


Execution Plan
----------------------------------------------------------
Plan hash value: 2975522427

-------------------------------------------------------------------------------
&#124; Id  &#124; Operation             &#124; Name  &#124; Rows  &#124; Bytes &#124; Cost (%CPU)&#124; Time     &#124;
-------------------------------------------------------------------------------
&#124;   0 &#124; SELECT STATEMENT      &#124;       &#124;     1 &#124;     3 &#124;  2004   (0)&#124; 00:00:25 &#124;
&#124;   1 &#124;  SORT AGGREGATE       &#124;       &#124;     1 &#124;     3 &#124;            &#124;          &#124;
&#124;   2 &#124;   INDEX FAST FULL SCAN&#124; T4_PK &#124;  2000 &#124;  6000 &#124;  2004   (0)&#124; 00:00:25 &#124;
-------------------------------------------------------------------------------


Statistics
----------------------------------------------------------
          0  recursive calls
          0  db block gets
       2041  consistent gets
          0  physical reads
          0  redo size
        224  bytes sent via SQL*Net to client
        239  bytes received via SQL*Net from client
          2  SQL*Net roundtrips to/from client
          0  sorts (memory)
          0  sorts (disk)
          1  rows processed



[/sourcecode]]]></description>
		<content:encoded><![CDATA[<p>previous post wan&#8217;t complete. Reposting:</p>
<pre class="brush: plain; title: ; notranslate">

DROP TABLE t1;
CREATE TABLE t1 (
 id1 NUMBER,
 id2 NUMBER,
 v1 VARCHAR2(40),
 v2 VARCHAR2(40),
 padding VARCHAR2(500)
)
TABLESPACE dtest;

INSERT INTO t1
SELECT mod(rownum,100), rownum, mod(rownum,100), rownum/100, lpad('A', 500, 'A')
FROM dba_objects WHERE rownum &lt;= 2000;

DROP TABLE t3;
CREATE TABLE t3 (
 id1 NUMBER,
 id2 NUMBER,
 v1 VARCHAR2(40),
 v2 VARCHAR2(40),
 padding VARCHAR2(500),
 CONSTRAINT t3_pk PRIMARY KEY(id1,id2)
)
ORGANIZATION INDEX
INCLUDING v1 OVERFLOW
TABLESPACE dtest;


DROP TABLE t4;
CREATE TABLE t4 (
 id1 NUMBER,
 id2 NUMBER,
 v1 VARCHAR2(40),
 v2 VARCHAR2(40),
 padding VARCHAR2(500),
 CONSTRAINT t4_pk PRIMARY KEY(id1,id2)
)
ORGANIZATION INDEX
INCLUDING id2 OVERFLOW
TABLESPACE dtest;


INSERT INTO t3 select * from t1;
COMMIT;
INSERT INTO t4 select * from t1;
COMMIT;

-- gather stats


TABLE_NAME                     IOT_NAME                           BLOCKS LAST_ANALY
------------------------------ ------------------------------ ---------- ----------
SYS_IOT_OVER_75386             T3                                    143 26.11.2011
SYS_IOT_OVER_75389             T4                                    143 26.11.2011
T1                                                                   158 26.11.2011
T3                                                                       26.11.2011
T4                                                                       26.11.2011

INDEX_NAME                         BLEVEL LEAF_BLOCKS    AVG_LPK    AVG_DPK       CLUF
------------------------------ ---------- ----------- ---------- ---------- ----------
T3_PK                                   1          13          1          1       2000
T4_PK                                   1           8          1          1       2000


SQL&gt; select max(v1) from t3;

Execution Plan
----------------------------------------------------------
Plan hash value: 3180047932

-------------------------------------------------------------------------------
| Id  | Operation             | Name  | Rows  | Bytes | Cost (%CPU)| Time     |
-------------------------------------------------------------------------------
|   0 | SELECT STATEMENT      |       |     1 |     3 |  2005   (0)| 00:00:25 |
|   1 |  SORT AGGREGATE       |       |     1 |     3 |            |          |
|   2 |   INDEX FAST FULL SCAN| T3_PK |  2000 |  6000 |  2005   (0)| 00:00:25 |
-------------------------------------------------------------------------------


Statistics
----------------------------------------------------------
          1  recursive calls
          0  db block gets
         62  consistent gets
          0  physical reads
          0  redo size
        217  bytes sent via SQL*Net to client
        239  bytes received via SQL*Net from client
          2  SQL*Net roundtrips to/from client
          0  sorts (memory)
          0  sorts (disk)
          1  rows processed

SQL&gt; select max(v1) from t4;


Execution Plan
----------------------------------------------------------
Plan hash value: 2975522427

-------------------------------------------------------------------------------
| Id  | Operation             | Name  | Rows  | Bytes | Cost (%CPU)| Time     |
-------------------------------------------------------------------------------
|   0 | SELECT STATEMENT      |       |     1 |     3 |  2004   (0)| 00:00:25 |
|   1 |  SORT AGGREGATE       |       |     1 |     3 |            |          |
|   2 |   INDEX FAST FULL SCAN| T4_PK |  2000 |  6000 |  2004   (0)| 00:00:25 |
-------------------------------------------------------------------------------


Statistics
----------------------------------------------------------
          0  recursive calls
          0  db block gets
       2041  consistent gets
          0  physical reads
          0  redo size
        224  bytes sent via SQL*Net to client
        239  bytes received via SQL*Net from client
          2  SQL*Net roundtrips to/from client
          0  sorts (memory)
          0  sorts (disk)
          1  rows processed



</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vladimir Jelinek</title>
		<link>http://jonathanlewis.wordpress.com/2011/11/25/quiz-night-14/#comment-42617</link>
		<dc:creator><![CDATA[Vladimir Jelinek]]></dc:creator>
		<pubDate>Sat, 26 Nov 2011 17:22:01 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=7587#comment-42617</guid>
		<description><![CDATA[Finaly I have option to test on DB. I stick to my original idea of different including clause.
It&#039;s pretty close to original numbers. The crucial point is clustering factor. So the testing has to be generated so that Oracle can&#039;t use blocks from overflow area physical order, but has to jump between them for each row from primary key. It leads to 2000 gets.
My testcase:
[sourcecode]
TABLESPACE 8k, UNIFORM , MANUAL

DROP TABLE t1;
CREATE TABLE t1 (
 id1 NUMBER,
 id2 NUMBER,
 v1 VARCHAR2(40),
 v2 VARCHAR2(40),
 padding VARCHAR2(500)
)
TABLESPACE dtest;

INSERT INTO t1
SELECT mod(rownum,100), rownum, mod(rownum,100), rownum/100, lpad(&#039;A&#039;, 500, &#039;A&#039;)
FROM dba_objects WHERE rownum  select max(v1) from t3;

Execution Plan
----------------------------------------------------------
Plan hash value: 3180047932

-------------------------------------------------------------------------------
&#124; Id  &#124; Operation             &#124; Name  &#124; Rows  &#124; Bytes &#124; Cost (%CPU)&#124; Time     &#124;
-------------------------------------------------------------------------------
&#124;   0 &#124; SELECT STATEMENT      &#124;       &#124;     1 &#124;     3 &#124;  2005   (0)&#124; 00:00:25 &#124;
&#124;   1 &#124;  SORT AGGREGATE       &#124;       &#124;     1 &#124;     3 &#124;            &#124;          &#124;
&#124;   2 &#124;   INDEX FAST FULL SCAN&#124; T3_PK &#124;  2000 &#124;  6000 &#124;  2005   (0)&#124; 00:00:25 &#124;
-------------------------------------------------------------------------------


Statistics
----------------------------------------------------------
          1  recursive calls
          0  db block gets
         62  consistent gets
          0  physical reads
          0  redo size
        217  bytes sent via SQL*Net to client
        239  bytes received via SQL*Net from client
          2  SQL*Net roundtrips to/from client
          0  sorts (memory)
          0  sorts (disk)
          1  rows processed

SQL&gt; select max(v1) from t4;


Execution Plan
----------------------------------------------------------
Plan hash value: 2975522427

-------------------------------------------------------------------------------
&#124; Id  &#124; Operation             &#124; Name  &#124; Rows  &#124; Bytes &#124; Cost (%CPU)&#124; Time     &#124;
-------------------------------------------------------------------------------
&#124;   0 &#124; SELECT STATEMENT      &#124;       &#124;     1 &#124;     3 &#124;  2004   (0)&#124; 00:00:25 &#124;
&#124;   1 &#124;  SORT AGGREGATE       &#124;       &#124;     1 &#124;     3 &#124;            &#124;          &#124;
&#124;   2 &#124;   INDEX FAST FULL SCAN&#124; T4_PK &#124;  2000 &#124;  6000 &#124;  2004   (0)&#124; 00:00:25 &#124;
-------------------------------------------------------------------------------


Statistics
----------------------------------------------------------
          0  recursive calls
          0  db block gets
       2041  consistent gets
          0  physical reads
          0  redo size
        224  bytes sent via SQL*Net to client
        239  bytes received via SQL*Net from client
          2  SQL*Net roundtrips to/from client
          0  sorts (memory)
          0  sorts (disk)
          1  rows processed
[/sourcecode]]]></description>
		<content:encoded><![CDATA[<p>Finaly I have option to test on DB. I stick to my original idea of different including clause.<br />
It&#8217;s pretty close to original numbers. The crucial point is clustering factor. So the testing has to be generated so that Oracle can&#8217;t use blocks from overflow area physical order, but has to jump between them for each row from primary key. It leads to 2000 gets.<br />
My testcase:</p>
<pre class="brush: plain; title: ; notranslate">
TABLESPACE 8k, UNIFORM , MANUAL

DROP TABLE t1;
CREATE TABLE t1 (
 id1 NUMBER,
 id2 NUMBER,
 v1 VARCHAR2(40),
 v2 VARCHAR2(40),
 padding VARCHAR2(500)
)
TABLESPACE dtest;

INSERT INTO t1
SELECT mod(rownum,100), rownum, mod(rownum,100), rownum/100, lpad('A', 500, 'A')
FROM dba_objects WHERE rownum  select max(v1) from t3;

Execution Plan
----------------------------------------------------------
Plan hash value: 3180047932

-------------------------------------------------------------------------------
| Id  | Operation             | Name  | Rows  | Bytes | Cost (%CPU)| Time     |
-------------------------------------------------------------------------------
|   0 | SELECT STATEMENT      |       |     1 |     3 |  2005   (0)| 00:00:25 |
|   1 |  SORT AGGREGATE       |       |     1 |     3 |            |          |
|   2 |   INDEX FAST FULL SCAN| T3_PK |  2000 |  6000 |  2005   (0)| 00:00:25 |
-------------------------------------------------------------------------------


Statistics
----------------------------------------------------------
          1  recursive calls
          0  db block gets
         62  consistent gets
          0  physical reads
          0  redo size
        217  bytes sent via SQL*Net to client
        239  bytes received via SQL*Net from client
          2  SQL*Net roundtrips to/from client
          0  sorts (memory)
          0  sorts (disk)
          1  rows processed

SQL&amp;gt; select max(v1) from t4;


Execution Plan
----------------------------------------------------------
Plan hash value: 2975522427

-------------------------------------------------------------------------------
| Id  | Operation             | Name  | Rows  | Bytes | Cost (%CPU)| Time     |
-------------------------------------------------------------------------------
|   0 | SELECT STATEMENT      |       |     1 |     3 |  2004   (0)| 00:00:25 |
|   1 |  SORT AGGREGATE       |       |     1 |     3 |            |          |
|   2 |   INDEX FAST FULL SCAN| T4_PK |  2000 |  6000 |  2004   (0)| 00:00:25 |
-------------------------------------------------------------------------------


Statistics
----------------------------------------------------------
          0  recursive calls
          0  db block gets
       2041  consistent gets
          0  physical reads
          0  redo size
        224  bytes sent via SQL*Net to client
        239  bytes received via SQL*Net from client
          2  SQL*Net roundtrips to/from client
          0  sorts (memory)
          0  sorts (disk)
          1  rows processed
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pavol Babel</title>
		<link>http://jonathanlewis.wordpress.com/2011/11/25/quiz-night-14/#comment-42615</link>
		<dc:creator><![CDATA[Pavol Babel]]></dc:creator>
		<pubDate>Sat, 26 Nov 2011 16:53:06 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=7587#comment-42615</guid>
		<description><![CDATA[Well, 4. is not correct. It is was just easier fo me to simulate CF 2000 for T3_PK and T4_PK with overflow semgents at size of 2000 blocks. 

One more remark. It is not important whether jonathan&#039;s T1 is heap table, IOT, hash cluster, or whatever. So I dind&#039;t use SELECT insetad of t1 im my examples

Regards
Pavol Babel]]></description>
		<content:encoded><![CDATA[<p>Well, 4. is not correct. It is was just easier fo me to simulate CF 2000 for T3_PK and T4_PK with overflow semgents at size of 2000 blocks. </p>
<p>One more remark. It is not important whether jonathan&#8217;s T1 is heap table, IOT, hash cluster, or whatever. So I dind&#8217;t use SELECT insetad of t1 im my examples</p>
<p>Regards<br />
Pavol Babel</p>
]]></content:encoded>
	</item>
</channel>
</rss>
