Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Locking
Hi all!

Can anyone point me to a doc that describes what the default locking levels
were across different versions of SQL, i.e. row vs. page vs. table, going
all the way back to version 4.2, and what the circumstances would have been
when SQL decides what to use over the other? Guess versions 4.2 and 6.x were
page-locking no matter what if I remember correctly, but want to make sure
before I tell my colleagues rubbish.

Thanks in advance,
Jan Van der Eecken



Report this thread to moderator Post Follow-up to this message
Old Post
Jan Van der Eecken
04-07-06 01:23 AM


Re: Locking
I don't have any documentation but you didn't have true row level locks
until version 7.0. So before that it was Page and after it is Row.

--
Andrew J. Kelly  SQL MVP


"Jan Van der Eecken" <jvandereecken@omam.com> wrote in message
news:u$lROWbWGHA.1228@TK2MSFTNGP02.phx.gbl...
> Hi all!
>
> Can anyone point me to a doc that describes what the default locking
> levels were across different versions of SQL, i.e. row vs. page vs. table,
> going all the way back to version 4.2, and what the circumstances would
> have been when SQL decides what to use over the other? Guess versions 4.2
> and 6.x were page-locking no matter what if I remember correctly, but want
> to make sure before I tell my colleagues rubbish.
>
> Thanks in advance,
> Jan Van der Eecken
>



Report this thread to moderator Post Follow-up to this message
Old Post
Andrew J. Kelly
04-07-06 01:23 AM


Re: Locking
Thanks Andrew. I was almost under the impression that it was page-level in
7.0 as well.

Cheers,
Jan

"Andrew J. Kelly" < sqlmvpnooospam@shadh
awk.com> wrote in message
news:%23LP5XxdWGHA.2376@TK2MSFTNGP03.phx.gbl...
>I don't have any documentation but you didn't have true row level locks
>until version 7.0. So before that it was Page and after it is Row.
>
> --
> Andrew J. Kelly  SQL MVP
>
>
> "Jan Van der Eecken" <jvandereecken@omam.com> wrote in message
> news:u$lROWbWGHA.1228@TK2MSFTNGP02.phx.gbl... 
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Jan Van der Eecken
04-07-06 08:24 AM


Re: Locking
6.5 added some possibility to get some type of row locks for INSERTs. Sorry 
to be vague, but it was
a long time ago. As I recall, you had to satisfy a number of conditions (pro
bably what indexes you
had) in order to get some concurrency on the page for INSERT operations.

--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www. solidqualitylearning
.com/
Blog: http:// solidqualitylearning
.com/blogs/tibor/


"Andrew J. Kelly" < sqlmvpnooospam@shadh
awk.com> wrote in message
news:%23LP5XxdWGHA.2376@TK2MSFTNGP03.phx.gbl...
>I don't have any documentation but you didn't have true row level locks unt
il version 7.0. So
>before that it was Page and after it is Row.
>
> --
> Andrew J. Kelly  SQL MVP
>
>
> "Jan Van der Eecken" <jvandereecken@omam.com> wrote in message
> news:u$lROWbWGHA.1228@TK2MSFTNGP02.phx.gbl... 
>
>


Report this thread to moderator Post Follow-up to this message
Old Post
Tibor Karaszi
04-07-06 08:24 AM


Re: Locking
Thanks, Tibor

"Tibor Karaszi" <tibor_please.no. email_karaszi@hotmai
l.nomail.com> wrote in
message news:%23dwfZahWGHA.4620@TK2MSFTNGP04.phx.gbl...
> 6.5 added some possibility to get some type of row locks for INSERTs.
> Sorry to be vague, but it was a long time ago. As I recall, you had to
> satisfy a number of conditions (probably what indexes you had) in order to
> get some concurrency on the page for INSERT operations.
>
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://www. solidqualitylearning
.com/
> Blog: http:// solidqualitylearning
.com/blogs/tibor/
>
>
> "Andrew J. Kelly" < sqlmvpnooospam@shadh
awk.com> wrote in message
> news:%23LP5XxdWGHA.2376@TK2MSFTNGP03.phx.gbl... 
>



Report this thread to moderator Post Follow-up to this message
Old Post
Jan Van der Eecken
04-07-06 12:24 PM


Re: Locking
They called it INSERT-ROW locks in SQL 6.5, but it was not row level
locking. It was just a new type of page lock that allowed multiple inserts
on the same page.

--
HTH
Kalen Delaney, SQL Server MVP
www. solidqualitylearning
.com


"Tibor Karaszi" <tibor_please.no. email_karaszi@hotmai
l.nomail.com> wrote in
message news:%23dwfZahWGHA.4620@TK2MSFTNGP04.phx.gbl...
> 6.5 added some possibility to get some type of row locks for INSERTs.
> Sorry to be vague, but it was a long time ago. As I recall, you had to
> satisfy a number of conditions (probably what indexes you had) in order to
> get some concurrency on the page for INSERT operations.
>
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://www. solidqualitylearning
.com/
> Blog: http:// solidqualitylearning
.com/blogs/tibor/
>
>
> "Andrew J. Kelly" < sqlmvpnooospam@shadh
awk.com> wrote in message
> news:%23LP5XxdWGHA.2376@TK2MSFTNGP03.phx.gbl... 
>



Report this thread to moderator Post Follow-up to this message
Old Post
Kalen Delaney
04-07-06 04:23 PM


Re: Locking
Thanks for the answers all of you ppl! Got the answer to my colleague
correct after all. But I really appreciate your help, and I really feel
honoured since I only got replies from MVP's..Obviously my question was kind
of  obscure.

Nite,
Jan Van der Eecken
Cape Town
South Africa



"Kalen Delaney" < replies@public_newsg
roups.com> wrote in message
news:%23spoQjlWGHA.4768@TK2MSFTNGP05.phx.gbl...
> They called it INSERT-ROW locks in SQL 6.5, but it was not row level
> locking. It was just a new type of page lock that allowed multiple inserts
> on the same page.
>
> --
> HTH
> Kalen Delaney, SQL Server MVP
> www. solidqualitylearning
.com
>
>
> "Tibor Karaszi" <tibor_please.no. email_karaszi@hotmai
l.nomail.com> wrote
> in message news:%23dwfZahWGHA.4620@TK2MSFTNGP04.phx.gbl... 
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Jan Van der Eecken
04-08-06 01:23 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 08:07 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006