This is the material from my 10-minute TED-style talk 2014-09-29 at OakTable World held in conjunction with Oracle OpenWorld 2014 in San Francisco. It explains the importance of assigning a unique id to the Oracle Database code path associated with each performance experience that users can have with your system
3. ID USERNAME MODULE START_TIME R SLR
-- -------- ------- -------------------------- ----- ---
1 FCHANG OE BOOK 2014-09-15T08:14:22.189533 2.019 2.0
2 RSMITH OE SHIP 2014-09-15T08:14:23.673849 3.528 5.0
3 DJOHNSON OE PICK 2014-09-15T08:15:01.938816 1.211 5.0
4 FFORBES OE BOOK 2014-09-15T08:17:23.815511 0.716 2.5
5 FCHANG OE BOOK 2014-09-15T08:17:24.032562 1.917 2.5
6 LBUMONT PA MTCH 2014-09-15T08:17:42.019328 1.305 2.0
@CaryMillsap
3
This
thing
called
an
experience...
#define FAST (R ≤ SLR)
4. ID USERNAME MODULE R SLR FAST?
-- -------- ------- ----- --- -----
1 FCHANG OE BOOK 2.019 2.0 N
2 RSMITH OE SHIP 3.528 5.0 Y
3 DJOHNSON OE PICK 1.211 5.0 Y
4 FFORBES OE BOOK 0.716 2.5 Y
5 FCHANG OE BOOK 1.917 2.5 Y
6 LBUMONT PA MTCH 1.305 2.0 Y
@CaryMillsap
4
This
thing
called
an
experience...
#define FAST (R ≤ SLR)
18. setClientInfo method supports JDBC DMS metrics
setEndToEndMetrics is deprecated
DBOP tag can be associated with application thread
18
New in 12.1
19. 19
Oh, and...
module and action lengths are limited by JDBC
(Thanks Lasse Jenssen)
20. @CaryMillsap
Postscript
A
UUID
in
canonical
form
is
36
characters
long
(32
lowercase
hexadecimal
characters
and
4
hyphens).
However,
v$session.action
is
VARCHAR2(32),
so
either
we
need
to
perform
a
more
sophisticated
transformation
than
toString
upon
the
UUID
(such
as
to
remove
the
hyphens),
or
we
have
to
choose
another
column
in
which
to
store
it.
We’re
also
investigating
whether
the
new
12.1
begin_operation
function
and
end_operation
procedure
in
dbms_sql_monitor
will
accomplish
our
goal
of
assigning
a
unique
id
to
each
end-‐user
experience.
The
material
at
http://
docs.oracle.com/database/121/TGSQL/tgsql_monit.htm#TGSQL789
and
http://docs.oracle.com/database/121/ARPLS/
d_sql_monitor.htm#ARPLS74779
looks
promising.
The
combination
of
dbop_name
and
dbop_eid
should
be
unique,
but
to
meet
my
needs,
these
elements
would
have
to
render
into
the
session’s
trace
data.
These
are
the
kinds
of
things
we’re
working
on.
20