Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase 12»»

All About Transactions - Part 3 Expand / Collapse
Author
Message
Posted Wednesday, November 17, 2004 3:27 PM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Friday, December 5, 2014 8:45 AM
Points: 1,035, Visits: 412
Comments posted to this topic are about the content posted at http://www.sqlservercentral.com/columnists/dpet


/*****************

If most people are not willing to see the difficulty, this is mainly because, consciously or unconsciously, they assume that it will be they who will settle these questions for the others, and because they are convinced of their own capacity to do this. -Friedrich August von Hayek



*****************/
Post #146852
Posted Thursday, December 2, 2004 8:22 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Thursday, May 22, 2008 2:03 PM
Points: 180, Visits: 35
Thanks you very much for writing this wonderful article. does sqlserver2005 locking machnism changed?  e.g. no lock on normal read.


Post #149019
Posted Thursday, December 2, 2004 9:25 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Friday, December 5, 2014 8:45 AM
Points: 1,035, Visits: 412

Unfortunately I haven't had much time to play with the early Beta of SQL 2005.  However, from what I have seen and heard, the locking will remain largely the same with one addition.  Database views (at least that's the name that was being used when I last heard them discussed) preserve the database as it existed at a given point in time without being a full copy.  Queries against the database view will be satisfied by looking at the "live" data unless the view contains some changes.  This isn't quite the same thing at Oracle's Rollback Segments but it sounds like it might be a good "split the difference" sort of solution.  I will point out again that I haven't actually used this functionality and I don't know the details of what this will mean for transactions and Locking...




/*****************

If most people are not willing to see the difficulty, this is mainly because, consciously or unconsciously, they assume that it will be they who will settle these questions for the others, and because they are convinced of their own capacity to do this. -Friedrich August von Hayek



*****************/
Post #149050
Posted Thursday, December 2, 2004 9:46 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Thursday, May 22, 2008 2:03 PM
Points: 180, Visits: 35
that sound like Oracle "materialized view" in 8i/9i, or snapshot in oracle8. used mostly in data warehouse or distributed database environment.


Post #149053
Posted Thursday, December 2, 2004 11:33 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Friday, December 5, 2014 8:45 AM
Points: 1,035, Visits: 412
Not really, SQL Server already has Indexed views which are the same thing as Oracle's materilaized views. 


/*****************

If most people are not willing to see the difficulty, this is mainly because, consciously or unconsciously, they assume that it will be they who will settle these questions for the others, and because they are convinced of their own capacity to do this. -Friedrich August von Hayek



*****************/
Post #149094
Posted Saturday, January 29, 2005 9:23 PM
Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Thursday, October 23, 2014 5:44 PM
Points: 553, Visits: 27

I really enjoy All About Transactions - Part 3.I am interested in to hear about your new  article which covers Bound Connections, Distributed Transactions .

 




Post #158407
Posted Wednesday, August 24, 2005 11:24 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Wednesday, June 27, 2012 7:28 AM
Points: 18, Visits: 46

Thank you for writing an easy to digest article.

Try BOL......makes my head spin.

 

Post #213543
Posted Monday, December 5, 2005 2:28 AM


SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Tuesday, August 10, 2010 4:54 AM
Points: 815, Visits: 32

Thanks for a great article which clearly explains the balance between isolation and concurrency. I have had to make extensive use of (NOLOCK) in reports to obtain good conurrency because the application I support creates uncommitted transactions every time you open a new form.

I understood from BOL that locking hints were HINTS, and that SQL Server 2000 will ackonwledge them, but will override the hint and select a more suitable level of lock granularity if the operation demands. So selecting WITH (ROWLOCK) when you are updating the majority of rows in a table is likely to be overridden in favour of page or table locks.

David



If it ain't broke, don't fix it...
Post #241844
Posted Monday, March 29, 2010 10:19 AM


SSC-Insane

SSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-Insane

Group: General Forum Members
Last Login: Thursday, November 27, 2014 4:23 AM
Points: 20,584, Visits: 9,624
I know I'm about 6 years behind on this article... but when's the next one comming out? You promess more info but apparently you got sucked into work and didn't have time to do it...
Post #891992
Posted Monday, March 29, 2010 10:52 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Friday, December 5, 2014 8:45 AM
Points: 1,035, Visits: 412
Thanks, I've been pretty busy at work and home (but aren't we all?) The truth be told, I guess I just blew it off so long that I got out of the habit of looking for ideas for articles. .. I will try in the next few months to dust off the old articles and maybe update them for 2005/2008.


/*****************

If most people are not willing to see the difficulty, this is mainly because, consciously or unconsciously, they assume that it will be they who will settle these questions for the others, and because they are convinced of their own capacity to do this. -Friedrich August von Hayek



*****************/
Post #892029
« Prev Topic | Next Topic »

Add to briefcase 12»»

Permissions Expand / Collapse