30 Queries, is this alot ? How much do you have ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mupetz
    Member
    • Sep 2005
    • 62
    • 5.0.X

    30 Queries, is this alot ? How much do you have ?

    Hi,

    I've just run the debug and got 29 queries on forum home. Version 3.6.5 with several mods.
    God damn, that's a lot of queries; normally the clean vbulletin doesn't have more than 10. I think it's time for me to stop installing any mods.
    How much queries do you guys have ?

    Also, i'm running on godaddy normal hosting with normal speed.
  • Kier
    Former Lead Developer, vBulletin
    • Sep 2000
    • 8179

    #2
    vBulletin.com itself runs 9 queries on forumhome.

    Comment

    • JakeS
      Senior Member
      • Jul 2005
      • 1975

      #3
      55, I've started a lot of modifications and never finished them so its running useless queries.

      Which reminds me, I gotta remove them.
      Last edited by JakeS; Tue 15 May '07, 6:27am.

      Comment

      • rellek
        Senior Member
        • Apr 2002
        • 198
        • 3.8.x

        #4
        Page generated in 0,19187 seconds with 12 queries

        At forumshome.
        Meow!

        Please excuse my bad English.

        Comment

        • filburt1
          Senior Member
          • Feb 2002
          • 6606

          #5
          The number of queries is irrelevant compared to their efficiency. I have a project at work which (necessarily, trust me; it's a statistical report) runs 217 queries on 0.3 seconds on crappy MySQL. And those queries are scanning hundreds of thousands of rows and joining in some other data.
          --filburt1, vBulletin.org/vBulletinTemplates.com moderator
          Web Design Forums.net: vB Board of the Month
          vBulletin Mail System (vBMS): webmail for your forum users

          Comment

          • simsim
            Senior Member
            • Nov 2005
            • 1625
            • 3.6.x

            #6
            Hmm.. still a large number of queries would indicate - in many cases - bad optimization. What do you mean exactly by efficiency?
            You're spending millions of dollars on a website?!

            Comment

            • RedTyger
              Senior Member
              • Dec 2006
              • 335
              • 3.8.x

              #7
              Not really. A lack of optimisation is doing what needs to be done inefficiently. If you need a lot of queries to do what you need to achieve, it's not inefficient. It's just high-powered (probably, but as filbert said, not necessarily).

              Comment

              • Mupetz
                Member
                • Sep 2005
                • 62
                • 5.0.X

                #8
                queries

                I added this 2 lines on header to make the queries run in the background. This way, the forum seems more faster.

                Code:
                <META http-equiv=Page-Exit content=BlendTrans(Duration=0)>
                <META http-equiv=Page-Enter content=BlendTrans(Duration=0)>
                BoYagoob posted this vb.org.

                Definitely needed by thous running several queries, like you JakeS. (50 omg)

                If you have any more tips, please share.

                Comment

                • Zachery
                  Former vBulletin Support
                  • Jul 2002
                  • 59097

                  #9
                  I don't see how IE page transitions speed the page up at all...

                  Comment

                  • FreshFroot_
                    Senior Member
                    • Jul 2005
                    • 1420
                    • 3.8.x

                    #10
                    Originally posted by Mupetz
                    I added this 2 lines on header to make the queries run in the background. This way, the forum seems more faster.

                    Code:
                    <META http-equiv=Page-Exit content=BlendTrans(Duration=0)>
                    <META http-equiv=Page-Enter content=BlendTrans(Duration=0)>
                    BoYagoob posted this vb.org.

                    Definitely needed by thous running several queries, like you JakeS. (50 omg)

                    If you have any more tips, please share.
                    Seems faster or it DID get faster? I have yet to check my queries, but I think I'll need to cut down on some... My forums are become slugish lately..

                    Comment

                    • Omri.L
                      Senior Member
                      • Oct 2005
                      • 171
                      • 3.5.x

                      #11
                      Originally posted by Mupetz
                      I added this 2 lines on header to make the queries run in the background. This way, the forum seems more faster.



                      Code:
                      <META http-equiv=Page-Exit content=BlendTrans(Duration=0)>
                      Code:
                      [LEFT]<META http-equiv=Page-Enter content=BlendTrans(Duration=0)>[/LEFT]
                      BoYagoob posted this vb.org.

                      Definitely needed by thous running several queries, like you JakeS. (50 omg)

                      If you have any more tips, please share.



                      Huh ? i will be very surprised if this things actually works. The queries run before this info is even sent to your browser.

                      Comment

                      • filburt1
                        Senior Member
                        • Feb 2002
                        • 6606

                        #12
                        Originally posted by RedTyger
                        Not really. A lack of optimisation is doing what needs to be done inefficiently. If you need a lot of queries to do what you need to achieve, it's not inefficient. It's just high-powered (probably, but as filbert said, not necessarily).
                        Yes, but what I mean is that 30 super-fast, well-written queries on a properly-indexed fifth normal form database are going to be much better than a single, poorly-written query on a not-even-third normal form database that lacks any indices or referential integrity.

                        Obviously you want the best of both worlds: a small set of queries that efficiently perform their tasks.
                        --filburt1, vBulletin.org/vBulletinTemplates.com moderator
                        Web Design Forums.net: vB Board of the Month
                        vBulletin Mail System (vBMS): webmail for your forum users

                        Comment

                        • Ace
                          Senior Member
                          • Apr 2004
                          • 4051
                          • 4.2.X

                          #13
                          Originally posted by Mupetz
                          I added this 2 lines on header to make the queries run in the background. This way, the forum seems more faster.

                          Code:
                          <META http-equiv=Page-Exit content=BlendTrans(Duration=0)>
                          <META http-equiv=Page-Enter content=BlendTrans(Duration=0)>
                          BoYagoob posted this vb.org.

                          Definitely needed by thous running several queries, like you JakeS. (50 omg)

                          If you have any more tips, please share.
                          That just forces the browser to render the page differently.

                          It does nothing to queries.
                          My Live vB5 Site - NZEating.com
                          vBulletin Hosting | vBulletin Services - Need hosting for your vB? Need it installed? Something else? Let me take that hassle off your hands.

                          Comment

                          • Mupetz
                            Member
                            • Sep 2005
                            • 62
                            • 5.0.X

                            #14
                            Originally posted by Ace
                            That just forces the browser to render the page differently.

                            It does nothing to queries.
                            Ok so this can't do any damage.
                            The important thing is that it affects the page load ( positively ).
                            I will continue using it.

                            Btw i manage to remove 2 not so important queries. But eh, i don't see any difference.

                            Comment

                            • Zachery
                              Former vBulletin Support
                              • Jul 2002
                              • 59097

                              #15
                              Originally posted by Mupetz
                              Ok so this can't do any damage.
                              The important thing is that it affects the page load ( positively ).
                              I will continue using it.

                              Btw i manage to remove 2 not so important queries. But eh, i don't see any difference.
                              It just makes you think it does.

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...