Skip to content

Simple cube definition to analyzer IRIS SQL Runtime statistics

License

Notifications You must be signed in to change notification settings

bdeboe/isc-statement-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SQL Statement Analyzer

This repo contains a simple IRIS BI cube sourcing its data from the SQL Statement Index, which is a treasure trove of runtime statistics on your instance's SQL usage.

Installation

After importing the contents of this repository, you can build the cube using the following command (executed automatically if you install through ZPM):

do ##class(%DeepSee.Utils).%BuildCube("SQLStats")

Data is fetched from the INFORMATION_SCHEMA.STATEMENT_DAILY_STATS view, so it makes sense to rebuild the cube on a daily schedule using the Cube Manager or a simple scheduled task.

What's in the box

The cube definition (for now) is fairly basic and exposes the runtime and execution count metrics. There is also a custom action which allows you to jump to the Statement Details page in the System Management Portal.

Happy to include pull requests with further extensions, including prebuilt dashboards, pivots and other goodness.

About

Simple cube definition to analyzer IRIS SQL Runtime statistics

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published