Tag Archives: 10gR2

Extended statistics and function-based indexes

About a year ago I’ve discovered nice feature of Oracle 10gR2 CBO: to overcome an issue with calculated selectivity for predicates on multiple columns, it can use DISTINCT_KEYS of the available index. Couple of weeks ago the bug fix mentioned in the OTN thread actually helped to solve a performance issue of a query. And about a week ago I found that this fix doesn’t work with function-based indexes. So, this post is about it.

Continue reading

Missing wait event

Oracle for Windows is out for some time. I’ve installed it on my 32-bit Windows XP machine because I like Windows🙂 – just to check that it’s actually working fine. Playing with TPC-H test using Hammerora I’ve noticed an anomaly in the way Oracle reports IO waits for some queries.

Continue reading

SQL_TRACE is deprecated, really

Just a quick note that SQL_TRACE parameter is no longer valid – it is deprecated as of Oracle 10g Release 2 in favor of DBMS_MONITOR subprograms. I realized that after start up warning:

SQL> startup
ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
ORACLE instance started.

Though SQL_TRACE is still working in, it’s a good idea to start forgetting about it.


Get every new post delivered to your Inbox.

Join 393 other followers