Forum Replies Created

Viewing 15 posts - 12,286 through 12,300 (of 22,214 total)

  • RE: SQL 2000 query nested query run slower in SQL Server 2005

    Cost is an estimate generated by the optimizer. You can't control except by making the plan simpler.

    As to why the query would run faster because you removed quotes, I have...

  • RE: Are the posted questions getting worse?

    ALZDBA (6/15/2011)


    Grant Fritchey (6/15/2011)


    That's 10,000 posts, done.

    Wait, now it's 10,001.

    Congratulations, Grant.

    Apparently you have been very active today, now you're already at :

    Points: 10,881, Visits: 21,283

    Nah, that's points. I was...

  • RE: Execution plan generated but query is hung?

    GilaMonster (6/15/2011)


    Grant Fritchey (6/15/2011)


    If a query is executing, it has an execution plan. The plan comes first. And it gets stored in the plan cache prior to execution as well....

  • RE: Unique

    You could create a hash column as a calculated column next to your varchar(max) and then put a unique constraint on the hash column. It's unlikely to be perfect, but...

  • RE: Are the posted questions getting worse?

    That's 10,000 posts, done.

    Wait, now it's 10,001.

  • RE: How much disk free space to keep on drives and why?

    In a perfect world, 15% is probably workable, but with unexpected data loads, badly performing apps, failed maintenance jobs, sunspots, alien invasion... I prefer to run 30% free, minimum, unless...

  • RE: Execution plan generated but query is hung?

    If a query is executing, it has an execution plan. The plan comes first. And it gets stored in the plan cache prior to execution as well. If that process...

  • RE: SQL 2000 query nested query run slower in SQL Server 2005

    Looks like parallelism might be getting you. The cost for the plan is only 3. What is your cost threshold for parallelism? Default should be 5. Try setting it up...

  • RE: Automate Monitoring SQL Server Error Logs with Email Alerts

    Instead of checking the error log every two hours, why don't you just have the errors forwarded to you directly. Then you know about them when they happened rather than...

  • RE: Deadlocks Solution

    The thing is, it's likely to reduce deadlocks, but it's unlikely to eliminate them and it certainly won't prevent them in the future. Best way to avoid or fix deadlocks...

  • RE: Perfmon

    Stefan Krzywicki (6/14/2011)


    Grant Fritchey (6/14/2011)


    Perfmon is extremely lightweight if you're capturing the data out to a file other than the OS drive or on of the data or log drives...

  • RE: Perfmon

    Perfmon is extremely lightweight if you're capturing the data out to a file other than the OS drive or on of the data or log drives for the database. If...

  • RE: Question about forums and individual statuses

    Oh yes, there's a whole elite level of forums where we actually post only real answers instead of the usual pile of... oh my god... ninjas... arggghhhh!!!!

    Nothing to see here....

  • RE: Profiler reads..what are they? howthey compare to sec/reads

    I wouldn't get too hung on trying to correlate the two, but the events are showing pages read. A 1 is one page. 2, etc. are more pages. I don't...

  • RE: SQL PROFILER

    Profiler is for viewing the results of and defining server side traces. You can also run it directly against a database to capture data, but I don't recommend it.

    It's primary...

Viewing 15 posts - 12,286 through 12,300 (of 22,214 total)