Programming Tools
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingProgramming Tools

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old August 6th, 2002, 09:31 PM
mytch mytch is offline
Dev Articles Novice (500 - 999 posts)
 
Join Date: Apr 2002
Location: Sydney, Australia
Posts: 589 mytch User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Article Discussion: How Logs Work On MySQL With InnoDB Tables

How Logs Work On MySQL With InnoDB Tables If you have any questions or comments about this article then please post them here.

You can read the article here .

Reply With Quote
  #2  
Old December 12th, 2003, 07:09 AM
Marat Latypov Marat Latypov is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Russia, Naberezhnye Chelny
Posts: 1 Marat Latypov User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy (1205) Lock wait timeout expired

This is my real situation:

There are several transactions just at one time.
Example:

---TRANSACTION 0 13699445, ACTIVE 659 sec, process no 26481, OS thread id 901142
11 lock struct(s), heap size 1024, undo log entries 7
MySQL thread id 46, query id 45109 Galvanik 10.10.10.26 stn
Trx read view will not see trx with id >= 0 13699446, sees < 0 13686036
---TRANSACTION 0 13689134, ACTIVE 13209 sec, process no 26407, OS thread id 425999
9 lock struct(s), heap size 1024, undo log entries 2
MySQL thread id 17, query id 44823 Texnolog 10.10.10.19 stn
Trx read view will not see trx with id >= 0 13689135, sees < 0 13686036
---TRANSACTION 0 13686886, ACTIVE 16919 sec, process no 26422, OS thread id 507921
4 lock struct(s), heap size 320
MySQL thread id 22, query id 44966 Ekonom 10.10.10.34 stn
Trx read view will not see trx with id >= 0 13686887, sees < 0 13686036

..... etc

Suddenly one of them attempting execute INSERT(!!!) give me error: "1205 Lock wait timeout expired".
Why INSERT can concurrent with other trx's???

Usually I resolve this situation by kiling one of processes. And success probability is correlated by its number of locks.
It is so even if this process locks records at its separate table!

Is there limit for locks?
Where I can correct it?

About my system:

MySQL 4.0.16-max+InnoDB
MyODBC+VisualFoxPro 5.0

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingProgramming Tools > Article Discussion: How Logs Work On MySQL With InnoDB Tables


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT