Forum Replies Created

Viewing 15 posts - 2,386 through 2,400 (of 49,552 total)

  • RE: Lock level

    river1 (9/14/2016)


    I know that I can decrease the isolation level inside stored procedures so that they don't cause locking.

    Wrong question.

    You should be fixing (tuning) the procedure so that it doesn't...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: The transient database snapshot for database 'DB1' (database ID 5) has been marked suspect due to an IO operation failure.

    Please note, 6 year old thread

    (and the error's not caused by insufficient free space, but rather by a limit on the size of sparse files)

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Display Database Configuration Settings

    The instructions look clear enough? What's the problem?

    A path is only needed if you want the file written somewhere other than the directory you run the command from (by default...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Are the posted questions getting worse?

    Can someone familiar with SQL to SQL linked servers help out please

    http://www.sqlservercentral.com/Forums/Topic1817509-2799-1.aspx

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: create view with CTE SQL statement

    Msg 7202, Level 11, State 2, Procedure Vw_DBSize, Line 3

    Could not find server 'targetserver' in sys.servers. Verify that the correct server name was specified. If necessary, execute the stored procedure...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: recovery mode comparison

    No.

    If you switch to bulk-logged, you'll have to take log backups, that's the only difference.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: create view with CTE SQL statement

    The view has the correct information and you just obfuscated it for the forum?

    If you run just the select statement, does it return results?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: SQL anaylsis

    Bharat21 (9/14/2016)


    check below query and suggest how make query for take count of accessed this stored procedure and triggers on SQL server in last 30 days

    Hugo already...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: create view with CTE SQL statement

    If you run just the select statement, does it return results?

    Do you really have a linked server named "LinkedserverName,Portnumber"??? If so, why?

    And what type of database is it?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Are the posted questions getting worse?

    ChrisM@Work (9/14/2016)


    Eirikur Eiriksson (9/14/2016)


    Kingston Dhasian (9/14/2016)


    How would somebody respond to this? The last statement of the OP is a cruel joke.

    http://www.sqlservercentral.com/Forums/Topic1817507-3739-1.aspx

    Makes you wonder what the purpose is and English certainly...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: dynamic sql performance and implementation recs?

    Optimal, maybe. Secure, very likely not.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Log Chains

    Mike Scalise (9/14/2016)


    In other words, from a technical perspective, would it be breaking the log chain to not have that file? Wouldn't step e) forward account for anything that would...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Find statements with largest redo

    Pages (which are 8kb in size). Most reads/writes shown by SQL, unless specified as in kb or bytes, will be in pages

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: A Group by with a where clause ??

    Try

    COUNT(*) OVER (PARTITION BY edata.dbo.e_ClientCases.Client)

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Find statements with largest redo

    sys.dm_tran_database_transactions gives information about how much log space was used for a transaction.

    Extended events writes should give you total writes, if the correct events are selected (sql vs sp), sys.dm_io_virtual_file_stats...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 15 posts - 2,386 through 2,400 (of 49,552 total)