Forum Replies Created

Viewing 15 posts - 44,731 through 44,745 (of 49,552 total)

  • RE: Performance Issue in Search

    If you can post the code, I'm sure someone will be able to help you remove the cursor.

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

    Generally, yes, but you should test your queries to make sure they use the indexes you've created.

    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 SERVER PROFILER

    Use the fn_trace_getdata function to load the trace data into a SQL table. Then you can query the trace data to get your information.

    The only metrics you can compare your...

    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: What will be the appropriate index.

    If you're asking for all the values in the table to be read (as you are) the only way that SQL can possible do that is to scan the index....

    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: Server Logins

    Default database.

    What you need to get out of the syslogins is the login name, the password (hashed) and the SID. The SID is what will link up the logins 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 Server 2005 max memory and /3GB switch

    Don't enable AWE with only 4 GB memory. Enable the /3GB switch in boot.ini.

    As for the cumulative updates, run SELECT @@Version and compare the version number to the very comprehensive...

    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: One Milly-yon IOPS - Database Weekly (Sept 1, 2008)

    Jeff Moden (9/1/2008)


    GilaMonster (9/1/2008)


    Of course, because there are still going to be people writing queries with just the smallest amount of SQL knowledge (enough to do the job, not enough...

    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: Intellisense in SSMS 2008

    It only works if you're connected to a SQL 2008 server. If you're connected to any lower version, intellisense is disabled

    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: Server Logins

    Try restoring the backup to another server as a normal user database, then scripting the logins from the syslogins table.

    Please, in the future, put SQL 2000-related questions into the 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: Understanding Index defragmentation

    Dougo (9/1/2008)


    Where would I find the logical scan fragmentation percentage?

    It's called that in DBCC showcontig. If you're using sys.dm_db_index_physical_stats (which I assume you are) then the avg_fragmentation_in_percent is the logical...

    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: One Milly-yon IOPS - Database Weekly (Sept 1, 2008)

    rbarryyoung (9/1/2008)


    True, if you're talking about a USB Flash Drive, but SSD's are usually made with faster/better grade memory and designed for throughput equal to the bus speed (as hard...

    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: Local Temporary Tables and Table Variables

    rbarryyoung (9/1/2008)


    Of course we use a startup procedure to define the UDT's in TempDB.

    Does defining them in model work as well?

    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: Server Logins

    It should, yes.

    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: Upgraded from 2000 to 2005; now some views not working correctly

    In sql 2005 and higher, Top 100% ... order by is only honoured if it is in the outermost select statement.

    This will return in random order

    SELECT * FROM (

    ...

    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 Update

    thatok (9/1/2008)


    OK.

    I have a table IRchair which has columns staffno and clusterid. I am going to add to this table a clumn named period. So I need to bring...

    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 - 44,731 through 44,745 (of 49,552 total)