Forum Replies Created

Viewing 15 posts - 8,746 through 8,760 (of 22,214 total)

  • RE: Perform an update but skip lock

    When SQL Server takes an exclusive lock, which it must have in order to maintain data integrity when modifying data, there is no way for any other process to get...

  • RE: CXPACKET. What are the downsides of this wait type?

    SQLRNNR (3/7/2014)


    SQL Guy 1 (3/7/2014)


    Question: if my database files sit all on one drive, will my query benefit from parallelism (even if query cost > threshold)?

    Yes you could benefit...

  • RE: Why the Indexes on table slow down the DML operation on table, what is the exact reason?

    When you add a row to a table that has an index, the index has to be updated to reflect the new value added. When you modify a value that...

  • RE: CXPACKET. What are the downsides of this wait type?

    CXPACKET waits in and of themselves are no big deal. They're just indications of parallelism occurring within your system. Now, you may be seeing parallelism for some queries that are...

  • RE: Identifying Current Record

    You might want to take a look at this article I wrote in SimpleTalk. It goes through how to retrieve versioned data[/url] from the table. Assuming you can identify the...

  • RE: Migrate GUID TO BIGINT

    Right there with Gail. This is something I'd test the heck out of this before I got anywhere near production. It's far too big a change to do it any...

  • RE: sp performance

    Sqlsavy (3/7/2014)


    Thanks. Does updating stats on heap table is of any use?

    How to reduce fragmentation <30?

    IndexTypeavg_fragmentation_in_percent

    CLUSTERED INDEX 97.67442

    CLUSTERED INDEX...

  • RE: database is slow

    sqlbuddy123 (3/6/2014)


    Rebuild index doesn't update all the statistics. It updates only index statistics. Column statistics that are not part of index are not updated.

    True, but we know they have...

  • RE: sp performance

    It's hard to know for sure, but on a guess, statistics. I'll bet they're not being well maintained on either machine. Minimum, start with sp_updatestats. After that, you may find...

  • RE: database is slow

    For a quick hit, I agree with Lowell, pull information out of the cache. You can see what's going on there. For longer term though, you need to look into...

  • RE: database is slow

    sqlbuddy123 (3/6/2014)


    Or just run sp_updatestats to update the stats.

    And check for any Blocking, Memory, CPU, Disk utilization on the server. Also check for any waits on the server.

    --

    SQLBuddy

    But... If they...

  • RE: Alert me I can't Setup SQL Server 2008 with SQL Server 2012

    It looks like you've missed something on the security screens. Make sure, minimum, you add the current user. That's actually not always the best way to go about it, but...

  • RE: Database and its Objects Naming Standards

    I really don't care what naming standards we have. Let's just make them clear and let's enforce them. After that, it's all good.

    I have a presentation where I spend about...

  • RE: BACKUP command hanging

    SQL Guy 1 (3/6/2014)


    Try to backup with compression. In this case, the combined backup size will be around 150-200 GB, so there is a chance you'll be able to...

  • RE: outragous query duration during load

    If it's an update statement, you could be seeing contention from other resources doing reads at the same time as you're trying to modify the data. That's a pretty classic...

Viewing 15 posts - 8,746 through 8,760 (of 22,214 total)