queries used ???

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ChrisTech
    Senior Member
    • Mar 2004
    • 530

    #1

    queries used ???

    I have a site who decided to host a IPB board, and later changed it to a portal. I'm wondering just how many queries used is too much?

    On my main forums I run, I have 11 queries used. And am thinkin about trying to shrink that number some to increase speed overall.

    Any ideas or help would be greatly apperciated as I am unsure.

    Oh, and I got my user id on WHT changed to same as this one. =P
    Hosting at Dathorn since March 2003!

    My Interwebs speed on Charter Cable!
  • KyleC
    Senior Member
    • Mar 2004
    • 291

    #2
    there isnt a number of queries per se


    as discussed in a previous thread:
    run:
    watch 'pstree -u | grep httpd'

    if you consistantly have 10 processes running under your username then u are pushing for account suspension
    -Kyle

    Comment

    • -Oz-
      Senior Member
      • Mar 2004
      • 545

      #3
      They key is to make sure they're not persistent connections. They shouldn't be with IPB, but some hacks may be. Anything "Live" could pose a problem.
      Dan Blomberg

      Comment

      • ChrisTech
        Senior Member
        • Mar 2004
        • 530

        #4
        He had it @ 27 queries used for a while, I got him to cut it down to 19.
        Hosting at Dathorn since March 2003!

        My Interwebs speed on Charter Cable!

        Comment

        • Buddha
          Senior Member
          • Mar 2004
          • 825

          #5
          It's not only the number of queries but the amount of data. Make sure every data field fetched is actually needed. "*" are great when your developing a script but you have to go back and figure out what is needed.

          However, having said that it still a good idea to reduce the number of queries.

          Originally posted by KyleC
          if you consistantly have 10 processes running under your username then u are pushing for account suspension
          I bet that hogging the database could get you suspended too. And I can think of a few of way of you could do that without showing up in httpd. But I don't think Andrew in myopic either he'll find the problem no matter what service is involved.
          "Whatcha mean I shouldn't be rude to my clients?! If you want polite then there will be a substantial fee increase." - Buddha

          Comment

          Working...