.idea | 12 years ago | ||
conf | 12 years ago | ||
lib | 12 years ago | ||
script | 12 years ago | ||
src/nl/astraeus/ jdbc | 12 years ago | ||
test/nl/astraeus/ jdbc | 12 years ago | ||
Simple-jdbc-statistics.iml | 12 years ago | ||
readme.md | 12 years ago |
A simple wrapper around jdbc drivers that will show some statistics about the running queries on a simple web page on port 18080.
To use:
Add the following jars to your classpath:
Add the following jar if you are not running in a web container:
Set your jdbc driver property to the following class:
nl.astraeus.jdbc.Driver
Add the following to the front of your current jdbc url:
jdbc:stat:
(eg. jdbc:postgresql://localhost/mydb becomes: jdbc:stat:jdbc:postgresql://localhost/mydb) Start your application and goto: http://:18080/
You will see an overview of the last 2500 queries run on your database and some timing stats about them.
Drivers automatically discovered atm:
org.postgresql.Driver oracle.jdbc.driver.OracleDriver com.sybase.jdbc2.jdbc.SybDriver net.sourceforge.jtds.jdbc.Driver com.microsoft.jdbc.sqlserver.SQLServerDriver com.microsoft.sqlserver.jdbc.SQLServerDriver weblogic.jdbc.sqlserver.SQLServerDriver com.informix.jdbc.IfxDriver org.apache.derby.jdbc.ClientDriver org.apache.derby.jdbc.EmbeddedDriver com.mysql.jdbc.Driver org.hsqldb.jdbcDriver org.h2.Driver