At the last Guob Tech Day I had the honor of attending Mr. Carlos Sierra’s talk about the tool that he and a few other DBAs at Enkitec developed.
eDB360 is a tool to help with database performance analysis, and to run it you don’t need to install anything in the database, you just need read privileges on the data dictionary views. eDB360 stands for Enkitec’s Oracle Database 360-degree View.

The goal here is to quickly cover how to run eDB360. If you want to know a bit more about the tool, watch the full talk at this link.
The SELECT_CATALOG_ROLE role is enough to run eDB360. For the simplest eDB360 run, you only need to provide the credentials to access the database and whether the database has the Diagnostic or Tuning Pack features.
To download the tool, go straight to the download link at: https://github.com/carlos-sierra/edb360/archive/master.zip. The team updates this tool constantly, so it’s important to keep up with new versions.
Let’s do a test run. First I’ll create a user in my root database and grant it the SELECT_CATALOG_ROLE role (the README.txt file has more information):
SQL> conn / as sysdba
Connected.
SQL> create user c##lore identified by data;
User created.
SQL> grant create session to c##lore;
Grant succeeded.
SQL> grant select_catalog_role to c##lore;
Grant succeeded.
Now I’ll connect as the newly created LORE user, run the edb360.sql script and pass option T to say that I have the Tuning Pack:
SQL> conn c##lore/data
Connected.
SQL> @edb360.sql
PL/SQL procedure successfully completed.
If eDB360 disconnects right after this message it means the user executing it
owns a table called PLAN_TABLE that is not the Oracle seeded GTT plan table
owned by SYS (PLAN_TABLE$ table with a PUBLIC synonym PLAN_TABLE).
eDB360 requires the Oracle seeded PLAN_TABLE, consider dropping the one in this schema.
old 14: IF SUBSTR(l_version, 1, 2) != SUBSTR('&&_o_release.', 1, 2) THEN
new 14: IF SUBSTR(l_version, 1, 2) != SUBSTR('1201000200', 1, 2) THEN
PL/SQL procedure successfully completed.
Parameter 1:
If your Database is licensed to use the Oracle Tuning pack please enter T.
If you have a license for Diagnostics pack but not for Tuning pack, enter D.
If you have both Tuning and Diagnostics packs, enter T.
Be aware value N reduces the output content substantially. Avoid N if possible.
Oracle Pack License? (Tuning, Diagnostics or None) [ T | D | N ] (required)
Enter value for 1: T
Uma porção de dados será retornada na tela e a execução pode levar bastante tempo dependendo do tamanho do seu AWR.
.
.
.
At the end a .zip file will be generated, so just unzip it and open in the browser the file with the format 00001_edb360_****_index.html so we can start analyzing the environment.
If you don’t have the Diagnostic or Tuning Pack you won’t get all of the tool’s features, but even so, according to Carlos himself, eDB360 is compatible with Statspack for historical data and with the V$ views for instantaneous data.
This was a short article to motivate you to explore the tool, since running it is very simple. The analysis is what will be up to you!
Enjoy. If you liked it, leave a comment and share it to spread even more knowledge.
Regards,
Franky

Comments