• anonymous2009 (9/15/2012)


    Thanks for your response.

    The database I'm dealing with is not set to readonly. Application does only reads from it. We do occasional updates every month, but during that process we shut the application down.

    Instead of making the db as readonly, what will be the performance implications between isolation levels READ UNCOMMITTED and READ COMMITTED SNAPSHOT isolation?

    Which would be better for my case?

    How complex is the process to set the database as READONLY? The reason I'm asking because, our db will be deleted every couple of months and the new database version will be restored.

    So setting the db as READONLY after the restore will have to be repeated every single time the restore is done?

    Thanks!

    I don't believe any of that will help. The application is "read only" and offline while you're doing the updates to the database.

    Certain stored procedures are slow And need advice on what could be done given the database is readonly.

    Which stored procedures? The ones that the application uses? Is it always the same stored procedures that run slow?

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)