December 27, 2007 at 1:08 pm
I'll look at the T-SQL tonight. Not sure yet if there are a wad of cursors. You're saying that would explain the X locks?
Yep... could be... if they're not "Fire Hose" (Forward Only) cursors...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 27, 2007 at 3:07 pm
What are Snapshots? In Oracle, Snapshots were a precursor to materialized views, similar (in theory) to SQL 2000's indexed view...which never quite worked.
Database Snapshots are just sparse files that mimic the status of a Database at a point in time and had nothing to do with "materialized(indexed) views".
These files do slow down the insert speed but locking contention is supposed to decrease and your apps can read from the "Snapshot"
* Noel
December 28, 2007 at 8:49 am
Snapshots in this way almost sounds like a poor man's Snapshot Replication.
I think the problem is cursors. I scriped every Stored Proc in the database, and yes thare are a LOT of cursors. 3/4ths are opened as "LOCAL FORWARD_ONLY STATIC READ_ONLY", while the others don't have any keywords added at all.
What is the default, when nothing is specified? Is it Static, Dynamic, Keyset? Local or Global? Read_Only or read/write?
LOCAL FAST_FORWARD seems the way to go.
Thanks a bunch...everyone. Your ideas gave me ideas I wouldn't have had.
Viewing 3 posts - 16 through 17 (of 17 total)
You must be logged in to reply to this topic. Login to reply