November 16, 2006

11g benefits

Posting from the UKOUG (UK Oracle User Group) conference. A couple of useful details from Tom Kyte’s technical keynote on “Things which might be in 11g but we’re not making any promises and you can’t hold us to it”.

The optimizer will be extended to allow us to collect some statistical information about correlated columns. This should help the optimizer to deal with combining predicates like: “Orders made in the last two weeks” with “Orders that have not yet been delivered” – if they’re recent orders, they’re more likely to be undelivered. I’m looking forward to seeing how far the Optimizer team has got with handling this rather difficult problem.

Partition handling: one of the current irritations for partitioning is that you have to disable referential integrity between partitioned tables if you want to drop old partitions. (Drop child partition Jan2001, followed by an attempt to drop the “obviously matching” parent partition Jan2001 currently results in Oracle error “ORA-02266: unique/primary keys in table referenced by enabled foreign keys”). 11g will give us the ability to declare that the partitioning of the child table is dependent on the partitioning of the parent table, and therefore guaranteed to be in-synch with the parent table. Apart from handling the drop partition problem, this should also help to avoid accidents that manage to disable partition-wise joins.

Related

I saw that too and was particularly interested in the new partitioning options (like range:range and range by INTERVAL) and compression for tables in an OLTP environment (i.e. not requiring direct path operations for them to take advantage of it)…both great new features that may be in some future version which might be called 11g.

So it is said – I think I may even have tested it by now: https://jonathanlewis.wordpress.com/2012/10/02/partitioning-12c/
But you can always check the catalogue that Steve Karam has been building (currently listed as the first entry in the blogroll to the right of this page) to see if anyone else has published any tests.