Forum Replies Created

Viewing 15 posts - 2,821 through 2,835 (of 5,843 total)

  • RE: Log Shipping Restore Log on Secondary DB not restoring

    Hmm - " ... that could be applied to secondary".

    I think you are missing one or more log files BEFORE the ones that are in the restore directory maybe? ...

  • RE: Log Shipping Restore Log on Secondary DB not restoring

    Also, can you expand out the restore agent history and get the detailed error message?

  • RE: Log Shipping Restore Log on Secondary DB not restoring

    Jeff Langdon (9/13/2012)


    Adam Haines (9/13/2012)


    Even though the job reports success, I would still look at the agent history and in the second step from the top. There should be...

  • RE: Tempdb : ONE Data File per cpu

    Scammers and Charlatans the lot of you!! 😛

  • RE: Tempdb : ONE Data File per cpu

    lianvh (9/11/2012)


    I am frustrated, because , a consultancy firm used this tool and now to keep the peace we have to implement this setting.

    May I recommend that you find a...

  • RE: Update Statistics

    My understanding is that stats are not "swapped out" until they are complete - at which point stuff is marked as recompile. So your existing plan will keep getting...

  • RE: Is Database Engine Tuning Advisor's Recommedations are safe to apply on DB

    GilaMonster (9/3/2012)


    If you mean running tuning adviser and just accepting all suggestions without consideration, then no, it's not safe to do.

    You need to make sure your profile trace included all...

  • RE: Left Anti Semi Join - performance issue

    GilaMonster (8/28/2012)


    TheSQLGuru (8/28/2012)


    Personally I think that is a better query in any case, the IN's just offend my delicate sensibilities. 🙂

    Why?

    Because I have delicate sensibilities, of course!! 😀

    I also...

  • RE: Left Anti Semi Join - performance issue

    Rem70Rem (8/27/2012)


    Thanks GSquared....

    interestingly, this works great:

    select * from TableA a

    where not exists (select CustID from remoteserver.PRDA.dbo.Cust b where b.Custid=a.Custid)

    Personally I think that is a better query in...

  • RE: Check room availability in hotel system

    Get/find articles/books by Itzik Ben-Gan that discuss the Gaps and Islands problems. He (and others) provide a range of solutions to this scheduling problem.

  • RE: Log Shipping & DataBase Mirroring

    I am going to take what Gail said up a notch: it is utterly ridiculous for this client to ask you to set up their HA/DR stuff given that...

  • RE: REPLACE Multiple Spaces with One

    Jeff, why do you include LTRIM(RTRIM(OriginalString)) in your code? Isn't that (potentially completely unnecessary) work for nothing because your remaining code would handle any leading/trailing spaces anyway? Did/can you...

  • RE: Insert Into Using OpenQuery Causes Massive Fragmentation

    guerillaunit (8/16/2012)


    Hi Kevin,

    Is there a reason why you would need to drop the nonclustered indexes after truncating a table and before inserting new data to prevent fragmentation? I am...

  • RE: Index Range_scans

    Oops! Too quick read/reply.

    I would use sys.dm_db_index_usage_stats, which does report user_seeks for your situation (at least with the test setup I did).

  • RE: Index Range_scans

    SQLSACT (8/8/2012)


    Hi All

    I'm struggling to understand why my Index is reporting Range_scans

    DDL:

    Table:

    CREATE TABLE [dbo].[Indexing2](

    [Col1] [int] IDENTITY(1,1) NOT NULL,

    [Col2] [int] NULL,

    [Col3] [int] NULL,

    [Col4] [int] NULL

    )

    Indexes:

    CREATE CLUSTERED INDEX [CX] ON [dbo].[Indexing2] ([Col1])...

Viewing 15 posts - 2,821 through 2,835 (of 5,843 total)