Oninit® Archive
Results for “LOCKS”
ISAM 113 error
What does ISAM 113 error: the file is locked mean?…
blocked records
Use "onstat -k" for threads holding locks and "onstat -u|grep L" for sessions waiting for a lock…
Informix Page Lock
IMHO row lock by default. Page locks should be only exceptions. If you have one row per page (no remainder), than you can use page locks to limit number of locks. Also, well designed transaction database and application should have short and small transactions so row locks again …
Outrageous Extent sizes
Art, Aren't Page Locks *worse* than Row locks? That would lock every row on the page, wouldn't it? Besides, it still doesn't affect the logical log usage; which in my case means not being able to run it overnight -- no one staffed to change the tapes. :-( Thanks, Mike…
Ebexport
Does dbexport lock the database while running? Larry…
IDS - Record Lock
If a table is only ever used for selects, then the locking mode doesn't matter. For OLTP type systems where concurrency is required, you should probably be using row level locking for most tables, unless some tables have mass changes, where you may want to use page level, but th…
lock ovflow
Seeing a test engine with a high number of locks structures being allocated (99 lock structures of 1M each allocated over about a 4 hour period). I can think of a few approaches to figuring out WHO is causing the allocations. Any ideas though of a simple, fast way? 06/15/15 19:0…
Re: spin locks
Added to FAQ. Regards, David. > On 21 September 2013 at 11:00 Marco Greco <marco@4glworks.com> wrote: > > > On 20/09/13 21:56, BillHatVerizon wrote: > > This is the output of onstat g spi . > > What is po_lock below? > > Do the numbers look high or is it not possible to answer …
virtual segment question
Did you try to increase the number of locks in the LOCKS parameter in Onconfig? Lloyd…
spin locks
This is the output of onstat g spi . What is po_lock below? Do the numbers look high or is it not possible to answer without more info ? This is on Windows server 2008 R2 SP1. IBM Informix Dynamic Server Version 12.10.TC1IE -- On-Line -- Up 09:04:41 -- 733952 Kbytes Spin locks …
locked mutexes!
Hi, I had some user sessions in locked mutexes onstat -g lmx Locked mutexes: 8777 c00000019a5c0f30 uselock0 2708810 0 8778 c00000019a619f30 uselock1 1683484 0 8779 c00000019a620f30 uselock2 2708811 0 I was able to trace those sessions using holder thread id and they were doing…
Interpreting event alarm messages
we are on 11.7.FC5 on AIX 6.1 seeing many instances of dynamic lock allocation - however, that is the only thing that gets written to the online log and the ph_alert table: "dynamically allocated 1000000 locks" however, the manual states that " if a thread attempts to acquire a …
Sequences & Locks
Hello We hit a table extensively (and with multi threaded) for a next key value to be returned and of course it is running into deadlocks, etc. We are looking to move this to sequences - are there locks involved with sequences in a multi threading scenario? thanks tom…
Locks, locks everywhere
Hi people, asking from help again, hope you all doing fine. In 1 of our [data] servers we average more than 1000 users, there are informix 4gl applications, odbc and .net (sqli), the problem is there is some application's concurrency that cause a lot of locks, and you know bette…
242: Could not open database table
Have you tried "set lock mode to wait". You might be hitting locks held by the replication threads. Have you run onstat -k while the job is running to see what the lock is and who holds it? Also, does every index build for the table fail or just some of them?…
update - locking
Hi all, For quite a while I have the problem of updating a row in my table. I have 2 records in my table. The first is locked by the program and I want to update the second in my table. But I can't reach the second row because the first is locked. How to avoid this? The message…
Informix Erorr - Key Value Locked
oh, and btw, if my lock mode is row, i dont encounter the locking issues.…
lock problem
Hi, A user execute beow SQL in dbaccess. the number of rows of talbe aapf10 is 550804, It run slowly, and others run some update sql on the same table and being locked, Do anybody know it is blow sql lead to the lock problem ? thanks for your time. select aa10dpnoa,round(sum(aa…
Database lock
Is there a way that I can lock a database indefinetely? database abc exclusive ! sleep 40000 seems a bit cludgy.…
Informix Locks On Select count(*)
hi, is this what you're saying? while a particular row or page is being examined, locks are placed on that row or page. it should only take a fraction of a second. but in the event of a slowdown, the examination may take longer. if we are to move to row mode locking, then there…
lock / syssequences
Hi, IFX 11.50 FC8 / AIX 6.1 4GL 7.32 FC2 Today appear on the error log of our application a lock error over syssequences table. We use a lot of sequences here... from 4GL system and web system (java) See bellow... code 4gL: SELECT my_sq.nextval INTO p_my.seq FROM DUAL # dual…
lock allocation
i am running a dummy update to remove an in place alter. update t_contact set first_name=first_name where 1=1; i am curious for this table which is less than one million rows why the engine would dynamically allocate 2 million locks. the first million make sense to me but why m…
How to capture the lock wait or dead lock info
Hi, Do anybody know how to keep the lock wait or dead lock information 9into a file or table? thanks.…
Locking in UFS
I want to implement the locking on UFS file system. Currently I am using informix 11.5 FC 7 on sun solaris using UFS file system. There is a problem that a chunk file of db space which is using by informix database can be updated or deleted by other than database process. So ple…
a ghost lock
Hi to all under IDS 9.40.FC9, i try to lock a table begin work; lock table mytable in exclusive mode; it says that the table is already locked, i try to find out who is locking the table , NO ONE in the sysmaster.syslocks i found : dbsname mydb tabname mytable rowidlk 0 keyn…
Locking Issues
Hi, Is there any particular parameters that can reduce the effect of locking in our OLTP environment, as we are facing some issues. The code will be modified soon, bu we want to know that can we do something while modifying some of the parameters in config file, to handle / reduc…
wait on lock more than 30 seconds
If a session wait on lock more than 30 seconds then i want an alert.…
Triggers and locking
Table A contains cash shipment records with a field invoice amount that needs to be updated when the invoice data is loaded. Table B contains the invoice data. Process 1 loads the invoice data, first by inserting invoices into table B, then updating the invoice amount in table a…
Re-claim un-used space
Thanks for the reply. While the re-organization of table, it gets locked or not? Thanks…
Errors on 4GL application logs
We changed the table locking mode to row and it works. Thx again for your advice.…
mutex dbs_partn and pt_170003
Did you check the mutex locks with "onstat -g lmx" and get the session id what is locking it??…
informix locks' control
locks specifies the initial size of the lock table.the lock table holds an entry for each lock that a session uses. if the number of locks that sessions allocate exceeds the values of LOCKS,the database server increases the size of the lock table. for finding the bug of the appl…
Dynamic locks
Does IDS release dynamic locks?…
RE: update impossible in spite of row locking
Fernando Nunes wrote: > Madison Pruet wrote: >> Ian Michael Gumby wrote: >>> Color me silly... >>> >>> But does row level locking really only lock the row being updated or >>> does it also put a lock on the adjacent row. >> >> We stopped using adjacent key locking in 6.0. Also -…
Lock mode
Is there a way to set "lock mode to wait" once for a program or does it need to be reset for every single session to the database? Is there a configuration parameter (on the database side) to set the lock mode to wait for all sessions coming to the database? Thanks ___________…
Locking
Hi, As I know by default Informix use page locking, unless if has been defined otherwise during table creation. How is possible to change locking mechanism to row for all tables (and not for each table individually) OS wWndows 2000, Informix IDS 9.30 TC3 Thanks in advance Se…
DEAD LOCKS
Hi, Is it possible to monitor a table where dead lock is occurring? thanks in advance…
11.5 locking
Hey gurus, How does 11.5 control updates to the same record coming from two different boxes? I was told it doesn't do all the locking that Oracle RAC does, so does that mean there is a possible issue with an update on a secondary being rejected because the same record is being up…
Searching for locks
Hi all, I just got a third encounter of the lock's kind - I think. I'm not at work for the next week, but there is this tiny voice in my head asking for an answer. We're running IDS 10.00.FC8 on Solaris Sparc. One of our applications always got trapped on locks even when settin…
Time the locks
Version: IDS 10 I asked this question in earlier post, and after that I tried to look at CDI archives but didn't get the answer. I want to know if there is any way to find out which lock is being held over certain period of time on certain resource. I have below query to find ou…
DB server performace if long transaction happen
I have a long transaction (taking hours) with all tables is temp table with no log and lock in exclusive mode, thus there will be no LOG usage and less LOCK usage. Is this scenario will impact the database server performace? Thanks for any prompt reply and consultation.…
Monitor Locks
Version: IDS 10 For a given table how can I find out which process is holding lock. Basically I am trying to device a way that monitors frequent locks, type of lock held page level, row level etc, and the process/session that's holding that lock. I have following query that give…
table lock
Hi, I have some situation here. One of the applications is locking rows in one table. From the application side, we see message "244 : Could not do a physical-order read to fetch next row. 107 : ISAM error: record is locked." Here is the output from "onstat -k". informix@ifx01…
Table lock
Hi, I'm trying to insert rows into a fragmented table across different dbspaces using ssh multiple sessions. The table is locked in "share mode" after the first insert begins. Can I "unlock" the table during the insert from another session? No other users on IDS instance. When ca…
Locking question
Hi all Using 4GL (7.20) I am looking for a way of doing the equivalent of a shared table lock on a row. The idea is to prevent a user coming along and taking an exclusive lock on the row (and updating the information), but at the same time allowing many users to view it. Not s…
record locked
On the order table (IDS 9.40) I had a record locked for quite a while. I could not even read it. (Could not fetch row error appeared from dbaccess). I could work fine with all of the other records on that table, insert, delete, update without any problem. I think there was a li…
Locking problem
Hi Everybody One table has got locked and the error number itis giving is 244 and 107(ISAM error) Before that delete query was fired on the above table but it was not executed and was in running mode and the session got closed. Now how to get rid of these error msg Table is lo…
locking and index
Can someone explain me the locking mechanism on indexes ? If the table is on row lock mode, are the indexes always row locked ? Or are there other considerations ? We are in ID7.3, we plan to migrate to IDS10. Is there a difference about locking with indexes attached or detached…
locks on sysprocplan
I have a couple of questions on locks on sysprocplan. I came across several threads in this newsgroup where this has been previously discussed but just want to confirm some of the facts stated in those threads and my own conclusions based on what I read in those threads. One thi…
informix lock
Table not Select the file is locked informix. Help! Thank!…
update statistics - distributions
Talk to IBM. Certainly update statistics with distributions will briefly take locks on system tables so you will need to set lock mode to wait 30 for applications and at the start of the update statistics script.…
freeing locks
I used to know how to find stuck locks when we were on Unix and using IDS 7.31 We are windows now and do not have onmonitor. I guess all I have is onstat -k How do I get a pid from that output I can onmode -z that puppy ? Or is there a better way? sending to informix-list…
Locks and Buffers
We have IDS 9.x running on XP In a Client/Server application environment, what would be a good general rule to set the LOCKS and BUFFERS in ratio to the amount of memory? Regards David Reed david.reed@tollink.co.za sending to informix-list…
Locks and Buffers
We have IDS 9.x running on XP In a Client/Server application environment, what would be a good general rule to set the LOCKS and BUFFERS in ratio to the amount of memory? Regards David Reed david.reed@tollink.co.za sending to informix-list…
set lock mode to wait
hello, regarding lock mode wait behavior, if i set lock mode wait to 10 - does informix wait for 10 before re-trying it or does it keep hitting it repeatedly up to the count of 10 ? thanks, tom…
LOCKS dynamically allocated in IDS 9 et more
Hi, In IDS 9.4 for example, the LOCKS are allocated dynamically (if needed) = by doubling the current locks table size up to 15 times without = exceeeding 100000 locks at the time. The locks allocated staty allocated = until the engine is brought down via onmode -ky. Does anyone…
RE: FW: Update statistics performance
no, the dbexport would attempt to take an exclusive lock on the database. UPDATE STATISTICS would at least take a shared lock so whichever runs second will fail.…
Please tell a solution for the below mentined problem - linux related
Please contact your system administrator to resolve the following problem: Failed to get a file lock: Failed to lock '/root/.gconfd/lock/ior': probably another process has the lock, or your operating system has NFS file locking misconfigured, or a hard NFS client crash caused a s…
Please tell a solution for the below mentined problem - linux related
Please contact your system administrator to resolve the following problem: Failed to get a file lock: Failed to lock '/root/.gconfd/lock/ior': probably another process has the lock, or your operating system has NFS file locking misconfigured, or a hard NFS client crash caused a s…
unlocking locks
Hi All, What is the easiest way to list down all the locks and kill them ( particular lock ) . I have some procedures which locks a tables. Sometimes these procedures break causing the tables to be locked. We are trying to find out which procedures are actually causing the proble…
Row / Page Locking?
Whats the best way to find out if a table is being row or page locked?…
Database is locked?
Hi guys, Can anyone help me to unlock a database in IDS 7.31? I got this Error message: 329: Database not found or no system permission. 178: ISAM error: Database is locked; pending change to logging mode. Error in line 1 Near character position 22 I have tried to unloc…
cursor stability isolation mode
Hi, In order to get a shared lock (using cursor stability in a transaction) on a particular row is it necessary to use "select * from tab_name where..."? I tried with "select 1 from tab_name where..." and the only lock I am getting is IS lock on the entire table instead of S loc…
Re: Informix locking & transactions
Lock Mode is Row Isolation Level is Committed Read.…
Locking issues
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C48A10.FCD7AFC0 Content-Type: text/plain; charset="iso-8859-1" We had to move from an old SE database to IDS 9.4 and …
Locking Question
Hi Informixers, we have a legacy application that generates unique keys according to the following schema: YYLLNNNN where YY is two-digit year, LL is location id and NNNN is sequential number for combination YYLL. The programmer implemented this function by doing "select max(ke…
Lock tables
Hi, we are running IDS 7.3 on SCO Openserver Enterprise 5.0.5 We have the next 4GL module: .................. .................. .................. BEGIN WORK while for ... if ... SET LOCK MODE TO WAIT insert .... end if end for if ... for ... if ... SET LOCK MODE TO WAIT upd…
lock mode
Hi all, is there an enviroment var so set lock mode? I have some batch files, I am not allowed to change this files, but I am able to set the eniviroment! So I have to try this! Thanks Sven -----Ursprüngliche Nachricht----- Von: Mac Horn [mailto:Mac.Horn@VITALPS.COM] Gesendet: …
Locked Tables
Hi there, I get locked table problems more and more these days. How do I manage them, get rid of them, prevent them, etc, etc. And sometimes I also get system catalog tables that are being locked................like the following one: java.sql.SQLException: Cannot read system…
identifying locks and long locks
Hi, One of our legacy application is being turned logging. We are just converting the database from an unlogged to an unbuffered log. There is no change in application. Right now we are testing whether our application is logging compliant, as it exists now. We sometimes get erro…
lock mode
hi everyone, How can I tell which lock mode of the database table is? IDS 7.31 AIX 4.3.3…
Running out of locks
Last night while running an update for ~17k rows Informix reported to me that I was out of locks. At the time I was the only user in the database, the table had row level locking on and the max # of locks was set at 50000. I increased the locks to one hundred thousand and still g…
Locks
I am just starting to use Informix and I have read a lot of documentation about locking but I am more interested in best practices. This question is not specific but any recommendation or personal experience is welcome. My problem is the next, suppose that I have a table call cl…
Lock
Hi DBAs, How will I get a list of locks pertaining to one database in a database server? Onstat -u will give me a list of all the session with a coloumn "lock" . But this will give me only the system wide locks used. I want it perticularly for one database in a database server. …
Locking in INFORMIX 4GL.
You must check the row LOCK, IF row LOCK is for BLOCK than the LOCK is more de one ROW for LOCK, IR row LOCK is for ROW than the LOCK is one ROW for LOCK Sent via Deja.com http://www.deja.com/ Before you buy.…
Finding locked tables in SE
We have SE on HP-UX. Having a problem with people locking tables and forgetting to unlock them. They are scattered all over Minnesota, so tracking them down geographically is difficult. "wall" is too disruptive and often they have turned away from their workstations. Is there…
Re: Lots of locks
From: gorgos@my-deja.com > >I've got a customer that has an application that keeps running out of >locks. We've upped the LOCKS in onconfig, but I'm reluctant to keep >doing this due to extra requirement of shared mem. Is there a way of >finding out how many locks the applicati…
Re: Lots of locks
From: gorgos@my-deja.com > >I've got a customer that has an application that keeps running out of >locks. We've upped the LOCKS in onconfig, but I'm reluctant to keep >doing this due to extra requirement of shared mem. Is there a way of >finding out how many locks the applicati…
Re: Monitoring lock tables
Mauro wrote: > > Informix 7.24 UC1 > > How Can I see the lock tables (just in this moment) in the data base. > Is possible to monitoring to level lock of rows in the lock table. How Can > I? > I can see tables with: > > select * tabname from syslocks > > but I don?t kno…
SysProcPlan Problem
I have a problem with a table lock. The table "sysprocplan" sometimes locked, the "sql statement" is a temporaly table create, insert and update for this table. When other user with another connection try to execute the same sql statement sometimes the sysproctable is locked. But…
SysProcPlan Problem
I have a problem with a table lock. The table "syprocplan" sometimes locked, the "sql statement" is a temporaly table create, but the lock not always happend. I dont know why???…
locks
How do you remove an orphaned lock from systables? The process and session id has ended but I am unable to delete from the smi tables. Meanwhile the table has an intent-exclusive table lock. TIA Doug…
RE: Upgrade of locks
>===== Original Message From Henry Benoit <Benoit.Henry@Galvalange.lu> ===== >Hello, > > >I've got a question about upgrade of locks. >Can informix upgrade a lock and promote at a higher level. > >For example : I have a table with 200,000 records and i do >an update for the entir…
Upgrade of locks
Hello, I've got a question about upgrade of locks. Can informix upgrade a lock and promote at a higher level. For example : I have a table with 200,000 records and i do an update for the entire table. The lock mode is row. Can Informix detect that the process is locking about …
Re: Record Locking
Jonathan Leffler wrote: > rajiv wrote: > > > is it possible to lock a row in informix if yes can u suggest me the > > precise step > > In a programming language (eg ESQL/C), declare a cursor for > a SELECT statement with the FOR UPDATE clause appended. When > you fetch that row…
JDBC and lock mode to wait
Hallo, I use JDBC-Driver and Informixdatabase in a Project and have some problems with locking. When I set the lock mode to wait ("set lock mode to wait"), how long is this lock mode set? Is it only for the next statement, or for a hole transaction or for the hole connection to…
Re: alter table to --> lock mode row ??
From: t1716@sltung.com.tw (�F��) > >if table was page lock mode , >how can i command table to be row lock mode ? ALTER TABLE x LOCK MODE (ROW); You really should RTFM: http://www.informix.com/answers ______________________________________________________ Get Your Private, Free …
alter table to --> lock mode row ??
if table was page lock mode , how can i command table to be row lock mode ?…
Re: LOCKS urgent
No. From: George Ayou <gayou@SSG.PETsMART.com> > >does Informix change the level of table locks? and why. > >for example, from row lock to page lock or table lock ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com…
Locking once again
Hello everybody, Informix manual says the default lock mode is page locking. Is it possible to change the default locking for the entire database, without changing it for every table? Thanks. Dmitri…
Logical Log
You need to increase the number of LOCKS, not LOGS. Madison Pruet…
Locks
Hi! When using COMMITTED READ as the isolation level, if a transaction (A) executes a SELECT...<an unique row>...FOR UPDATE and another transaction (B) does the same over the same row, this last transaction (B) will get the row... How can I know within transaction B that the rec…
row-locking-mode
Hi all My environment is an Informix-online 7.23 on AIX Unix Version 4. All tables on my database are working with page-locking-mode. Now I've heard about the row-locking-mode for tables. Is it clever to set all tables to row-locking-mode? I guess for some tables it is better w…
table locking
How do you lock a table in exclusive mode so no other users can update, view, or unload the data until you release the lock.…
Re: Best database for web backend on Linux?
Why are you assuming that row level locking requires you to lock the data on read/browse??? LONG transactions are even better when you can get atomic, row-level, locks rather than page locks. Unless you mean true long transactions, then neither scheme is worthy of that. If you…
Re: Monitoring lock tables
Art S. Kagel wrote: > > > If the rowidlk column of the syslocks VIEW is zero (0) the lock is a > table level lock. Otherwise if the keynum column is non-zero it is an > index key node lock, else it is a row or page lock depending on the > table's locking mode. > > Art S. Kagel O…
Re: Monitoring lock tables
Mauro wrote: > > Informix 7.24 UC1 > > How Can I see the lock tables (just in this moment) in the data base. > Is possible to monitoring to level lock of rows in the lock table. How Can > I? > I can see tables with: > > select * tabname from syslocks > > but I don�t kno…
Monitoring lock tables
Informix 7.24 UC1 How Can I see the lock tables (just in this moment) in the data base. Is possible to monitoring to level lock of rows in the lock table. How Can I? I can see tables with: select * tabname from syslocks but I don�t know if the tables are lock to leve…
LOCKS
Dear all, I have a question about LOCKS. If we configure LOCKS, let say 1.000.000, Online allocates about 40 MB of resident shared memory for LOCKS. So, When locks active i.e 6 users (i.e result of onstat -k), the allocated of shared memory still 40 MB, even the limit of locks …
Locking
Hi I have an Informix Database running on SINIX/Reliant Unix. The problem is the locking. When a user starts isql no other user can access the database. Where can I change it, so that several users can access the db ?? Thomas Ronzon Thomas.Ronzon@quantum.de…
Re: LOCK TABLE in exclusive mode
until you say "commit work" which free the table lock (or unlock table when you do not use Transactions) the table is locked at a whole. this needs one lock. this statement doesn't change the locklevel at your table which is by default PAGE. you can see it whith the folloing sql…
LOCK TABLE in exclusive mode
When I lock a table in exclusive mode using the LOCK TABLE statement on a table with row locking as default, does INFORMIX automatically promote the locking of this table to TABLE/PAGE LEVEL locking? Thanx Standard Disclaimer…
Re: view table
>Dear Listers: > >We have a master employee table with thousands of records. Whenever a >department updates its records it will lock other ppl records as well ( we >are using the default page level locking). What's the best way to handle Alter the table to use row level locking?…
Re: Exceptions in stored procedures
Bill Weaver wrote: > > If I have SET LOCK MODE TO WAIT 5 and I attempt to lock a table in exclusive mode > and the table is locked by another user when the lock is first attempted, will > the exception be raised at the initial lock attempt or only if the lock attempt > failed aft…
Exceptions in stored procedures
If I have SET LOCK MODE TO WAIT 5 and I attempt to lock a table in exclusive mode and the table is locked by another user when the lock is first attempted, will the exception be raised at the initial lock attempt or only if the lock attempt failed after the 5 seconds were up? ---…
locking
Hi, We have a 4GL program whenever it runs it will lock several tables. The problem is that the lock will remain long enough more than the deadlock timeout parameter. Why? and the other ppl's work will be locked as well. The isolation level is set to repeated read, is that appr…
Re: Row and Byte locks
Satish, According to Online Adminstrator's Guide (ver 7.2, vol 1) the byte lock exists solely for rollforward and rollback execution and is generated only if VARCHAR data types is being used. A byte lock is created only in a logging database. A byte lock appears in on…
Row and Byte locks
Hi, if row lock - a lock placed on a single data row Byte lock - a lock placed on a row containing varchars Then, What does " The byte lock will only lock the portion of the row that is being modified " mean? - Training Course on Sys Admn -1 (cindy dowling , Elizabeth …
Re: LOCKING problem
You must lock these tables in EXCLUSIVE MODE, or all the new rows will have individual locks (the INSERT is inside an implied transaction).…
Re: SQL Server vs INFORMIX
On 7 Oct 1997 20:25:09 GMT, "Reiner Kunz" <Reiner.Kunz@pr-kunz2.M.eunet.de> wrote: >where's the problem of no row-level-locking? In your opinion each database >using other locking methods are garbage. So, please tell me where do you >see the big disadvantage of no row-level-locki…
Re: HELP!!! Pessimistic locking using ODBC
Systems Team wrote: > > Hi All, > I'm using Delphi2 with OpenLink multi-tier ODBC to link to an Informix 5 database. My > question is: > > How can I lock a row in a table? > > The Borland documentation suggests only optimistic locking can be done on SQL database > connections- b…
Re: Row and page locking - yet to di(e)
Vijay R. Anisetti (rambabu@sprynet.com) wrote: : Still, in the page-lock mode Informix needs to check only the zero : slot(s) : lock 'em and move on. Whereas in row-lock mode need to check for : slot/rowid : and maybe individual bytes (for varchar) within the page. So, tha…
Re: Row and page locking
Vijay R. Anisetti wrote: > > Bill Glidden wrote: > > > > davin_harvey@dsti.co.uk wrote: > > : Hi everybody, > > : =20 > > : Does anyone know if there is a difference in the time it takes to=20 > > : place a row lock rather than a page lock? > > : =20 > > : …
Question on promotable locks
Hi, after getting a promotable lock on a row, are other processes able to set NEW shared locks? This would be strange, as I thought that the promotable lock will announce my intend to do an upddate. If other processed can set new shared locks, I will - perhapes - newver promote …
Re: Row and Page locking - time difference
>> My theory is that a Page lock is quicker as there is a defined no. of >> bytes >> to lock all the time. Whereas for a row lock it requires to know the >> no. >> of >> bytes to lock and task of calculating the rowsize is compounded if it >> has any >> variable columns in size (…
'set lock mode to wait' not working
I am unable to get 'set lock mode to wait' on SE 7.1 to work on HP-UX. The locks work. When I lock a table in exclusive mode, I am unable to lock it anywhere else. The problem is, if I do a set lock mode to wait, I am unable to issue a lock and have it wait for the lock. It fail…
Re: ovlock=56
ogolde@impsat1.com.ar (Oscar Goldes) wrote: >Hello, >running onstat on Informix Online 7.2 I noticed the value >ovlock=56 >after two days up. >Is this value acceptable? Or should it be 0? It is best to prevent lock overflow from occurring during normal processing. >The value o…
Locked... or not?
Hello, I wonder if anybody can help me with this locking problem. I have a customer running C2000 phase 3 which in turn uses ISAM Ver.5.0. I'm developing a 'C' routine using ISAM Ver 6.11. The situation is this: One user amending a record in file X (in C2000) A 'C' program…
Locked... or not?
Hello, I wonder if anybody can help me with this locking problem. I have a customer running C2000 phase 3 which in turn uses ISAM Ver.5.0. I'm developing a 'C' routine using ISAM Ver 6.11. The situation is this: One user amending a record in file X (in C2000) A 'C' program…
Persistance of locks on a droped connection
I'm a bit new to Informix and am trying to find out what hapens to locks if an ODBC connection drops. I'm working on an application that will lock and retrive several rows into a spread sheet and then update the rows when the user finishes with the spreadsheet manipulations. I …
locked tables
basically, we are running a tetra based c2000 package on top of onliine and when we go to post a large cash batch it says. table locked error. informix number of locks are set to 1,000,000 and c2000 locks are set to 20480 in the chconfig file. any ideas? ccarroll@netcentral…
Re:Locking...
Billy Wheeler wrote: }>From informix-list-owner@rmy.emory.edu Fri Dec 6 06:38:51 1996 }>Received: from rmy.rmy.emory.edu by hobbes.dbintellect.com via ESMTP (940816.SGI.8.6.9/930416.SGI.AUTO) }> for <settler@dbintellect.com> id GAA22578; Fri, 6 Dec 1996 06:38:50 -0700 }>Receive…
Re: Locking...
On 4 Dec 96 at 20:34, Mik Hobbs wrote: > I've worked on a number of large multi-user informix databases and where > there are a number of users inserting / updating data in a table it has > always been necessary to have row level locking. > > It's not correct to state that row …
Re: Locking...
Romulo Albuquerque wrote: > > Hi All, > > I wish to know what locking mode is better: Row or Page Locking ? Please > help me. > > TIA, > > Romulo Albuquerque > Just my $.02 worth... We ran some experiments on locking, and it is important to lock records for as short a time as …
Re: Locking...
I've worked on a number of large multi-user informix databases and where there are a number of users inserting / updating data in a table it has always been necessary to have row level locking. It's not correct to state that row level locking only locks the row you're updating, …
Re: Locking...
Hi, Well the answer is it depends. Row locking can yield better performance, but at a price. You see you need more system resources with row level locking. If you use it you may need to up your LOCKS parameter in the onconfig which in turn requires more memory. My 2 cents, Bill…
Re: Locking...
On 2 Dec 96 at 22:59, Romulo Albuquerque wrote: > I wish to know what locking mode is better: Row or Page Locking ? Please > help me. As Bob Dole is alleged to have said: "Depends". Page locking is more efficient (faster), but can cause unnecessary locks (reduces concurren…
Re: Locking...
In <5802c5$anm@cssun.mathcs.emory.edu> bicudo@elogica.com.br (Romulo Albuquerque) writes: >Hi All, > I wish to know what locking mode is better: Row or Page Locking ? Please >help me. My understanding is that page level locking has a performance benefit up until contention o…
Locking...
Hi All, I wish to know what locking mode is better: Row or Page Locking ? Please help me. TIA, Romulo Albuquerque…
Re: lock mode problem
You can "ALTER TABLE xyz SET LOCK MODE TO ROW" to correct these. (page lock mode is the default) peter_jennings@uk.ibm.com wrote: >Configuration : ONLINE 5 & AIX 3.2.5 >We are opening a database with row locking, but according to tbstat -k the >locks on _some_ of the tables a…
Re: Row Locks
In article <545vbh$bpp@cssun.mathcs.emory.edu>, nnob@loc.gov says... > > >On 16 Oct 1996 ibogorad@lhr-sys.dhl.com wrote: > >} In article <jtsuiDzBuqx.8ou@netcom.com>, jtsui@netcom.com says... >} > >} >Can Informix SE handle row locks and if possible, how? I am using SE v5.0 >} >b…
Re: Row Locks
On 16 Oct 1996 ibogorad@lhr-sys.dhl.com wrote: } In article <jtsuiDzBuqx.8ou@netcom.com>, jtsui@netcom.com says... } > } >Can Informix SE handle row locks and if possible, how? I am using SE v5.0 } >but can upgrade if necessary. } > } > } > } The only type of locking SE can hand…
Re: Row Locks
Justin Tsui wrote: > > Can Informix SE handle row locks and if possible, how? I am using SE v5.0 > but can upgrade if necessary. Hi Justin, the only granularities SE supports are table and row locks. Page locks are supported with the OnLine Server. Bye, Stefan. stefan@weiden…
Re: Row Locks
In article <jtsuiDzBuqx.8ou@netcom.com>, jtsui@netcom.com says... > >Can Informix SE handle row locks and if possible, how? I am using SE v5.0 >but can upgrade if necessary. > > > The only type of locking SE can handle is indeed row locking, page locking is only available in Onli…
Row Locks
Can Informix SE handle row locks and if possible, how? I am using SE v5.0 but can upgrade if necessary.…
Locks in SPL
Could someone please advise if they know of a way to force spl to wait a given period of time before returning an error when it encounters a locked row? I know you can set lock wait in 4gl and c but I don't believe this will work in SPL. Also, is there a global variable that ca…
Lock Temp Table
If I do a massive insertion into a temporal table, must I lock it ?…
Re: Locking
Weimin Yang wrote: > > Reijer Koopsen wrote: > > > > If I get a row with the select for update statement > > I want that every other connection gets an error message > > when the select the same row for update, not read only. > > > 1. ... > 2. ... > 3. Do a dummy update o…
Re: Locking
Reijer Koopsen wrote: > > I'm using informix online dynamic database server. > > On the client side, odbc met visual basic. > Odbc driver 2.10 from Intersolv. > > Problem: > > I want to lock a row exclusive ! > > If I get a row with the select for update statement > I…
Locking
I'm using informix online dynamic database server. On the client side, odbc met visual basic. Odbc driver 2.10 from Intersolv. Problem: I want to lock a row exclusive ! If I get a row with the select for update statement I want that every other connection gets an error messag…
Re: Newbie Q: ISAM error: non-exclusive access.
have you tried "set lock mode to wait" before locking, deleting or dropping? *** Disclaimer: These are the opinions of the poster not Amgen Inc.***…
Re: Locks/Committed Read Problem
wyang wrote: > > Mark Oberfield wrote: > } > } > lock on that row. This will lead to a deadlock and Informix will = > } > timeout. > > I don't think this will lead to a deadlock. Because there is only on lock, > committed read doesn't try to lock anything. If you have set lock w…
Re: Locks/Committed Read Problem
Try SET LOCK MODE TO WAIT Sean Bradley…
HELP Informix Locks
Does anybody know why Informix-Online 5.0 consumes locks at an incredible rate when updating a table even though the following statement has been issued: LOCK TABLE test IN SHARE MODE The lock type generated as shown by tbstat -k is HDR. Thanks in advance Vil…
Re: How to check if a table is locked
At 08:07 AM 5/18/96 GMT, Abdu wrote: >: I am working with SQL in a informix SE engine. I don't know how to check >: if a table is locked and the lock mode of the database. > >I don't know the answer. How about reading a value, updating and >comparing? LOCK MODE is something you …
LOCK TABLE
How can I lock a table during all the program ? If I use "LOCK TABLE IN EXCLUSIVE MODE", I only lock the table during the transaction, but what happen if my program has "n" transactions, I must lock the same table "n" times ?…
Re: concurrency problems ?
Is lock mode set to wait - if so, perhaps your wait time is not sufficient?…
Re: Transaction Log Errors in SEv5.03
(continued) If the problem is the number of UNIX locks you may try to lock the table before the update... Fernando…
Lock
test -- Li-Chiou Chen Computer Center NCCU, Taiwan TEL:886-02-9387190 FAX:886-02-9390414 ~~~~~~~~~~~~~~~~~~~~~~…
Lock
Testing…
Re: HELP : ODBC's physical-order read error message
Sure looks like you are trying to read a locked record…
Locked Tables
Hello, Can anybody tell me how to find which user is accessing a table using Online V5.04. I have a situation where I need exclusive access to a table but can not get it.The table appears in the tbstat -t list, but nobody appears to be connected to that particular database. How…
Re: Locking
In article <43ujg0$7uf$1@mhafn.production.compuserve.com> 75442.2115@CompuServe.COM "Stanley Katzenstein" writes: > I am working in Informix V4 SE. The error occurs within a > PowerBuilder application. My problem is that I can't delete a row > from a table. The error…
Re: Locking
Stanley, I get this problem if the server has crashed while someone was using perform (add or update) - the row they were in stays locked even though the isql process has terminated. Check that this is the case (ie that=20 no one really is using that row [:-)], and try the follo…
Re: Locking
In article <43ujg0$7uf$1@mhafn.production.compuserve.com> 75442.2115@CompuServe.COM "Stanley Katzenstein" writes: > I am working in Informix V4 SE. The error occurs within a > PowerBuilder application. My problem is that I can't delete a row > from a table. The error…
Re: Locking
In article: <43ujg0$7uf$1@mhafn.production.compuserve.com> Stanley Katzenstein <75442.2115@CompuServe.COM> writes: > > I am working in Informix V4 SE. The error occurs within a > PowerBuilder application. My problem is that I can't delete a row > from a table. The error I get i…
Locking
I am working in Informix V4 SE. The error occurs within a PowerBuilder application. My problem is that I can't delete a row from a table. The error I get is -263 with ISAM -107. Could not lock row for UPDATE. I am not sure how to resolve this problem. When in ISQL on UNIX I get…
Re: Locks
>Clem -- >I have copy of an old post of yours regarding the subject of locks. >You say, "In summary, we use row locking and pump up the LOCKS value in the >ONCONFIG file as big as we can." > >How do you define "as big as we can"? Obviously we are talking about a >memory resource,…
Table locks
As read from the 4gl reference manual: Lock Table <Cut> Notes: 1. Only one lock can apply to a table at any given time. That is, if a user locks a table (in either SHARE or EXCLUSIVE mode), no other user can lock that table in either mode until the first user unlocks it From…
Re: Lock problem in online 5.0
The default lock mode is page, not row. You can change the lock mode this way: ALTER TABLE <table name> LOCK MODE(ROW) --- Leonid Ilyevsky NYNEX Science and Technology E-mail: leonid@nynexst.com 500 Westchester Ave. Phone:(914)644-2…
Kernel locks or file locks?
Hi, Sometimes a table gets locked up. We called informix and they said we needed to reboot the system to free up the locks, because we had kernel level locking. They said it was operating system dependant that determins whether we have file locks that can be easily removed or ke…
Locks
In Message-Id: <Pine.3.89.9407060806.A22251-0100000@dev.jcdc.eta.gov> paulw@dev.jcdc.eta.gov writes: > Currently we are run On-line 5.01 under AIX 3.2.4(?), and every now and > then we get an error indicating a table/row is locked. Is there any easy > way to view who has wha…
Locks
Currently we are run On-line 5.01 under AIX 3.2.4(?), and every now and then we get an error indicating a table/row is locked. Is there any easy way to view who has what currently locked in the system? ----------------------------------------------------------------------------…
Locked Files
Thank you to those who answered my last question ('Locked Files'). For some reason most of the answers where about On-Line. So, I'd like to post the message again. I'm having a great trouble with 'locked files'. Every so often I get the error 242: Could not open database table (…
Locked Files
Newsgroup: comp.databases.informix Subject : 'Locked files' Organization: SRD, Italy Distribution: world Sender: mc5032@mclink.it (A.Brunamontini) I'm having a great trouble with 'locked files'. Every so often I get the error 242: Could not open database table (table_name) …
Record Locking
Hi There: I have two clients in their transactions as below. Client1----> begin work fetch a record R1 ..... update R1 commit work Client2-----> begin work fetch a record R1 update R1 commit Work Both the clients fetched the same record but client2 updat…
the file is locked
Can someone please help me? I'm running a 4gl program that creates and inserts records into a table. I have set the isolation to "dirty read" and I'm still getting the error message "SQL statement error number -271. Could not insert new row into the table. SYSTEM error number…
Transaction Locks
We are running Informix SE 5.o on Unisys U6000/100 using SVR4.0.1.2. Oflate we are having some problem with the updates in a transaction. Whenever the number of row updates in a transaction go beyond a couple of hundred records, we get an error "Unable to update row". Informix sa…
Locks
Hi all, Currently I am using VB 3.0 and Q+E multilink as a front end to the Informix database. However, when I develop applications that use more than three "Query" controls, it creates alot of locks at the engine level (server). I usually end up rebooting my PC and terminate…
Lock types
I tried to to select the count of the number of rows in a table this afternoon and I received a message from ISQL that the table was locked. I ran 'tbstat -k' and received the following: RSAM Version 5.00.UC2 -- On-Line -- Up 7 days 05:12:00 -- 6208 Kbytes Locks address…
Re: Informix Online Problem
You don't mention the locking level on the tables involved. Did you use row level locking when creating the table? You could be having a problem if page or table level locking is being used. You may want to check the program as well as a 'lock table ?? in exclusive mode' may be …
Row locks
We've written a program that updates several rows in a table. We assumed that we may run into locking problems since these rows may be updated by another program. So... We test for the lock and if we can't lock the row, we issue an error message to inform the user that one of the…
Locked Table.
REPLY TO: CHARLEEN STONER REFERENCE: TABLE LOCKED BY USER MESSAGE (UNKNOWN USER) Charleen, I too, have experienced this error in SQL 2.10 and was stopped cold. When I called the Informix Maintenance people they thought it could have been an Informix bug during the compile st…
Timeout on locks
John R. Carter Sr. writes: > > [ ... Jonathan Leffler saying "wait for a lock" ... ] > > I concur with this concept. Still, the effort to correctly > implement a wait on a request to lock a record should be able to > identify the difference between a program/machine glitch and t…
turbo locks
We are running Informix Turbo engine and 4GL/SQL 2.10.03G on a Unisys 5000/95. (note, this is not On-Line, and not 4.0+). We were told in class when we run tbstat -k it shows table level locks, in exclusive mode, with a +X and last column=0, which is true. To figure out which ta…
locks
> > > > > > Cluster indexes are best on static tables. I have a clustered index in my > > zipcode table (cause we very rarely change that table). Clustering will > > improve your queries and deletes shouldn't affect the clustering (unless > > they are followed by adds). Update…
Hung Locks
Environment - Informix 4.0 Standard Engine I have a problem which has coincidentally occurred at two of my sites at nearly the same time (different applications and databases). It appears that a table has become locked out of the rest of the world, such that no one can access it…
Holding Locks?
Path: emory!ogicse!henson!n8420101 From: n8420101@henson.cc.wwu.edu (Chris A. Hopen) Newsgroups: comp.databases.informix Summary: Need to hold locks even after commit work! Message-ID: <1991Oct18.015545.29600@henson.cc.wwu.edu> Date: 18 Oct 91 01:55:45 GMT Organization: Western W…
Locked tables
I seem to have a rather frequent problem of when I want to alter a table, add a new index to it, etc., I find the table is locked for no apparent reason. There seems to be no SQL command I can find to force the table to be unlocked. I have to reboot the machine to unlock it. Ho…