mysql queries

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bjacobs
    Junior Member
    • Mar 2004
    • 28

    #1

    mysql queries

    Since I've never done this before and cannot find this info, I would like to know how you find out how many mysql queries are being ran on a particular site.

    I just don't want to get into trouble here by my site causing any problems.

    Thanks
  • AndrewT
    Administrator
    • Mar 2004
    • 3655

    #2
    There really is no easy way to do this unless your script is coded to count the queries.

    Comment

    • ergo
      Member
      • Feb 2006
      • 51

      #3
      there is a function i think called mysql_info() which returns mysql stats, call it at the begging of your script execution and on the end of \your file . and substract queries and you'll proboably have what you're looking for

      http://www.linkedin.com/in/marcinlulek - my linkedIn profile - please check out
      Freelance professional webdeveloper for hire - XHTML, CSS2, PHP 5 , SOON PYTHON, MySQL, PostgreSQL, SQLite, Ajax & Javascript [ using yahooUI and dojotoolkit for ajax work ], database performance optimisation, security audits. - contact me , get work done the way it should be.

      Comment

      Working...