Forum Replies Created

Viewing 15 posts - 4,186 through 4,200 (of 49,552 total)

  • RE: Log shipping from SQL 2012 Rs to SQL 2008 R2

    You cannot log ship down-version. A SQL 2012 database cannot be restored to a sQL 2008 R2 server, neither can log backups, so that's not going to happen.

    Log shipping up-version...

    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: Turning off TDE

    yakko_Warner (11/24/2015)


    So, the long and short of it is that TDE did indeed cause increased overhead and the server was not sized correctly to handle the I/O load.

    TDE won't increase...

    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: Transactions and temporary tables

    g.britton (11/24/2015)


    I'm thinking something else is going on, or something is not documented. deferred resolution is documented within the context of creating a stored procedure, which I get.

    I'm pretty...

    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: Transactions and temporary tables

    Nothing to do with transactions. That's a parse-time error (well, binding phase, not the parser itself). The algebriser sees that the object is being created twice as it binds the...

    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: Swap in In Fails on a Partioned Table

    Generally, when partitioning on dates, RANGE RIGHT is easier to work with.

    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: Turning off TDE

    yakko_Warner (11/24/2015)


    it's not i think the TDE caused table/index fragmentation.

    TDE won't cause index fragmentation. It's applied as the pages are written to disk, doesn't change where the pages are...

    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: Turning off TDE

    You run the ALTER and you wait until the background thread finishes, and that should be it.

    Why is a CPU usage of 20% a concern?

    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: sysprocesses: Why are some login name values empty

    One of the execution-related DMVs, either ...exec_sessions or ...exec_connections, depending what you're trying to do.

    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: sysprocesses: Why are some login name values empty

    Odd... Maybe a side effect of it being a deprecated view.

    Why are you using sysprocesses anyway? It's included only for backward compatibility with SQL 2000.

    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: sysprocesses: Why are some login name values empty

    Can you show some examples? Attach a screenshot?

    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: Partitioning Syntax

    Yes, because

    GilaMonster (11/24/2015)


    Create Partition Scheme Yearly_Date_Range_ps

    As PartitionYearly_Date_Range_pf

    All To ([Primary]);

    Go

    You're missing a space. The partition function is named Yearly_Date_Range_pf, and you left out the space between the PARTITION keyword and the...

    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: Partitioning Syntax

    Create Partition Scheme Yearly_Date_Range_ps

    As PartitionYearly_Date_Range_pf

    All To ([Primary]);

    Go

    You're missing a space. The partition function is named Yearly_Date_Range_pf, and you left out the...

    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?

    jasona.work (11/24/2015)


    ThomasRushton (11/24/2015)


    Me, I'm heading down the path of nuking the server completely. But I'm in the wonderful world of being able to rebuild and redeploy a server with...

    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 memory paging detection?

    If Windows pages SQL's memory out to the page file, there will be a message in the error log. SQL doesn't use the page file itself.

    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: No Record Found message vb.net+Sql 2012

    Btw, Khalid, you have a SQL Injection vulnerability in your code, potentially allowing any random user to steal your database, change data, or drop the entire database. For the sake...

    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 - 4,186 through 4,200 (of 49,552 total)