Forum Replies Created

Viewing 15 posts - 10,126 through 10,140 (of 22,213 total)

  • RE: CTE Vs temp table

    Sorry, my email was offline so I wasn't getting messages. Sounds like Chris largely has it in hand.

  • RE: sql server 2012 auditing all

    Since you're on SQL Server 2012, I would advise avoiding trace events. Instead focus on extended events. They're more light weight and much more programmable. There's no book available on...

  • RE: model database?

    anthony.green (1/25/2013)


    Only upon restart of the service as TempDB is created from model so the objects inside it will also be created in TempDB

    Hence why you should use a script...

  • RE: partition in db

    Table partitioning is primarily a mechanism of data management, not of performance tuning. Partitions allow you to add or remove data by working with large chunks, the partition, rather than...

  • RE: Query to find username/login name of a particular query executed at particular time.

    SQL Server doesn't store the previous executions of queries. You can look at the aggregation of queries currently in cache using sys.dm_exec_query_stats, but it doesn't have execution context (who ran...

  • RE: Stored procedure very slow execution

    I agree. It sounds like parameter sniffing is leading to issues. I would suggest updating the statistics on the tables being referenced. In addition to the solutions for parameter sniffing,...

  • RE: CTE Vs temp table

    There are probably lots of other issues in and around this, but the repeated pattern that looks like this:

    where coalesce(p.ImageSequenceId,0)

    is absolutely killing performance. Every single one of those is...

  • RE: CTE Vs temp table

    padhu.mukku (1/24/2013)


    There will be no diff instead when ever u want to use this CTE to read data from it, u have to define its sturcture again and again....

    Try to...

  • RE: Just WHY Always On feature (vs Failover Cluster)

    Oh, that's right Kevin. I completely forget that you get four mirrors of the active server. That one is big too. Nice catch.

    I'm just a little surprised that this information...

  • RE: Just WHY Always On feature (vs Failover Cluster)

    There are several reasons why Availability Groups might be preferred to a Cluster. First, and most importantly, you're not sharing any resources at all. In a cluster if the disk...

  • RE: database design help please

    Nah, I'd say you're digging a bit of a hole. Instead how about something like

    Recurrence ... whatever columns are unique to the recurrence

    RecurrenceSchedule ... just a listing of each of...

  • RE: Tables Involved in Stored procedure

    MasterDB (1/24/2013)


    Check the fragmentation of all indexes by using sys.dm_index_usage_physical_stats.

    If the fragmentation is more than 35% --Rebuild all the indices.

    Ask the users about any change of code..? If so, Check...

  • RE: Tables Involved in Stored procedure

    runal_jagtap (1/24/2013)


    Update statistics?

    Hmm i have never done Update statistics on Database yet..

    Please correct my belwo plan..

    Sunday no one wotks on the Database

    will perfom the below activity..

    1) Full Backup - Using...

  • RE: Monitoring Tools

    You're really going to need to evaluate each of the tools to see which will do what you need for the money you're willing to pay. 10 instances is a...

  • RE: Forced Parameterization

    Not a detail I had noticed before. But yes, the shells are there. I recreated Gail's tests.

Viewing 15 posts - 10,126 through 10,140 (of 22,213 total)