SQL Profiler v11
Inefficient SQL code is one of, if not the leading cause of database performance problems. The challenge for database administrators and developers is locating and then optimizing this code in large, complex systems.
SQL Profiler helps you locate and optimize poorly running SQL code.
Specific features and benefits of SQL Profiler include the following:
- On-Demand Traces. You can capture SQL traces at any time by manually setting up your parameters and starting the trace.
- Scheduled Traces. For inconvenient times, you can also specify your trace parameters and schedule them to run at some later time.
- Save Traces. Execute your traces and save them for later review.
- Trace Filters. Selectively filter SQL captures by database and by user, or capture every SQL statement sent by all users against all databases.
- Trace Output Analyzer. A graphical table lets you quickly sort and filter queries by duration or statement, and a graphical or text based
EXPLAIN
plan lays out your query paths and joins. - Index Advisor Integration. Once you have found your slow queries and optimized them, you can also let the Index Advisor recommend the creation of underlying table indices to further improve performance.
The following describes the installation process.
Step 1: Install SQL Profiler
SQL Profiler is installed by the EDB Postgres Advanced Server installer on Windows or from the edb-asxx-server-sqlprofiler
package along with the edb-asxx-server
package installation, where xx
is the EDB Postgres Advanced Server version number.
Step 2: Add the SQL Profiler library
Modify the postgresql.conf
parameter file for the instance to include the SQL Profiler library in theshared_preload_libraries
configuration parameter.
For Linux installations, the parameter value should include:
On Windows, the parameter value should include: