CodeIgniter Forums
How best to track database usage stats? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: How best to track database usage stats? (/showthread.php?tid=30076)



How best to track database usage stats? - El Forum - 05-02-2010

[eluser]carvingCode[/eluser]
Developing database app using CI - coming along nicely thanks to CI. Decided to add a stats feature, i.e.: track how app is being used, which keys are used to search, how much it is being used. This will be reported in an admin section.

Now, wondering how to best set up a stats table? Anyone done this or have ideas for me? Curious what fields to include and how/when best to add to the stats table?

Would rather not trial and error this, so thought I'd see what the CI forum has to say.

TIA