Forum Replies Created

Viewing 15 posts - 42,196 through 42,210 (of 49,571 total)

  • RE: Query Execution time take nearly 30 min

    subha.v (12/22/2008)


    Advanced thaks for all.I didn't expect this much reply from my post. It's really helpful for me to know more about the problem.

    If you answered all the questions we've...

  • RE: Error in starting sql server in single user mode

    Perry Whittle (12/22/2008)


    are you sure

    NET STOP MSSQLSERVER

    is stopping the correct instance?

    It's the same instance that he's starting and the same one he's connecting to via sqlcmd. Whether it's...

  • RE: Need help diagnosing a problem

    Paul (12/22/2008)


    From what I've read, there's an overhead associated with checking for locks that you incur even if there aren't any.

    Adding NOLOCKS is supposed to skip that.

    Very small overhead.

  • RE: Query Execution time take nearly 30 min

    subha.v (12/22/2008)


    Sorry. I am waiting for my PL approval.

    ?

    Could you please confirm is searching based on the non-clustered index cause the performance problem.

    No. Not enough information.

  • RE: Need help diagnosing a problem

    Paul (12/22/2008)


    I meant that the data is updated so infrequently that I dont think the costs of record locking outweigh the performance gain from ignoring it.

    Thing is, if using nolock...

  • RE: Duel Insert?

    What's the question?

  • RE: Duel Insert?

    Ok. Is there a question somewhere in that?

    If you want assistance in writing the trigger, you're going to have to give a lot more details on what you want to...

  • RE: Transaction Log Size

    ps (12/22/2008)


    try reducing the frequency of tran log backups. this will flush out inactive transaction more frequently from the log file.

    Other way around. Reducing the frequency of the log backups...

  • RE: Transaction Log Size

    What recovery model and how often are you doing transaction log backups?

    What do you mean by "unable to open it"?

    Take a read through this - http://www.sqlservercentral.com/articles/64582/

  • RE: Error in starting sql server in single user mode

    So you've got the SQL service stopped, you've got one command window where you ran sqlservr.exe -m and left it running, and another command window where you're trying to connect...

  • RE: Query Execution time take nearly 30 min

    nitinpatel31 (12/22/2008)


    There must be some corruption in Index or Data pages.

    If there was corruption of any form the query would not run forever. It would fail with an error,...

  • RE: Query Execution time take nearly 30 min

    subha.v (12/22/2008)


    It's still running. Nearly 55 min.

    Is it blocked? Is it wating for a resource, if so what's the wait type and wait resource?

    How many rows out of the 700000...

  • RE: User Defined Function: order by won't work

    Jeff Moden (12/22/2008)


    Ohhhhh.... that stuff..... gee... I wonder when they'll come out with an EDI data type? 😛

    CREATE TYPE EDI

    EXTERNAL NAME EDI.[PointlessClrTypes.EDI] ;

  • RE: Query Execution time take nearly 30 min

    subha.v (12/22/2008)


    Select ColB,ColC from table1 where ColD= 123.

    How many rows will that return?

  • RE: Query Execution time take nearly 30 min

    Kishore.P (12/22/2008)


    > DBCC CHECKTABLE.

    > DBCC UPDATEUSAGE ( ), if it is not a production server.

    > DBCC CLEANTABLE

    Why?

Viewing 15 posts - 42,196 through 42,210 (of 49,571 total)