/ 
JDBC-ExecuteBatch Java Agent Extension

JDBC-ExecuteBatch Java Agent Extension

Java agent extension to monitor the executeBatch method of the Statement, PreparedStatement and CallableStatement interfaces as a database call.

Quickstart
Integration Features

dashboards
JDBC-ExecuteBatch Java Agent Extension quickstart contains 1 dashboard. These interactive visualizations let you easily explore your data, understand context, and resolve problems faster.
Show MoreShow Less
What is executeBatch call?

ExecuteBatch method in jdbc submits a batch of commands to the database for execution. You If all commands execute successfully, the call returns an array of update counts.

Once the instrumentation is deployed it will start to track the call to the executeBatch method as a database call in distributed traces.

The Performance tab for the call will show the query as "Batch Execute n Queries" where n is the number of queries executed as part of the batch.

  • For calls to addBatch(String sql), it will represent the number of calls to this method before the executeBatch method is executed.
  • For PreparedStatment and CallableStatment it will represent the number of times that addBatch() is called.

How to use this quickstart

  • Sign Up for a free New Relic account or Log In to your existing account.
  • Click the install button.
  • Install the quickstart to get started or improve how you monitor your environment. They're filled with pre-built resources like dashboards, instrumentation, and alerts.

Get started today for free.

New Relic Now Demo new agentic integrations today.
Watch now.