Forum Replies Created

Viewing 15 posts - 4,681 through 4,695 (of 5,841 total)

  • RE: 9 Things to Do When You Inherit a Database

    stevecurtis3 (6/22/2009)


    We never delete anything in one go!!! What we do is change its name by prefixing XXX to its name, and then later delete all the XXX's....

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: 9 Things to Do When You Inherit a Database

    1) I agree with Mark about Drop obsolete objects. It is virtually impossible to find and properly scan all code that might run against any given database that might...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Looking into Forced Parameterization

    The main area where you can get in trouble with forced parameterization is when you have lots of calls against values that have widely disparate numbers of rows hit, especially...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Looking into Forced Parameterization

    Rob Reid (6/10/2009)


    The page in question loads fast and runs okay 98% of the time. The query is indexed correctly and I am looking into the query plans. The problem...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Deadlock on 1 row Table

    Dave Ballantyne (6/8/2009)


    Why not avoid the issue altogether , and do the work in one statement ?

    UPDATE AccountCounter

    SET AccountNumber = AccountNumber+1

    Output inserted.AccountNumber

    WHERE objid = @currentObjID

    I think that will require...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Looking into Forced Parameterization

    Novel suggestion: why don't you actually find out what is causing the problem, and then try to fix that? 😀

    Seriously, monitor the various Perf Mon counters...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: TRIGGER TO MONITOR DELETES ON ALL THE TABLES

    There are several 3rd party auditing products - ApexSQL and RedGate both have them IIRC. I think Paul Randall wrote a freebie script that will create the necessary triggers...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Partitining an existing table

    ALZDBA (6/10/2009)


    It cannot be sql2008 ...... the feedback registration date is 11/26/2006

    I believe you are mistaken if you think that MS wasn't working on SQL Server 2008 in late 2006.

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: I/O warnings in SQL Server 2005

    Were your physical disk counters for each individual drive?

    Spurious IO delays during high activity can be expected and really aren't an issue as long as they are very limited...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Bizarre transaction log growth during reindex

    I wonder if the ONLINE part of this is causing lots of extra tlog activity. See here, ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/udb9/html/eef0c9d1-790d-46e4-a758-d0bf6742e6ae.htm and here ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/udb9/html/d82942e0-4a86-4b34-a65f-9f143ebe85ce.htm in BOL and also follow the various links...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: The Problem Is You

    Mad Hacker (6/4/2009)


    Steve,

    The vast majority of the SSC Community truly appreciate your efforts, including any occasional errors that might be made. I would think that a "newbie" would have...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: What should I do if one of my table is corrupted..?

    search the web to find Paul Randall's blogs about dbcc checkdb. He litterally worked on that code in the engine at Microsoft. I also recommend you hire a...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Avg. Disk sec/Read

    Gail is right - if 354 and 291 milliseconds are sustained values for writes/reads then you have a serious problem. If they occurred during a 2 minute period of...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Partitining an existing table

    easiest is to zip the file and attach that. it then opens with the right app. 🙂

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Partitining an existing table

    pbowman (6/4/2009)


    OK, well I have the plans. Not entirely sure how to include them.

    The base queries:

    declare @topid bigint

    print getdate()

    select @topid = isnull(max(NotificationSequenceID),0)

    from Exchange.dbo.NotificationSequence

    print cast(getdate() as varchar) + ' Max...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

Viewing 15 posts - 4,681 through 4,695 (of 5,841 total)