Forum Replies Created

Viewing 15 posts - 5,176 through 5,190 (of 22,211 total)

  • RE: Slow Database Offline

    Yeah, what can you see from the SQL Server side? Is the process blocked or waiting on a resource or what? That's what I'd want to know.

  • RE: SQL Server 2008 - DB troubleshooting - need peer review

    It's possible that you're experiencing CPU pressure. Those queries are horrific. However, changing your max degree of parallelism is only going to make those queries run in a serial mode....

  • RE: SQL Server 2008 - DB troubleshooting - need peer review

    High CXPACKET waits are an indication of parallel query execution, but not an indication that parallel execution is causing problems on your server. You need to look to other wait...

  • RE: Why is session in suspended status?

    That wait type is not very descriptive and is usually nothing to worry about. However, it can be an indication of issues with the query itself. Rather than focus on...

  • RE: Monitoring SP

    ramana3327 (1/21/2016)


    So triggers are the only option if you don't want have any 3rd party tools!

    Well, extended events are not a third party tool. You would have to write some...

  • RE: Monitoring SP

    The most effective way you can have this done from within SQL Server itself is through triggers. You can set up extended events to capture the changes... it's going to...

  • RE: Are the posted questions getting worse?

    Hugo Kornelis (1/21/2016)


    Though I am happy to hear that he feels that he has heard enough to be able to solve it, I am at the same time concerned. Based...

  • RE: Performance & uniqueness

    salardx (1/21/2016)


    Guys! please!

    We CANNOT have much indexes in the tables (neither one table for each month, nor 10,000 tables!)

    because data is bulking into the tables! 1000 records on each bulk!...

  • RE: Are the posted questions getting worse?

    Please, please, please, I already feel like I've been picking on this person, so no piling on. But they're looking for help and I don't think I'm providing it in...

  • RE: Performance & uniqueness

    salardx (1/21/2016)


    Do any of the files that you load have the same structure? If so, why not put them into the same table? And why create a new database each...

  • RE: Performance & uniqueness

    The very best way to deal with scale is start with the fundamentals. Making good choices on the clustered index, primary key (not the same things), unique constraints, normalization, data...

  • RE: Performance & uniqueness

    I don't understand what you're going for. When you say you want to "check five columns uniqueness by checking one column" you're stepping outside of standard mechanisms.

    What I'm suggestion is...

  • RE: Documenting SQL Server stored procedure

    There are lots of ways to document a procedure. It really depends on why you're documenting it, for what purpose, for what audience.

    One option is to look to a third...

  • RE: Clustered Index Scan

    bebe022476 (1/20/2016)


    HI Gail,

    Here it is:

    DocumentID(PK,int,not null)

    DocFolderID(int,null)

    PublishToWeb(bit,null)

    Filename(varchar(100),null)

    Filesize(int,null)

    ModifiedDate(datetime,null)

    TableName(varchar(40),null)

    EntityCode(varchar(12),null)

    I'm not sure how to attached the jpg screenshot here but the execution plan only has 100% Clustered Index Scan(Clustered) on [document],[pk_document] .

    The job normally...

  • RE: Performance & uniqueness

    What about just using a unique constraint?

Viewing 15 posts - 5,176 through 5,190 (of 22,211 total)