Forum Replies Created

Viewing 15 posts - 1 through 15 (of 44 total)

  • RE: Every command blocked

    Further to this, around the time we get blocked, there is a command for alter server audit and it had a  wait type of (30651ms)PREEMPTIVE_XE_CALLBACKEXECUTE. This was collected right before we...

  • RE: difficult (for me) query to count available items

    This logic will automatically assign the next item so you dont have to worry about being a bad planner

    declare @bookings table(bookingID int, start_date date, end_date date,...

  • RE: Tempdb version store and cursors

    Is there a way to list all the sessions and what implicit_transactions is set to for each one? I cannot see it in sys.dm_exec_sessions

  • RE: Tempdb version store and cursors

    OK I think I have solved this one myself... to a degree at least. I turned on a sql trace and started up the application. I then looked at sys.dm_tran_active_snapshot_database_transactions to...

  • RE: sqlcmd variables expansion

    Try using CHAR(36) instead of the $ for the ones you don't want to be interpreted as a variable

    @output_file_name=N'D:\Folder\Backups_' + CHAR(36) + N'(ESCAPE_SQUOTE(STRTDT))_' + CHAR(36) + N'(ESCAPE_SQUOTE(STRTTM)).txt',

  • RE: Tempdb version store and cursors

    Anyone have an idea on this one? Could it be that the cursor was closed but not deallocated?

  • RE: Weird OPENQUERY results sql2016 -> oracle 12c

    Looks like there are similar posts on here and other sites around this issue. Try the resolution in this one?
    https://www.sqlservercentral.com/Forums/Topic1157335-20-1.aspx

    but I am with crow on this...

  • RE: Cursor Performance

    I don't disagree but... vendor app. If I could rewrite their tables\queries and get rid of cursors, I would.

  • RE: After sql upgrade from sql 2014 to sql 2016 failover on 2 node windows cluster fails

    Can you please give more information on how you did the upgrade. I assume that on the passive node, had you already run the sql installation media and done "add...

  • RE: Cursor Performance

    Thanks for all the replies. Problems with query store is that it fills up in minutes... (2GB query store). Anyway the vendor has provided a patch fix for their application...

  • RE: Cursor Performance

    Yep have tried legacy cardinality estimation. 

    Unable to modify the query as its a vendor app.

    I have turned on the query store and can see that its...

  • RE: Cursor Performance

    Have run update stats on the database. Have run update stats with fullscan on the offending table. Can see the fetch is definitely using a bad plan with a costly...

  • RE: SAN Response Times

    update stats weekly but I am going to dig in to this a bit deeper to see it it can be done better.

    Yes have had a look at unused and...

  • RE: SAN Response Times

    Jeff Moden (1/21/2015)

    Y-o-w-c-h. And it's just you "against" all of them?

    Oh there are about 8524 clustered indexes but 43 primary keys

    Myself and another junior/intermediate DBA vs 8 developers for...

  • RE: SAN Response Times

    Yes it is an application with separate application servers and it is my least liked system at this site for many many reasons reasons some of which are...

    - 9448 tables,...

Viewing 15 posts - 1 through 15 (of 44 total)