A non-Oracle post: productivity and online note keeping with n.otepad.com

tanelp | Aug 26, 2008 10:20 -0600
I haven’t written a non-Oracle post into my blog yet, so here’s one for you :) I recently developed a little web service with a friend. Shortly, check out http://n.otepad.com and any feedback is appreciated (especially about the parts which suck, so we could improve those :) The longer story is that for years I used to [...]

Flexible sampling of any V$ or X$ view with sample.sql

tanelp | Aug 26, 2008 05:10 -0600
In recent past I’ve blogged few scripts which use specially crafted ordered nested loop for sampling contents of V$ and X$ views fast, with plain SQL. If you haven’t read them yet, here are the links: WaitProf LatchProf LatchProfX I wrote the above scripts having special purposes in mind (e.g. profile session waits or latching activity). Now I introduce a simple [...]

I’m speaking at few conferences: OracleWorld, Miracle Open World, UKOUG, CMG

tanelp | Aug 20, 2008 22:40 -0600
I will speak at four more conferences this year, so if you like what I’m offering at this blog, you can get more at these conferences. Also it’s a chance to meet up and match the names with faces :)   21-25 September, Oracle OpenWorld 2008 in San Francisco I’ll be presenting my 1-hour Advanced Oracle Troubleshooting guide 22-24 [...]

Case study on some rowcache internals, cached non-existent objects and a describe bug

tanelp | Aug 18, 2008 06:50 -0600
I got a question regarding Metalink note 296235.1 about a describe bug which causes objects to “disappear” when they are described when database is not open. It was an interesting case involving a bug, so I wrote a quite long analysis with test cases today. However when posting the entry to wordpress, it managed to completely [...]

Why does even a small difference in SQL text cause a hard parse?

tanelp | Aug 14, 2008 13:20 -0600
I just replied to an Oracle Forum Thread about why does even a small difference in SQL statement text cause it to be hard parsed and loaded as a different cursor. The reason is actually very simple - and I’m posting it into my blog too: – The reason why a statement with even a minor difference [...]

Script: Display valid values for multioption parameters (including hidden parameters)

tanelp | Aug 12, 2008 13:10 -0600
I wrote a little script pvalid.sql for listing valid values for multioption parameters (the ones which are not string, number or boolean type, but accept a parameter from predetermined list, like optimizer_mode which can have values of ALL_ROWS, FIRST_ROWS, CHOOSE, FIRST_ROWS_1, etc). The script accepts a (part of) Oracle parameter name as first argument, for example [...]

The simplest query for checking what’s happening in a database

tanelp | Aug 6, 2008 10:50 -0600
When someone asks you to take a quick look into database performance and for whatever reason you can’t run your usual scripts or performance tools on there, ), then what query would you run first? Yeah sometimes I’ve been not allowed to run custom scripts nor even touch the keyboard due security policies in effect. Whenever you’re [...]

Advanced Oracle Troubleshooting seminars - announcing dates

tanelp | Aug 4, 2008 11:10 -0600
If you like the stuff in my blog or my conference sessions, you will sure like my seminar :) I’m happy to announce the dates of my first public Advanced Oracle Troubleshooting seminars:   Vienna, Austria   03.-04. November 2008 Düsseldorf, Germany   06.-07. November 2008 Munich, Switzerland   10.-11. November 2008 Zurich, Switzerland   13.-14. November 2008 The above four seminars are organized by Trivadis  Vilnius, Lithuania   18.-19. November 2008 Riga, Latvia   20.-21. November 2008 [...]

Library cache latches gone in Oracle 11g

tanelp | Aug 2, 2008 14:10 -0600
In Oracle 11g even more library cache operations have been changed to use KGX mutexes instead of latches. In Oracle 10.2.0.2+ the library cache pin latch usage was replaced with mutexes whenever _kks_use_mutex_pin was true, also few other things like V$SQLSTATS arrays and parent cursor examination were protected by mutexes. However the traversing of library [...]