Announcement

Collapse
No announcement yet.

How come edits take longer to load than new posts?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How come edits take longer to load than new posts?

    Just curious. It generally takes me three times as long as a new post to edit. The loading time from the edit post screen to that little intermediary screen is so long that it is actually more efficient to press back and refresh after I submit.
    "You're the biggest user of hindsight that I've ever known. Your favorite team, in any sport, is the one that just won. If you were a woman, you'd likely be a slut." - Slowwhand, to Imran

    Eschewing silly games since December 4, 2005

  • #2
    that it is actually more efficient to press back and refresh after I submit.


    That's what I always do

    Comment


    • #3
      I've always wondered about this too. Is it just the page refresh that is taking so long?

      -edit-

      Yup.

      Comment


      • #4
        Edits require more queries that take longer.

        For new posts it just adds an entry at the end of the table, for editing posts it needs to search for the old entry in the table, then change it.
        "The issue is there are still many people out there that use religion as a crutch for bigotry and hate. Like Ben."
        Ben Kenobi: "That means I'm doing something right. "

        Comment


        • #5
          I asked before, stated my theory and it was correct.

          Comment


          • #6
            i never edit my posts - they're always the Absolute Truth (TM).
            I watched you fall. I think I pushed.

            Comment


            • #7
              Originally posted by Asher
              Edits require more queries that take longer.

              For new posts it just adds an entry at the end of the table, for editing posts it needs to search for the old entry in the table, then change it.
              No it doesn't. Because it has already serached and found the entry it needed. It's just an UPDATE query.
              (\__/) 07/07/1937 - Never forget
              (='.'=) "Claims demand evidence; extraordinary claims demand extraordinary evidence." -- Carl Sagan
              (")_(") "Starting the fire from within."

              Comment


              • #8
                it's not a single update query in the posts table. there are more queries having to do with the search index which must kept updated
                Co-Founder, Apolyton Civilization Site
                Co-Owner/Webmaster, Top40-Charts.com | CTO, Apogee Information Systems
                giannopoulos.info: my non-mobile non-photo news & articles blog

                Comment


                • #9
                  Originally posted by Urban Ranger
                  No it doesn't. Because it has already serached and found the entry it needed. It's just an UPDATE query.
                  When will you learn enough to not argue with me when it comes to computers?
                  "The issue is there are still many people out there that use religion as a crutch for bigotry and hate. Like Ben."
                  Ben Kenobi: "That means I'm doing something right. "

                  Comment


                  • #10
                    BTW Markos, it seems that delete queries on post database don't remove the posts from search index...
                    Solver, WePlayCiv Co-Administrator
                    Contact: solver-at-weplayciv-dot-com
                    I can kill you whenever I please... but not today. - The Cigarette Smoking Man

                    Comment


                    • #11
                      Let's imagine that you have a stack of 10 books. "A" is at the bottom, then B, C, D, E, F, G, H, I, "J". Now, you add book "K" to the top of the stack.

                      You remember an inaccuracy in book F. You must get out F and correct the mistake. To do so, you have to carefully slide out F from the stack (or take the top half of the stack off), then change it, then carefully put it back in where it was. That takes more work than just adding a book to the top, doesn't it?

                      meet the new boss, same as the old boss

                      Comment


                      • #12
                        Originally posted by MarkG
                        it's not a single update query in the posts table. there are more queries having to do with the search index which must kept updated
                        But don't you need to create those entries in the first place?
                        (\__/) 07/07/1937 - Never forget
                        (='.'=) "Claims demand evidence; extraordinary claims demand extraordinary evidence." -- Carl Sagan
                        (")_(") "Starting the fire from within."

                        Comment


                        • #13
                          Originally posted by mrmitchell
                          You remember an inaccuracy in book F. You must get out F and correct the mistake. To do so, you have to carefully slide out F from the stack (or take the top half of the stack off), then change it, then carefully put it back in where it was. That takes more work than just adding a book to the top, doesn't it?

                          Yes, but only for a stack of books
                          (\__/) 07/07/1937 - Never forget
                          (='.'=) "Claims demand evidence; extraordinary claims demand extraordinary evidence." -- Carl Sagan
                          (")_(") "Starting the fire from within."

                          Comment


                          • #14
                            Originally posted by Urban Ranger


                            But don't you need to create those entries in the first place?
                            They are created, but now they have to be deleted, and new have to be created. All words longer than four(?) chatracters have to be linked to the postid, and if it is a new word it has to be added to the word table.
                            Creator of the Civ3MultiTool

                            Comment


                            • #15
                              I see, thanks
                              (\__/) 07/07/1937 - Never forget
                              (='.'=) "Claims demand evidence; extraordinary claims demand extraordinary evidence." -- Carl Sagan
                              (")_(") "Starting the fire from within."

                              Comment

                              Working...
                              X