Unix Technical Forum

Re: Sybase 11.9.2 Locking

This is a discussion on Re: Sybase 11.9.2 Locking within the Sybase forums, part of the Database Server Software category; --> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You could mess around with the lock escalation mechanism (Sybase will table lock ...


Go Back   Unix Technical Forum > Database Server Software > Sybase

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008, 03:54 PM
Stephen Simpson
 
Posts: n/a
Default Re: Sybase 11.9.2 Locking

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You could mess around with the lock escalation mechanism (Sybase will
table lock once the number of pages locked goes over a threshold).

Steve

- --
(c) 2003 MirrorREMOVEANTISPAMData
h: http//www.mirrorREMOVEANTISPAMData.com
e: newsgroup@mirrorREMOVEANTISPAMData.com
Remove REMOVEANTISPAM for url/email

"Kapal Mo" <kapalmo@nospam.hotmail.com> wrote in message
news:68Zha.37729$cB3.229202@nnrp1.uunet.ca...
> Be forewarned not a Sybase DBA.
>
> In our Sybase 11.9.2 on AIX we have a small table about 10-20 rows,
> row length less than 500. This table is heavily updated.
>
> The first problem I encountered was that of page locking. Since
> multiple jobs trying to update different rows on the table, Sybase
> would lock the whole page blocking the other update jobs. Tried
> to resolve this by alter table lock datarows and also changing 1
> row per page. This has fixed the problem somewhat but the problem
> still occurs.
>
> I am thinking that Sybase will still do a table lock since it
> thinks table lock is more efficient than a row lock considering the
> number of rows involved.
>
> Basic question then is how can I ensure that Sybase will strictly
> do a row lock. Is there a setting in 11.9.2 or is this not an
> issue with future Sybase versions.
>
> Thank you.
>


-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBP1w4wySQEiWATEdREQIR5QCeOZ8ytwOBTRnkqu2a8AUL0g o6zSIAoILF
sWGEt5uWBCfmrEVVTIb1OYSt
=BfMD
-----END PGP SIGNATURE-----


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:38 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com