View Database Profiling Informaiton with Zend_Db_Profiler_Firebug with Firebug Console.

For anyone who wants to get a quick idea how long various database queries may be taking in there php/zend applicaiton

Install and configure Zend_DB_Profiler
http://framework.zend.com/manual/en/zend.db.profiler.html#zend.db.profiler.profilers.firebug

you will require


* Firefox Browser ideally version 3 but version 2 is also supported.
* Firebug Firefox Plugin from http://www.getfirebug.com/
* FirePHP Firefox Plugin from http://www.firephp.org/
* FirePHP Core Library from http://www.firephp.org/
* FirePHP Zend Framework Library

you can simply enable it from your application .ini

[testing]
database.adapter = pdo_mysql
database.params.host = localhost
database.params.username = trevor
database.params.password = trevor123
database.params.dbname = db_store
database.params.profiler.enabled = true
database.params.profiler.class = Zend_Db_Profiler_Firebug

Comments

Popular posts from this blog

Basic Send Message to MQ with Java and IBM MQ JMS

Basic Receive Message to MQ with Java and IBM MQ JMS

Configure Database Connection using MyBatis