Database Query Tracking

Article Id
kb34
Published
19 Jul 2012 at 13:32
Last Updated
27 Nov 2013 at 16:01

Camino incorporates two database diagnostics features that allow developers to track how many queries are taking place and also what database requests are being invoked.

Enabling either of these methods will detrimentally impact on the performance of Camino and will also incorporate diagnostics messages within the output. Accordingly, they should not be enabled on production websites.

Database Query Counting

If enabled, this will write a count of the number of DB queries made during the page request at the bottom of the page.

To enable this functionality, change the value of EnableDatabaseQueryCounting to true within the web.config file.

Database Query Tracking

If enabled, this will write output a list of the DAL method and function calls executed during a the page cycle. These are listed as and when they are called within the page cycle, so they are inevitable spread out across the page.

To enable this functionality, change the value of EnableDatabaseQueryTracking to true within the web.config file.

     
Copyright © 2011 - 2024 Calzada Media Limited. All Rights Reserved