Updated 2021 with a catalogue of articles that I’ve written about IOTs since I first posted this note.
That’s Index Organized Tables, of course. Searching back through my blog I find that I’ve only written a couple of articles about IOTs although I’m very keen on taking advantage of them and have made a few references to them in other articles. Rather than addressing this oversight myself, I thought I’d direct you to a series on IOTs by Martin Widlake.
- Part 1: The basics
- Part 2: Examples and Proofs
- Part 3: Greatly reduced I/O
- Part 4: Boosting buffer cache efficiency
- Part 5: Primary Key issues
- Part 6a: Inserts and updates slowed down
- Part 6b: OLTP inserts into an IOT
Updated Feb 2014 with another worthwhile catalogue of articles
Richard Foote’s array of articles on IOTs
- An introduction
- IOTs – pctthreshold
- Overflow segments – pt. 1
- Overflow segments – pt. 2
- Secondary Indexes – primary considerations
- Secondary Indexes – an introduction
- Secondary indexes (logical rowid) – pt.1
- Secondary indexes (logical rowid) – pt.2
Update Feb 2021 – a catalogue of my own IOT articles in date order:
- A case study of IOTs and an optimizer error (Feb 2008)
- IOTs and Block Size (Oct 2008)
- Online index rebuilds have an IOT issue (June 2009)
- IOTs, FIFOs, Queues and rebuilds (Mar 2011)
- A little quiz on IOT execution plans and the answer (Nov 2011)
- A trap when using the “including” clause (Dec 2011)
- Thoughts on loading an empty IOT as quickly as possible (Nov 2012)
- auto_sample_size and IOT overflow segments don’t mix (Mar 2014)
- The problem of gathering stats on an IOT (Sept 2016)
- IOTs and direct path loads – /*+ append */ (July 2018)
- How sys_op_lbid() is used with IOTs (Mar 2019)
- Online doesn’t cover everything (Jul 2019)
- Hidden costs of hash joins with IOTs (Oct 2019)
- Space threat from bug in secondary indexes (Dec 2019)
Thanks for the mention Jonathan. I started the series partly because neither yourself or “the king of indexes” Richard Foote had blogged much about them. I think I might eventually get to post 10 or 12 on the subject…
Comment by mwidlake — November 22, 2011 @ 10:02 am GMT Nov 22,2011 |
Martin,
I’ll be looking forward to reading the next lot.
If you want to add a comment here each time you publish one I’ll add it to the list.
Comment by Jonathan Lewis — November 23, 2011 @ 7:42 am GMT Nov 23,2011 |
Jonathan,
thank you for adding the second list: now I finally have the one single link to answer all IOT questions I get.
Comment by Martin Preiss — February 10, 2014 @ 9:23 pm GMT Feb 10,2014 |
[…] PARTITION”. The last five lines report objects that are the physical instantiation of index organized tables (IOTs) so, although they are indexes and we can call gather_index_stats(), we would probably prefer […]
Pingback by Stale Stats | Oracle Scratchpad — March 28, 2019 @ 9:00 am GMT Mar 28,2019 |
[…] Index Organized Tables (IOT) catalogue (Blog notes 14, Other authors 15) […]
Pingback by Catalog Catalogue | Oracle Scratchpad — April 20, 2022 @ 2:22 pm BST Apr 20,2022 |