ADDB292 Install and Get Started 13march2015
ADDB292 Install and Get Started 13march2015
Page 1
Install and Get Started with AppDynamics for Databases . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Supported Environments and Versions for AppDynamics for Databases . . . . . . . . . . . . 3
Required Database Permissions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Install AppDynamics for Databases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Install AppDynamics for Databases and AppDynamics Controller on the Same Host . 13
13
Tuning the AppDynamics for Databases mySQL Database . . . . . . . . . . . . . . . . . . . . 13
Enable AppDynamics for Databases Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
SSL Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Start AppDynamics for Databases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Licenses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Collectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Setup Monitoring of Database Servers and NetApp Servers . . . . . . . . . . . . . . . . . . . 30
Verify Collector Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Integrate and Use AppDynamics for Databases with AppDynamics Pro . . . . . . . . . . . . 33
Integrate AppDynamics for Databases with AppDynamics Pro 3.7 and higher . . . . . 34
Integrate AppDynamics for Databases with AppDynamics Pro 3.6 . . . . . . . . . . . . . . 36
Resolve Installation Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Manually Map a Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Use AppDynamics Pro with AppDynamics for Databases . . . . . . . . . . . . . . . . . . . . . 39
Page 2
Install and Get Started with AppDynamics for
Databases
AppDynamics for Databases can monitor three categories of collectors. There are several collector
types within these categories. The following lists the supported databases, servers, and storage
systems now supported:
Database Collector: DB2, GreenPlum, mongoDB, Microsoft SQL Server, Microsoft SQL
Azure Database, MySQL, Oracle, PostgreSQL, Sybase ASE, and Sybase IQ
Server Collector: IBM AIX Server, Linux Server, Solaris Server, and Windows Server
Storage Collector: NetApp and NetApp E-Series
Databases
GreenPlum
PostgreSQL 8+
Supported on Amazon RDS
Sybase IQ 15+
Servers
Storage
AppDynamics for Databases collectors are not installed on the monitored systems.
Hardware Requirements
AppDynamics for Databases can be installed on physical or virtual machines.
You should install AppDynamics for Databases on a dedicated machine.
Installation package: 142 MB Windows, 140 MB Linux
Disk space usage after installation: 614 MB
Disk space required for historical data storage:
100 MB per database collector (for data retention period = 1 week)
10 MB per server collector (for data retention period = 1 week)
Minimum recommended hardware:
1-10 collectors: 2 GB RAM, Single CPU, 1 disk
10-20 collectors: 4 GB RAM, 2 CPUs, 1 disk
More than 20 collectors: 8 GB RAM, 4 CPUs, fast disk
AppDynamics for Databases is an on-premise solution and can be installed on the same server as
the AppDynamics Pro Controller, or on a different server. In either case it requires 1 CPU and
2GB of RAM to monitor a single database instance. If you install it on the Controller server, these
resources are in addition to the Controller resources. Also, change the default port number so it
doesn't conflict with the Controller.
Network Requirements
The machine on which the database is running or the machine you want to monitor must be
accessible from the AppDynamics for Databases installation machine. This machine must
have a network connection, internet or intranet.
If there is a firewall, the database listener port (and optionally the SSH or WMI port) must be
open.
Compatible Browser
For better navigation and performance, use Chrome or Safari.
Google Chrome 1.x and later
Safari 4.x and later
Mozilla FireFox 3.x and later
Internet Explorer 7.x and later
The charts and reports within AppDynamics for Databases are created with JavaScript;
consequently, the speed at which they are rendered depends on the performance of the
JavaScript engine within the Browser. For this reason, although AppDynamics for Databases is
supported on any browser, we recommend using better performing browsers, such as Chrome and
Safari.
Each monitored database requires permissions for the AppDynamics for Databases user so that it
can gather important monitoring data. The database user is specified when you are adding a
collector. Before adding the collector, ensure a user for the collector is available with the required
permissions as stated below. The monitor user must be able to connect to the database remotely
from the AppDynamics for Databases machine. The permissions required are database
dependent.
The monitoring user needs SYSMON authority and connect privileges to monitor. In general, this
user must be a part of the sysmon_group.
Create new user account called appd4db. Ensure that it has SYSMON authority.
Windows Authentication
If you would like to use a Windows authenticated account to connect to the SQL Server database,
the following is required:
When creating the collector from the Collector Administration -> Add Collector window,
do not specify a username and password.
Configure the AppDynamics for Databases collector windows service to log on as the
desired windows account with SQL Server access.
1. Go to the Windows Services GUI from Control Panel.
2. Select the AppDynamics for Databases collector service, DBTuna Agent - SQL
Server, and right click to display the properties.
3. Click on Log On and then enter the credentials for the user.
Configure the AppDynamics for Databases GUI windows service, DBTuna GUI, to log on
as the desired windows account with SQL Server access.
1. Go to the Windows Services GUI from Control Panel.
2. Select the AppDynamics for Databases GUI service, DBTuna GUI, and right click to
display the properties.
3. Click Log On and then enter the credentials for the user.
If you are running your AppDynamics for Databases software on Linux, then you must use SQL
Server authentication.
You can use the procedure below to create a user with the minimum permissions required.
If you are using Windows Authentication, leave the username/password blank when you add the
collector. You then have to change the Logon account for the Windows AppDynamics for
Databases collector service. See Using Windows Authentication to Monitor SQL Server.
Use the following to create a logon user that provides the minimal level of permissions required in
order to gain full AppDynamics for Databases/SQL Server functionality.
a. Using SQL Server Management Studio, create a new login for AppDynamics for
Databases.
1. Once you have created the login, give the following privileges to the user, substituting
<userName> with the name you specified on the Login - New window:
Note: You can execute the following as a batch from a query window in Management Studio.
The example shows grants to appdynamics_user, remember to change this if you have set up
a different login.
use master
GRANT VIEW ANY DATABASE TO appdynamics_user;
GRANT VIEW ANY definition to appdynamics_user;
GRANT VIEW server state to appdynamics_user;
GRANT SELECT ON [sys].[sysaltfiles] TO [appdynamics_user]
GRANT execute on sp_helplogins to appdynamics_user
GRANT execute on sp_readErrorLog to appdynamics_user
use msdb
GRANT SELECT on dbo.sysjobsteps TO [appdynamics_user]
GRANT SELECT on dbo.sysjobs TO [appdynamics_user]
GRANT SELECT on dbo.sysjobhistory TO [appdynamics_user]
Also, the following configuration parameters must be set to 1 (true) in order to monitor the Sybase
ASE database with AppDynamics for Databases: "enable monitoring", "wait event timing", "SQL
batch capture", and "object lockwait timing". You should also set "max SQL text monitored" to at
least 8192 (8kB).
Here is an example of the commands required to configure these settings:
If the value for "max SQL text monitored" was previously less than 4096, then increasing this
setting will require that you restart the Sybase ASE instance.
@?\rdbms\admin\utlxplan.sql
@?/rdbms/admin/utlxplan.sql
On this page:
Prerequisites
Install on Windows
Install on Linux
Related pages:
Enable AppDynamics for Databases Security
Prerequisites
Before installing, ensure your environment meets the requirements stated in Supported
Environments and Versions for AppDynamics for Databases.
If you're installing in an AppDynamics Pro environment, see Integrate and Use
AppDynamics for Databases with AppDynamics Pro
Install on Windows
Unzip and double-click the executable package, AppD-Database-x.x.x.x-Setup.exe to start the
setup process.
The Windows processes for AppDynamics for Databases start at the end of the installation.
Install on Linux
Note: Do not install AppDynamics for Databases as the root user.
1. Use the following command to decompress the executable package:
gunzip <download_file>.tar.gz
2. Run the ./start.sh script from the installation directory to start the processes for
AppDynamics for Databases.
Note: You should edit /etc/init.d to include running the AppDynamics for Databases startup
script so the AppDynamics for Databases processes will start automatically on reboot.
AppDynamics for Databases is an on-premise solution and can be installed on the same server as
the AppDynamics Pro Controller, or on a different server. In either case it requires 1 CPU and
2GB of RAM to monitor a single database instance. If you install it on the Controller server, these
resources are in addition to the Controller resources. Also, change the default port number so it
doesn't conflict with the Controller.
When installing AppDynamics for Databases on the same host as the AppDynamics Pro
Controller, there is a port conflict. Both products use port 8090 for the UI by default. That means
that the AppDynamics for Databases UI server will fail to start after the install. You must change
the port number and then restart the server.
Change the Port Number of the AppDynamics for Databases UI Server
1. Open the following file in a text editor:
<AppD4DB install directory>/apache-tomcat/conf/server.xml.
2. Find the only line containing 8090 and change the number to the number of the desired
port.
Note: We recommend that you use port 9090. Do not use 8091 because this port is used for
the MySQL connection between AppDynamics for Databases and the MySQL server
database where it stores the captured data, and do not use port 8092 either because that is
the default shutdown port specified in the Tomcat server.xml file.
3. Restart the AppDynamics for Databases process as follows:
Windows: Restart the Windows services named: DBTuna_GUI and DBTuna_DB.
Linux: From the AppDynamics for Databases home directory, run ./start.sh
If you run AppDynamics for Databases on a publicly accessible server, or if you'd like to lock down
its usage internally, then the simplest solution is to username/password protect access to the
UI. You have the option to setup basic security, best for an environment where very few users will
have access to the AppDynamics for Databases GUI, or you can integrate AppDynamics for
Databases with your LDAP server to grant many users and groups access.
tomcat-users.xml
<tomcat-users>
<role rolename="admin"/>
<role rolename="readonly"/>
<role rolename="appd4db-admin"/>
<user
password="8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918"
roles="admin,readonly,appd4db-admin" username="admin"/>
<user
password="8171bacf32668a8f44b90087ad107ed63170f57154763ba7e44047bf9e5a7be3"
roles="readonly" username="readonly"/>
<user
password="280d44ab1e9f79b5cce2dd4f58f5fe91f0fbacdac9f7447dffc318ceb79f2d02"
roles="appd4db-admin" username="master"/>
</tomcat-users>
Implement authentication
1. At the bottom of <AppD4DB install directory>\apache-tomcat\conf\web.xml, look for the
following code:
6. Enter the passwords for the admin and readonly users and then click Modify Password.
To change the password of a user, enter the password twice in the boxes provided and then
click Modify Password.
7. You can change the role name of any of the security roles resources by entering the new
Role Name and then clicking Modify Role Name.
When you have security enabled, users must enter the security credentials to access the
AppDynamics for Database GUI. The appearance of the logon dialog differs depending on
the browser used to access the AppDynamics for Databases GUI. The following is the logon
dialog as it appears in Windows Internet Explorer9.
Your LDAP/Active Directory server administrator should provide you with the values you need to
complete this section.
The following helps you understand the requirements of each property name field of the
LDAP/Active Directory Authentication section:
masterUsername: The AppDynamics for Databases user name of the master user or of an
administrator.
masterPassword: The password for the master user.
logging.properties
org.apache.catalina.realm.level = ALL
org.apache.catalina.realm.useParentHandlers = true
org.apache.catalina.authenticator.level = ALL
org.apache.catalina.authentical.useParentHandlers = true
SSL Communications
On this page:
Enable SSL Communications
When passwords are passed between the browser and the AppDynamics for Databases server,
1. Stop the UI service via the ./stop.sh script (if on Linux) or via the DBTuna GUI windows
service (if on Windows
2. Generate and apply the keystore with the following procedure.
a. Navigate to <AppD4DB_install_directory>/jdk/bin and run the following command and
proceed with the prompted steps.
keystoreFile is the location of the keystore file generated in the following section
keystorePass=<password which will generate as part of keystore gen
==============
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="200" scheme="https" secure="true" clientAuth="false"
sslProtocol="TLS"
keystoreFile="webapps/appd4db.keystore" keystorePass="password"/>
==============
For example,
Note: The default port is 8443 but you can change it to another unused port number if
you like, such as 8181.
4. To re-direct HTTP traffic to HTTS traffic an additional security constraint is required in
web.xml. Within the Read-Only Access web-resource, an additional user-data-constraint
should be added the following:
<user-data-constraint>
5. Restart the UI service via the ./start.sh script (if on Linux) or via the “DBTuna GUI” windows
service.
6. You can now access the AppDynamics for Databases UI and confirm that it is enabled via
HTTPS.
Start up on Windows
Once installation is complete, the Main Menu automatically loads in the default browser.
Alternatively, on the machine where you installed AppDynamics for Databases, browse to
http://localhost:portNumber
where "portNumber" is the port number specified during installation for use by AppDynamics for
Databases.
You can also connect to the AppDynamics for Databases GUI from another networked machine
(internet or intranet) by browsing to
http://serverName:portNumber
When AppDynamics for Databases starts initially, in Windows -> Control Panel -> Services, you
will see new entries, DBTuna GUI ad DBTuna_DB. Once you have added collectors, you will see
an additional service for each collector, DBTuna Agent - "CollectorName". Ensure the Startup
Type column for each service is set to Automatic.
Start up on Linux
1. Run the ./start.sh script from the directory where you extracted the AppDynamics for
Databases installation package (also referred to as:<AppD4DB install directory>).
2. Then open a URL to:
http://serverName:portNumber
where "serverName" is the hostname or IP address of the server running AppDynamics for
Databases and "portNumber" is the port number specified in the /apache-tomcat/conf/serv
er.xml configuration file for use by AppDynamics for Databases. The default port is 8090.
The Main Menu opens. Initially, there are no collectors reporting. Next you must add the license
and collectors.
Licenses
Collectors
When AppDynamics for Databases starts initially, in the processes list (cmdshell: ps), you will see
new entries, DBTuna GUI ad DBTuna_DB. Once you have added collectors, you will see an
additional service for each collector, DBTuna Agent - "CollectorName".
The start.sh script only starts the AppDynamics for Databases controller, that is the Tomcat GUI
and the MySQL repository.
To automatically start the collectors you need to include in the startup script an additional call for
each collector.
For example,
startAllCollectors.sh
./startMYSQLAgent.sh prod-mysql
./startORACLEAgent.sh dev-oracle
You can the call the startAllCollectors.sh script and the AppDynamics for Databases start.sh script
from another script to starts all the AppDynamic for Databases processes.
Licenses
On this page:
Licenses for AppDynamics for Databases 2.9 and
Higher
Licenses for Versions Prior to 2.9
Copy the license.lic file to the <AppD4DB install directory>/apache-tomcat directory. AppDynamics
for Databases automatically recognizes the license.
Collectors
On this page:
Add a Collector
Database Specific Collector Configuration
You can create collectors that run on the AppDynamics for Databases server to monitor any of the
following systems:
Databases: DB2, GreenPlum, Microsoft SQL Server, Microsoft SQL Azure Database, Mong
oDB, MySQL, Oracle, Oracle RAC, PostgreSQL, Sybase ASE, and Sybase IQ
Servers: Linux Server, Solaris Server, and Windows Server
Storage: NetApp and NetApp E-Series
Add a Collector
1. Click Main Menu->Setup->Add Collector.
You will also now see your collectors on the Main Menu.
Use the following to help you complete the fields of the Add New Collector/Edit Collector
Configuration window. The fields that display depend on the type of collector you selected.
Type: Select the collector type. There are three categories of collectors and collector types within
these categories:
Database Collectors: DB2, mongoDB, Microsoft SQL Server, Microsoft SQL Azure
Database, MySQL, Oracle, PostgreSQL, and Sybase ASE
Server Collectors: AIX Server, Linux Server, Solaris Server, or Windows Server
Storage Collectors: NetApp, NetApp E-Series
Once you select the Type, the fields displayed may change because the information required
differs between collector types. The type appears in the Type column of the Collector
Administration window.
Name: This name uniquely identifies the monitored instance as it appears in the Name column of
You only need to configure a MongoDB collector for any one node of the replicaset (either a
primary, or any secondary) as AppDynamics for Database will automatically discover all other
nodes. To configure the AppDynamics for Databases collector you will need the IP address and
the TCP port number of the mongod daemon.
For a Sharded environment, you only need a collector that connects to the mongo daemon.
AppDynamics for Databases will discover all of the replicasets in the cluster based on that one
connection, and shouldn’t have connections configured for each replicaset.
In a SQL Server cluster environment with two virtual nodes, primary and master, configure the
AppDynamics for Databases collector with the cluster IP address and the TCP port number of the
SQL Server instance. The DBA can provide you with the instance IP address and port address,
but if not you find this information in the Microsoft SQL Server Configuration Manager GUI.
Configure the collector for the Microsoft SQL Azure Database as you would the Microsoft SQL
Server, with the following exceptions:
Specify "SQLAzure" in the Name field.
Host monitoring is not supported.
AppDynamics for Databases can be configured to collect CPU consumption metrics from the
monitored host. Host monitoring is not supported for the Microsoft SQL Azure Database platform.
AppDynamics for Databases supports Windows, Linux, and Solaris and gathers granular data on
server performance, which displays on the following Server tabs:
Inventory tab: Server properties such as CPU architecture and speed, Physical Memory, OS
version etc.
Procs tab: Remotely view processes on your monitored servers
Activity tab: CPU and memory consumption, and disk queue length
Disk I/O tab: Read IOPS, Write IOPS, Read Throughput MB/sec, Write Throughput MB/sec,
Average Disk Queue Length
Network I/O tab: kB/sec Sent and Received, TCP send/receive errors
To see server metrics, in the Monitored Infrastructure section of the Main Menu, click Server.
Note: To enable the Host Collector for database servers only, on the Add Collector or Edit
Collector Configuration pages you must click the Monitor OS? checkbox and enter details of OS
Type and Hostname (or IP address.)
AppDynamics for Databases can monitor Linux, Solaris, and AIX systems from any of its
supported platforms.
To collect OS metrics from Linux or Solaris, the AppDynamics for Databases Host Collector makes
an ssh connection to the monitored host to gather information using standard commands. For the
AppDynamics for Databases collector to successfully collect information, the monitored host must
support ssh connections, and the AppDynamics for Databases Host Collector must have a
hostname, username and password defined.
AppDynamics for Databases can only monitor Windows from a Windows platform.
The AppDynamics for Databases Host Collector will collect OS metrics from a Windows host via
Windows Management Instrumentation (WMI). To collect OS metrics from a remote Windows
machine, the AppDynamics for Databases Host Collector must be an authenticated user;
therefore, either the username and password should be defined explicitly in the OS Monitor
settings, or the AppDynamics for Databases Windows service should be modified to run as an
authenticated user, in the same way as outlined in Using Windows Authentication to Monitor SQL
Server.
1. When creating a collector on the Collector Setup page, do not specify a username and
password.
2. Configure the AppDynamics for Databases windows service to log on as the desired
windows account with SQL Server access.
a. Go to the Windows Services UI from Control Panel. Select the AppDynamics for
a.
Databases collector service and right click to display the properties.
b. Click Log On and then enter the credentials for the user.
c. Click OK, and then try starting the collector either from the services panel or from the
Collector Administration page
3. Repeat the above process for the AppDynamics for Databases GUI Windows Services.
The AppDynamics for Databases GUI windows service also needs to be configured to log on as
the desired windows account with SQL Server access; this is because to display some windows
within AppDynamics for Databases, such as the Current window and the Objects window, the UI
process needs to make a direct connection to the monitored SQL Server to request information.
If you are running AppDynamics for Databases on Linux then you must use SQL Server
authentication.
For complete AppDynamics for Databases functionality in a NetApp environment, the NetApp
Metric Collector needs access NetApp API access. Depending on your environment, clustered or
non-clustered, see the following topics:
NetApp OnTap 7mode Permissions
NetApp Clustered Data OnTap Permissions
AppDynamics for Databases can use either HTTP or HTTPS (i.e. SSL) to access the performance
data. If your filer uses SSL, then just check the SSL checkbox on the Add New Collector or Edit
Collector Configuration page.
See also Map NetApp Volumes to Databases.
Here is an example user creation script if you would like to create a new dedicated user for
AppDynamics for Databases with relevant privileges:
Here is an example user creation script if you would like to create a new dedicated user for
AppDynamics for Databases with relevant privileges:
Once you've specified and saved the details for the host collector, it is ready to start collecting
performance data! On the Setup window, click the Start button for each collector.
When successfully started, the collector Status column displays a green tick symbol.
Once the collector is up and running, in just a short time you can start viewing the historical activity
data. By default, AppDynamics for Databases logs data every one minute. You configure this
aggregation interval on the Add New Collector and Edit Collector Configuration windows. For more
information see, Collectors.
The Main Menu window now has an collector icon you can click to view the activity for the
collector.
Click the collector icon to open the Activity window and see what AppDynamics for Databases has
captured for you!
For information on using and interpreting the collector windows, see Use AppDynamics for
Databases.
If the collector does not start and the icon in the Status column displays a red cross, then you can
view the contents of the collector log file to investigate the problem. Click the Log file icon for the
collector on the Collector Administration window. The log files are located in the <App4DB install
directory>\agent directory and have the format CollectorName_out.log.
To Configure the App Agent for Java to Interface with the AppDynamics for Databases Oracle Collector
From a Transaction Snapshot Flow Map where the exit call is to an Oracle database, you can link
to AppDynamics for Databases to see and analyze the exact SQL that was running at the time of
the transaction snapshot. To enable this functionality, for the node containing the Oracle database,
you must set the App Agent for Java node property jdbc-dbcam-integration-enabled=true.
Prerequisite:
If you are installing AppDynamics for Databases and the AppDynamics controller on the same
host, you may need to change the port number AppDynamics for Databases uses because the
default port number for both products is 8090. For information about changing the port number
on AppDynamics for Databases, see Install AppDynamics for Databases and AppD Controller on
the Same Host.
1. Go to http://server:port/controller/admin.html.
2. Log in as root and select Controller Settings. You can filter on dbtuna in the box at the top.
3. Set dbtuna.integration.enabled to "true" and dbtuna.integration.url to
"http://demo1.dbtuna.com/".
6. AppDynamics for Database displays the activity for the database selected.
If you're having difficulty monitoring your database using AppDynamics for Databases in an
AppDynamics Pro environment, you may need to upgrade to use the lastest appd.jsp file. Click her
e to get the latest version of appd.jsp. Copy this file to <AppD4DB install
directory>\apache-tomcat\webapps\ROOT\dbtuna. If you're still having trouble, you may need to m
anually map your database.
In some instances AppDynamics may not recognize a database when you try to link to
AppDynamics for Databases from AppDynamics Pro. This may be the case when:
the database does not provide enough information to AppDynamics for Databases in order
for it to recognize the database,
1. At the bottom of the Custom Settings text box, enter the following:
.Net: For databases accessed by the application server via .Net and where the App
Agent for .Net is employed:
DataSource=CollectorName
Java: For databases accessed by the application server via Java and where the App
Agent for Java is employed:
HostName:Port=CollectorName
where:
DataSource is the name of the database as specified at the top of the window in a
message similar to "demoServer\database not found!". In the image above, the data
source would be 'WIN-DEMO2\SQLEXPRESS' and must be specified as
'WIN-DEMO2
SQLEXPRESS'. The backward slash in the data source name () must be escaped by
entering another slash.
HostName:Port is the name of the system hosting the database, followed by the port
number the host uses for listening for database communications.
CollectorName is the name of a collector. The available collector types and names are
displayed under the text, "Would you like to link to one of these databases instead?"
In the image above, the collector names are DB2Agent, cart, and Oracle-demo-db.
Once you have completed the AppDynamics and AppDynamics for Databases integration, from
within AppDynamics Pro you can follow the path from a transaction monitored by the App Agent
for Java, App Agent for .Net, and App Agent for PHP, through the database call and then down to
AppDynamics for Databases to see the Activity page for the SQL that was running.
Note: If you have not already configured the AppDynamics for Databases collector for that specific
database, you can provide the connection details in AppDynamics Pro, launch AppDynamics for
Databases, and then setup and license the new database collector from within AppDynamics for
Databases.
On the database flow map, right-click or CTRL-click a flow map database icon.
AppDynamics for Databases opens and recent activity for that database appears, displaying
recent activity.
On the databases dashboard, right-click a database for which you have setup an
AppDynamics for Databases collector and click Link to AppDynamics for Databases. The
Activity page for that database appears, displaying recent activity.
When using the App Agent for Java 3.8, from a Transaction Snapshot Flow Map in
AppDynamics Pro 3.8, you can follow the path of a transaction that includes a SQL call to an
Oracle database, and link to AppDynamics for Databases to view details of the specific SQL
that was running during that snapshot.
Example
1. In the AppDynamics Pro Controller UI, click Troubleshoot -> Slow Response Times.
The AppDynamics for Databases build number is at the bottom of the window. You may
need this if you need to contact technical support.