row level vs page level locking is it more than marketing

row level vs page level locking is it more than marketing

Post by Peter Tashkof » Sun, 31 Dec 1899 09:00:00

What has row at a time processing, versus set based, got to do with page =
level versus row level locking???
Most programmers on planet earth have done the very same thing you trumpet =
you own abilities in doing.
So what?
Are you really as incredibly impressed with yourself as you would lead us =
to believe by your unending egocentrical posts; or are you on holiday and =
your worst enemy is gleefully destroying your credibility at your =
still-logged-in terminal?

Peter =22Had a gutsful of Pablo=22 Tashkoff

Quote:>>> Pablo Sanchez <> 28/11/97 09:26:43 >>>

I was doing a bench for a customer and they were doing some
nightly processing... looking at their code, I saw that one
section was taking 2.5 hours.  I rewrote it and that same
section took a couple of minutes. =20

What was the magic?  Converted their row at a time logic to
set based logic.=20
Pablo Sanchez              =7C Ph =23 (650) 933.3812          Fax =23 =
(650) 933.2821              =7C Pg =23 (800) 930.5635   -or-   pablo_p=40p=
I am accountable for my actions. =5B =
/Sybase_FAQ =5D


1. row-level or page-level locking?

I'm dealing with an SQL7 database that's been in production for about a year
now, and it's getting to be extremely slow. In the last couple of weeks
we've been running into some deadlocks that have been killing a web app.

I was under the impression that SQL7 is doing row-level locking by default,
which should in theory keep this problem from occuring -- essentially, two
threads of the web app are trying to write to the database simultaneously,
and one of them becomes the "victim" -- this wasn't an issue until recently.

Am I mistaken on this? Do I need to turn on row-level locking somewhere?

John Stotler

2. installing ADO on an NT workstation

3. table-level lock or row-level lock

4. Oracle Express <- MS SQL 6.5 via ODBC

5. Page lock to simulate row level lock

6. problemas varios en ESPA?OL

7. Paradox 5.0: Row level locking or page locking?

8. Page level, table level locks used.

9. Record-Level or Page-Level Locking

10. i am facing a problem with row level locking

11. Command Object vs Connection Object for Row Level Locking

12. Row level locking MTS vs SP