Re: Question: How to fix TABLE LOCK table and lock mode AUTO-INC waiting ? one more question, please

2007-07-20 Thread Mariella Petrini
Hi, What does exactly happens when the AUTOINC lock is happening ? Why is it not a problem on our amd (quadcore) machine with the data sitting on a raid10 partition, we have never seen this problem before, its apparently happening so fast that it doesn't matter. With the intel machine (quadcor

Question, please: How to fix TABLE LOCK table and lock mode AUTO-INC waiting ?

2007-07-19 Thread Mariella Petrini
43544160 setting auto-inc lock mysql tables in use 1, locked 1 LOCK WAIT 1 lock struct(s), heap size 368 MySQL thread id 634392, query id 3774951 NSERT INTO t2 VALUES ('') --- TRX HAS BEEN WAITING 3 SEC FOR THIS LOCK TO BE GRANTED: TABLE LOCK table `t2` trx id 0 366

bug #16979 auto-inc: question about the patch

2007-02-06 Thread Duhaime Johanne
I have run into that bug with mysql 5.0.24a: bug #16979 auto-inc My application was running OK on 4.1.7. But after migration to 5, the problem started. My questions are: 1-Can I run the patch on 5.0.24a even if it is for 5.0.21. 2-Which patch finally is the good one : the one from [13 May

Re: DWHS inc.

2006-02-15 Thread Joshua J. Kugler
On Tuesday 14 February 2006 18:37, [EMAIL PROTECTED] said something like: > Hello, > > Is there anything we can do to help the MySQL project, we are firm > believers and would like to contribute in some way. > > We have a several 100 mps connections and server space. MySQL already has a Southern C

Re: DWHS inc.

2006-02-14 Thread Dan Trainor
[EMAIL PROTECTED] wrote: Hello, Is there anything we can do to help the MySQL project, we are firm believers and would like to contribute in some way. We have a several 100 mps connections and server space. Thank you, Charles DWHS Inc. Manager http://www.dwhs.com http://www.dwhs.com

DWHS inc.

2006-02-14 Thread support
Hello, Is there anything we can do to help the MySQL project, we are firm believers and would like to contribute in some way. We have a several 100 mps connections and server space. Thank you, Charles DWHS Inc. Manager http://www.dwhs.com http://www.dwhs.com/hostingforum/ https://dwhs.net

Two transactions cannot have the AUTO-INC lock on the same table simultaneously ... what happened if it happened

2006-02-06 Thread Ady Wicaksono
From MySQL 5.0.18 manual == When accessing the auto-increment counter, InnoDB uses a special table level AUTO-INC lock that it keeps to the end of the current SQL statement, not to the end of the transaction. The special lock release strategy was introduced to improve

lock mode AUTO-INC waiting ... waiting for what and for long time?

2006-02-04 Thread Ady Wicaksono
As my posting before, i still not found a primary key replacement for auto_increment field. Since whein inserting on auto_increment value, application will lock table (LOCK AUTO-INC). Sometime, i found that many process is waiting for this lock for what? I don't know since ever thread

Re: Messed up on auto inc

2004-11-23 Thread Gleb Paharenko
> > I have 1016 records in a particular table. The first > column is a Primary ID Int set to auto-inc. Now if I > dump out all he records I can see 1 through 1016. > None others , sorted it follows through numerically. > > However it seems that the records are showing

Messed up on auto inc

2004-11-22 Thread Stuart Felenstein
Primary ID Int set to auto-inc. Now if I dump out all he records I can see 1 through 1016. None others , sorted it follows through numerically. However it seems that the records are showing up with the Primary ID going up to 9000. If I do a simple select * from table where primaryID = 858

Re: two auto-inc fields possible ?

2004-04-14 Thread Michael Stassen
ED] Sent: Wednesday, April 14, 2004 7:29 PM To: [EMAIL PROTECTED] Subject: Re: two auto-inc fields possible ? nope i don't think it's possible BUT you can use the concat feature to get the result: select concat('NEW-',running_id), concat('DEP-',running_id') so lo

RE: two auto-inc fields possible ?

2004-04-14 Thread electroteque
cool so i create a unique field say ticket_number , then when inserting concat it to look like NEW-20040414-01 or NEW-01 u reckon ? > -Original Message- > From: Terence [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 14, 2004 7:29 PM > To: [EMAIL PROTECTED] > Subject: R

Re: two auto-inc fields possible ?

2004-04-14 Thread Terence
- Original Message - From: "electroteque" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 14, 2004 5:11 PM Subject: two auto-inc fields possible ? Hi there i was wondering if its possible to have two auto-inc fields ? I am having to generate ticket numbers a

two auto-inc fields possible ?

2004-04-14 Thread electroteque
Hi there i was wondering if its possible to have two auto-inc fields ? I am having to generate ticket numbers and i want it to look like DEP-1, DEP-2, NEW-1, NEW-02 where NEW and DEP are the first 3 letters of of the department associated with the ticket. How is this possible

Re: InnoDB AUTO-INC lock timeouts / deadlocks on inserts (using

2002-10-01 Thread iod iod
(IOD) - - Original Message - From: "Heikki Tuuri" <[EMAIL PROTECTED]> Date: Tue, 1 Oct 2002 15:00:37 +0300 To: "\"iod iod\"" <[EMAIL PROTECTED]> Subject: Re: InnoDB AUTO-INC lock timeouts / deadlocks on inserts (using > IOD, > > thank you for t

Re: InnoDB AUTO-INC lock timeouts / deadlocks on inserts (using

2002-10-01 Thread Heikki Tuuri
IOD, thank you for the bug report. I was able to repeat the problem with you scripts. The bug was that InnoDB failed to release at an SQL statement end such AUTO-INC locks which were only granted after a lock wait. They were only released at the transaction commit. Since AUTO-INC locks normally

Re: InnoDB AUTO-INC lock timeouts / deadlocks on inserts (using

2002-10-01 Thread iod iod
behavior, such that table level AUTO-INC locks are being applied REPEATEDLY (duration of ENTIRE transaction), even though the database has undergone multiple, commited transactions previously. This behavior is very prominent when you have multiple processes with overlapping, concurrent transactions

Re: InnoDB AUTO-INC lock timeouts / deadlocks on inserts (using

2002-09-26 Thread Heikki Tuuri
Iod, - Original Message - From: ""iod iod"" <[EMAIL PROTECTED]> Newsgroups: mailing.database.mysql Sent: Thursday, September 26, 2002 8:14 AM Subject: InnoDB AUTO-INC lock timeouts / deadlocks on inserts (using > > We have been using InnoDB with

InnoDB AUTO-INC lock timeouts / deadlocks on inserts (using AUTO_INCREMENT column)

2002-09-25 Thread iod iod
ng: INSERT INTO BasketItems(BalQuantity, ... --- TRX HAS BEEN WAITING 46 SEC FOR THIS LOCK TO BE GRANTED: TABLE LOCK table ca3/BasketItems trx id 0 26561327 lock_mode AUTO-INC waiting At times there are around 4 to 5 such simultaneous waits in the log and ulti

Can't locate loadable object DBD::mysql in @INC

2002-08-15 Thread Nik
ql in @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at (eval 1) line 3 Compilation failed in require at (eval 1) line 3. Perhaps a module that DBD::mysql requires h

Re: @INC

2002-05-28 Thread Richard Clarke
This is OT, perhaps post to comp.lang.perl.*? Ric p.s. try use DBI or use lib qw(/path/to/module) - Original Message - From: "Amy Zediak" <[EMAIL PROTECTED]> To: "MySql List" <[EMAIL PROTECTED]> Sent: Tuesday, May 28, 2002 3:01 PM Subject: @INC

Re: @INC

2002-05-28 Thread Gerald Clark
You need to install DBI first. Amy Zediak wrote: > >I'm a little confused on how to add things to @Inc path...i'm trying to >install Msql-Mysql-modules and it says that my DBI/DBD is not in the &

@INC

2002-05-28 Thread Amy Zediak
I'm a little confused on how to add things to @Inc path...i'm trying to install Msql-Mysql-modules and it says that my DBI/DBD is not in the @INC Thanks Amy - Before posting, please check: http://www.mysql.com/

(innodb) transations waiting in "lock_mode AUTO-INC waiting"

2002-05-15 Thread Per Andreas Buer
155184269 setting auto-inc lock, active, lock wait, has 1 lock struct(s) MySQL thread id 151538, query id 1612637 xxx.xxx.com nn.nn.nn.nn database update insert into table_0 (attribute, attribute, attribute) values ( .. --TRX IS WAITING FOR THE LOCK: TABLE LOCK table database

Re: Auto-Inc question

2001-02-22 Thread Website4S
In a message dated 22/02/2001 12:22:26 GMT Standard Time, [EMAIL PROTECTED] writes: << 30 seconds work(less time than it took you to type your email) would've revealed the answer: 1. Click on "the manual" link at the bottom of this message. 2. See the search box? Type in "auto increment"

Re: Auto-Inc question

2001-02-22 Thread Ed Carp
[EMAIL PROTECTED] ([EMAIL PROTECTED]) writes: > Hi, > > I have a table which contains a row called ListID which is set to auto > increment, I added a load of test data into the table while I built my > website so I could test various things out, anyway that is all finished now > and I am read

Re: Auto-Inc question

2001-02-21 Thread Paul DuBois
At 12:24 AM -0500 2/22/01, [EMAIL PROTECTED] wrote: >Hi, > >I have a table which contains a row called ListID which is set to auto >increment, I added a load of test data into the table while I built my >website so I could test various things out, anyway that is all finished now >and I am ready to

Auto-Inc question

2001-02-21 Thread Website4S
Hi, I have a table which contains a row called ListID which is set to auto increment, I added a load of test data into the table while I built my website so I could test various things out, anyway that is all finished now and I am ready to go live so I have dropped all the test data from the t