![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Hello, ASE 12.5.0.3 Solaris ECDA 12.5 (latest patch) Solaris MSSQL 2000 XP We were getting deadlock errors when doing a simple join between a proxy table (mssql) and an ASE table. I resolved this by lowering the "cis cursor rows" configuration parameter to a value or 25. It seems MSSQL was escalating the locks and causing problems with the cursor on the ASE side. But even though things are now working when I look at the locks on MSSQL during this query they are of lock type "x" I am pretty sure this is exclusive. Now this all goes back to my early question to which I never got an answer (See my post on Oct 5th, 2005 titled ECDA locking problems with MSSQL200). Why is ASE/CIS causing exclusive locks on the MS side for a simple query? I suspect that CIS is opening a cursor without declaring it as "read only". I believe the default is updatable , which would result in an exclusive locks I am seeing and the lock escalation on the MS side. If anybody has any ideas or similiar experiences with this behavior I would appreciate any information you have Thanks Joe |
#2
| |||
| |||
|
|
Hi Joe, Sorry it took so long to reply. Please crosspost CIS questions to sybase.public.omni as well, please. I'm glad you found a workaround, though lowering "cis cursor rows" will probably negatively affect performance. Please post your DDL and the problem statement so we can have a look at it. Thanks, Bill Menton CIS QA jbuhl wrote: Hello, ASE 12.5.0.3 Solaris ECDA 12.5 (latest patch) Solaris MSSQL 2000 XP We were getting deadlock errors when doing a simple join between a proxy table (mssql) and an ASE table. I resolved this by lowering the "cis cursor rows" configuration parameter to a value or 25. It seems MSSQL was escalating the locks and causing problems with the cursor on the ASE side. But even though things are now working when I look at the locks on MSSQL during this query they are of lock type "x" I am pretty sure this is exclusive. Now this all goes back to my early question to which I never got an answer (See my post on Oct 5th, 2005 titled ECDA locking problems with MSSQL200). Why is ASE/CIS causing exclusive locks on the MS side for a simple query? I suspect that CIS is opening a cursor without declaring it as "read only". I believe the default is updatable , which would result in an exclusive locks I am seeing and the lock escalation on the MS side. If anybody has any ideas or similiar experiences with this behavior I would appreciate any information you have Thanks Joe |
![]() |
| Thread Tools | |
| Display Modes | |
| |