Forum Replies Created

Viewing 15 posts - 46,741 through 46,755 (of 49,552 total)

  • RE: Protect data from unauthorized access - after a db attach

    gcmcmahon (4/29/2008)


    Is this even if they do not know the sa pwd?

    Yes, and it works even if the server's in windows authentication only mode.

    It's so that an admin cannot accidentally...

    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: table is published for replication and cannot be changed

    If we give you the answer, do we get the job?

    I'll give you a hint, but that's all. The database in question still thinks it's replicated.

    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: Mirroring / Snapshots

    No.

    A snapshot is just the old version of pages from the source DB that have changed since the snapshot was created. Removed from the source DB, it's meaningless as 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: Taking a lot of time to excute

    Can you post the schema of the table please?

    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: need /3GB and /PAE switch

    Irfan (4/29/2008)


    I am sorry i am not clear with your answere. do you mean if i have both switches enabled i will get a problem? you mean we should enable...

    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: need /3GB and /PAE switch

    No. You should have either /3GB or /PAE enabled. Having them both on on a server with 16+GB memory is asking for problems.

    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: Protect data from unauthorized access - after a db attach

    The database master key is used to encrypt other keys in the DB. It's not there to stop the DB being attached/restored onto another server.

    Currently, the way to ensure that...

    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: Error: 17883, Severity: 1, State: 0

    That just means that the SPID that reported the condition is sleeping (waiting) until the mini-dump that's created has been written to the drive. You'll see that every time SQL...

    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: Creating Unique Index on the column with the existing duplicates

    A index is either unique or it's not unique. To do what you want, you'll probably need a trigger, and it will hurt your insert/update performance.

    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: Limiting impact of poorly designed queries

    Hans Lindgren (4/29/2008)


    toniupstny (4/29/2008)


    The estimated cost is NEVER is a good estimate of the run duration of a query

    No, it's not. The cost is based on the CPU usage, 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: Limiting impact of poorly designed queries

    Jim Russell (4/29/2008)


    Toni - Until you pointed out that QUERY_GOVERNOR_COST_LIMIT had to be set in the query, it had not occurred to me. If the new Resource Governor falls...

    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: Error: 17883, Severity: 1, State: 0

    What sleeping condition?

    They're not bad-disk related. They're slow disk related. By themselves, these errors don't indicate corruption. They indicate that the IO system is overloaded or very poorly performing.

    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: Error: 17883, Severity: 1, State: 0

    Jpotucek (4/28/2008)


    SQL Server has encountered 37 occurrence(s) of IO requests taking longer than 15 seconds to complete on file [e:\Microsoft SQL Server\\webslog631_2.mdf] in database [webslog631_2] (35). The OS file...

    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: Compiler Hints

    Can you post the schema of the tables and their indexes please?

    Without that, we're just guessing.

    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: Compiler Hints

    Proper indexes and up to date statistics. Compiler hints are to be avoided wherever possible.

    Can you post the schema of the tables, the indexes defined and the aprox row counts...

    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 - 46,741 through 46,755 (of 49,552 total)