Forum Replies Created

Viewing 15 posts - 41,161 through 41,175 (of 49,552 total)

  • RE: Missing indexes and query plan

    timothyawiseman (2/8/2009)


    They are not redundant since they have different total indexed columns and completely different included columns.

    They are redundant because the index key columns of one is a left-based subset...

    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: Performance Problem

    Jeff Moden (2/8/2009)


    We do a lot of batch and report processing... really heavy duty stuff, too. When we boot the server, we have TempDB start at 12 GB. ...

    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: Performance Comparison

    Is the load the same on the two servers (number of concurrent users, concurrent queries)? Is the data size the same on the two servers?

    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: Restore job skipping the logs on secondary server on SQL 2005!!

    Check the SQL error log on the secondary, see if there's any error messages.

    Check the primary server, make sure no other log backup job exists (where the logs aren't been...

    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: Here is A Default Trace Example of all trace files

    Lowell (2/6/2009)


    Well I read that the default trace keeps the last 5 meg of info, and a max of 5 files...apparently you can't change the default trace to keep more...

    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: Complex SQL ORDR BY doesn't work..

    Please can you post sample data and expected results here. I'm not fully understanding what you want, I think it's simple, but am not sure. We could be asking for...

    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: Restore

    Gift Peddie (2/7/2009)


    And in 2000 have had orphaned user while restoring and while creating new accounts because the account was created in the Master but not in the database

    That's 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: Updating a temp table with a count of occurrances in a different table?

    You need to use the FROM clause of the update

    UPDATE #Tags

    SET [Count] = TotalCounts

    FROM #Tags

    INNER JOIN (

    ...

    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: Complex SQL ORDR BY doesn't work..

    What do you mean by 'wrong row joined'?

    Order by is evaluated way after the joins are done, it's the last clause that gets evaluated.

    Can you post table structure, some sample...

    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: Restore

    Gift Peddie (2/7/2009)


    The user have not restored and yes you have hijacked the thread because I have given the user a support article which included the login transfer article which...

    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: Problem with DBCC Page() Results

    Since you're using 2005, use traceflag 1222 for deadlock graphs, rather than 1204. It's a lot more detailed.

    Tracefag 1206? why is that enabled and what does it 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: Shriking

    Back the log up more often. Maybe hourly. The more often you back it up, the less likely it is to grow large.

    You can shrink it, but unless you change...

    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: Performance Problem

    peace2007 (2/7/2009)


    However, it doesn't let me change the properties, is there any other way to do that?

    Alter database. Check BoL, it has an example on moving tempdb on the alter...

    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: Files per Filegroup depends on # of CPU?

    Separate filegroups, or all in primary?

    If you have lots of filegroups will small tables, I'd probably try merging them and dropping the empty filegroups, on dev (of course) and testing...

    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 Injection

    Paresh Prajapati (2/5/2009)


    I asked network peoples but the don't know how this is access by from this IP..

    Ask them to find out. Network security is their business and an unknown...

    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 - 41,161 through 41,175 (of 49,552 total)