Forum Replies Created

Viewing 15 posts - 41,176 through 41,190 (of 49,571 total)

  • RE: Files per Filegroup depends on # of CPU?

    sqlfriend (2/9/2009)


    Hi, just got an update: It's 14 filegroups with one file each. They are all on the same SAN/LUN based on several physical drives.

    If they are all on...

  • RE: using datetime variable - performance hit?

    Parameter sniffing, or more accurately the lack of parameter sniffing. SQL doesn't know the values of the variables at compile time and hence guesses the rows affected. If it guesses...

  • RE: JOIN too slow; looking for a better approach

    Barkingdog (2/8/2009)


    The problem I'm finding is that, in my case, Table A and TableB each have around 500,000 records, with 15 fields, and the JOINs are way too slow to...

  • RE: Intersect against queries with different #'s of arguments

    Why use intersect? If you're looking for matches, join the tables

    update D

    set isspecial = 1

    from D inner join M on D.c1 = M.c1 AND D.c2 = M.c2 AND D.c3...

  • 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...

  • 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. ...

  • 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?

  • 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...

  • 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...

  • 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...

  • 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...

  • 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 (

    ...

  • 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...

  • 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...

  • 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?

Viewing 15 posts - 41,176 through 41,190 (of 49,571 total)