Forum Replies Created

Viewing 15 posts - 45,631 through 45,645 (of 49,571 total)

  • RE: Restoring differential backup on other server

    All of the backups, other than the last transaction log backup must be restored WITH NORECOVERY. Once any backup has been restored WITH RECOVERY, no more backups can be applied...

  • RE: Question specific to Table/Lazy Spool

    It might be a concern, it might not. Without the query, that's about all that can be said.

  • RE: Restore package from msdb back-up copy

    Provided its from the same version of SQL, it can be restored. See the above link for details on how.

  • RE: Log File Full

    angie stein (7/17/2008)


    Actually, CAN I do a shrinkfile in a mirrored environment? I was told by our contractor that you should never truncate the logs since you don't know...

  • RE: Question specific to Table/Lazy Spool

    Table spool/lazy spool is a temp storage of a interim resultset so that the query processor doesn't have to regenerate the resultset. Often found with sorts, aggregations in subquery, linked...

  • RE: How do I reduce or eliminate logging?

    michael vessey (7/17/2008)


    In these instances rather than issueing a backup log with truncateonly command we sheduled an hourly CHECKPOINT (for that database)

    added benefit of this is that you can run...

  • RE: how many users r connected to the sqlserver

    Or you can use the newer DMVs

    SELECT count(*) from sys.dm_exec_connections

    You can also get the IP address fron the same dmv

    SELECT login_name, HOST_NAME, client_net_address

    FROM sys.dm_exec_connections c INNER JOIN sys.dm_exec_sessions s...

  • RE: Restore package from msdb back-up copy

    It is possible to restore MSDB, but the process is not the same as for one of the user databases.

    See - http://msdn.microsoft.com/en-us/library/ms190749.aspx

  • RE: Regarding extended stored procedure.

    xp_cmdshell with the appropriate proxy account created.

    Look up proxy aaccounts in books online. You don't have to be admin to execute xp_cmdshell

    If you're using stored procedures, consider the EXECUTE...

  • RE: Efficient Tuning

    Mike, as GSquared suggested on another thread, perhaps you should consider getting a competant SQL consultant in to help you with the myriad of performance problems that you seem to...

  • RE: Which plan is the most efficient one?

    Perhaps you would like to post the query, the table structure and the indexes?

    For now, it looks like the plan that the optimiser picked (the coverign index with a scan)...

  • RE: Hash and sort warnings...

    It's a red flag. It means that a sort or hash couldn't fit into memory and was forced to disk. Either you;re doing massive hashes and/or sorts, or you're low...

  • RE: Sort and Hash warnings

    phoenixrising1599 (7/16/2008)I have min and max server memory set to default (dynamic configuration)

    I would recommend changing that. On 64 bit with lots of memory, SQL's more than capable of using...

  • RE: Adhoc queries and deadlocks.

    Just converting them to stored procs, probably not.

    To fix deadlocks, you need to identify the cause of that deadlock and fix that. It's probably bad code, bad indexes or...

  • RE: Index strcture

    Looking at that, my first pass suggestion for indexs (without any testing done) would be:

    ParentTable

    - Clustered index on the primary key.

    - Possible nonclustered index on Col2, Col3 (if they...

Viewing 15 posts - 45,631 through 45,645 (of 49,571 total)