The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > UNIX and Linux Applications
.
google unix.com



UNIX and Linux Applications Discuss UNIX and Linux software applications. This includes SQL, Databases, Middleware, MOM, SOA, EDA, CEP, BI, BPM and similar topics.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
queries about exit Arunprasad Shell Programming and Scripting 2 10-01-2008 03:21 AM
my queries whizkidash Shell Programming and Scripting 4 03-27-2008 06:58 AM
Two small queries skyineyes UNIX for Advanced & Expert Users 3 07-05-2007 02:58 PM
Some queries... 12yearold UNIX for Advanced & Expert Users 6 07-14-2006 04:12 PM
SQL queries in background? jpprial UNIX for Dummies Questions & Answers 1 03-07-2001 08:17 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-23-2009
zefflyn zefflyn is offline
Registered User
  
 

Join Date: Jul 2008
Location: UT
Posts: 13
MySQL Slow Queries Log: Lock_time

In MySQL's slow queries log, it'll have an entry like this:


Code:
# User@Host: scc_service[scc_service] @  [192.168.249.209]
# Query_time: 43  Lock_time: 0  Rows_sent: 0  Rows_examined: 0
SET timestamp=1237769209;
UPDATE loan SET funding_status="scheduled",datetime_approved=now() WHERE loan_id = '00000';

What does Lock_time refer to? Is that how long the query spent waiting for a lock, or how long this query locked the database?
  #2 (permalink)  
Old 03-26-2009
Yogesh Sawant's Avatar
Yogesh Sawant Yogesh Sawant is offline Forum Staff  
Part Time Moderator and Full Time Dad
  
 

Join Date: Sep 2006
Location: Rossem, Tazenda
Posts: 1,086
Lock_time indicates the time spent waiting for a lock, due to another query holding a lock
  #3 (permalink)  
Old 03-26-2009
zefflyn zefflyn is offline
Registered User
  
 

Join Date: Jul 2008
Location: UT
Posts: 13
Fantastic, thanks.
Closed Thread

Bookmarks

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:35 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0