rsim/oracle-enhanced — pull request #116 by ebeigarts (2011-11-07 09:04:48+00:00)
Title: Explain plan implementation for Oracle

https://github.com/rails/rails/commit/e7b7b4412380e7ce2d8e6ae402cb7fe02d7666b8

Example:

```ruby
TestPost.where(:id => 1).explain
```

```
Plan hash value: 4030396468

----------------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
----------------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 1 | 13 | 1 (0)| 00:00:01 |
|* 1 | INDEX UNIQUE SCAN| SYS_C0043755 | 1 | 13 | 1 (0)| 00:00:01 |
----------------------------------------------------------------------------------

Predicate Information (identified by operation id):
---------------------------------------------------

1 - access("TEST_POSTS"."ID"=1)
```