Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. SQL Mystery

SQL Mystery

Scheduled Pinned Locked Moved Database
databasesql-serversysadminquestionlounge
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Super Lloyd
    wrote on last edited by
    #1

    For info: I'm using BlogEngine 1.6 I dunno what's happening with my blog, but removing any comment is so damn slow... like half an hour for the page to refresh after deleting 10 comment!!! Desperate, I open the Sql Server Management studio and connected to my blog database and ran the following SQL:

    DELETE FROM [codeblog].[dbo].[be_PostComment]
    WHERE [IsApproved] = 0

    Now If I open another query and ran

    SELECT *
    FROM [codeblog].[dbo].[be_PostComment]
    ORDER BY IsApproved

    I code plenty of result with IsApproved = 0 Worst the number of result return by such statement change at an alarming rate! Right after my delete statement I got, say, 50 comment. A few second later (if re-run it) I get 150, and then 350, etc... Argh.. what's going here!?!?! what COULD BE going on!

    A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.

    C 1 Reply Last reply
    0
    • S Super Lloyd

      For info: I'm using BlogEngine 1.6 I dunno what's happening with my blog, but removing any comment is so damn slow... like half an hour for the page to refresh after deleting 10 comment!!! Desperate, I open the Sql Server Management studio and connected to my blog database and ran the following SQL:

      DELETE FROM [codeblog].[dbo].[be_PostComment]
      WHERE [IsApproved] = 0

      Now If I open another query and ran

      SELECT *
      FROM [codeblog].[dbo].[be_PostComment]
      ORDER BY IsApproved

      I code plenty of result with IsApproved = 0 Worst the number of result return by such statement change at an alarming rate! Right after my delete statement I got, say, 50 comment. A few second later (if re-run it) I get 150, and then 350, etc... Argh.. what's going here!?!?! what COULD BE going on!

      A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.

      C Offline
      C Offline
      Chris Meech
      wrote on last edited by
      #2

      Maybe there is a spambot posting comments quickly, like say around 200 a second. :)

      Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra] posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups