Forum Replies Created

Viewing 15 posts - 48,316 through 48,330 (of 49,552 total)

  • RE: Shouldn't this process faster?

    Makes sense.

    Try moving the cluster to logdate (or if you do queries by date and time, to a logdate and logtime together). Is not ideal, but is better than...

    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 Issue!!Please help me

    Osama Kandil (10/25/2007)


    3. In all your T-SQL queries, you must use:

    if Varcharcol1 like '%chocolate' or Varchacol2 like '%chocolate' or .. Varchacol10 like '%chocolate' then ...

    With wildcards at the begnning of...

    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 Issue!!Please help me

    Full text does sound like the best option.

    If you don't want to go full text, and your queries are always of the form

    SELECT FROM ItemDetail WHERE ItemcodeDescription...

    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: TSQL by Duration(Respone Time)

    Cross post. Please continue discussions here

    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: Restoring SQL 2000 Backup to SQL 2005

    It appears you have a user in the db named sys. Sys is reserved in 2005, it's the system schema.

    Try changing the user name to something else in 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: Rate my performance

    Did you shrink the data files, or just the log file? If the data files, you need to check the index fragmentation as the shrink probably shuffled 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: Performance Issue!!Please help me

    Have you considered inplementing full-text indexing?

    Could you possibly post the schema and the query so we can take a look?

    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: Shouldn't this process faster?

    Ok, there's a few issues at play here.

    Your filter (LEN(desthost)>1) is forcing a table scan, as any function on a column prevents usage of indexes for that condition. (See this...

    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: How many exams required to upgrade my MCDBA?

    Offhand, I'm not sure you can upgrade that. The upgrade path from MCDBA SQL 2000 to ITP Admin is 2 exams (70-431, 70-447) while the non-upgrade route is three. (70-431,...

    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: Which query is better - Please suggest if you have a new idea

    My instinct says the second should run faster, but there's only one way to really find out. Try them both out on a test server (wrapped in begin transaction ......

    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: SHRINKFILE errors

    CJR (10/24/2007)


    I have the stats from perfmon on this now but need to analyze, I see the avg disk queue length was 16.4 with a max of 116.

    Wow. Is 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: SHRINKFILE errors

    Found em.

    SQL 2000 IO basics

    IO Basics chapter 2

    Back to the subject of shrink. Have you tried several smaller shrinks instead of one large? If you're trying to shrink the 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: SHRINKFILE errors

    Hmmm....

    Are those disks in a RAID array, or are they single disks?

    Be careful with write caches and SQL server. Not so much of an issue, since its a dev server...

    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 Matter of Degree

    Steve Jones - Editor (10/24/2007)


    Conversely, lots of people think theory has no place in the game.

    It helps.

    Agreed. I did, amoung other courses, compiler theory, 2 forms of assembler, low-level networking...

    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: Huge Table

    Could also be that there's a trigger, or that the foreign and unique constraint checks are taking the time on the insert. They shouldn't but...

    That's the main reason I want...

    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 - 48,316 through 48,330 (of 49,552 total)