MySQL Forums
Forum List  »  InnoDB

Re: Do SELECT statements create some kind of row/table lock?
Posted by: Aftab Khan
Date: December 03, 2012 10:57AM

Please provide output of the following:

EXPLAIN SELECT count(digg_id) 
FROM kaneva.channel_diggs cd 
INNER JOIN kaneva.communities_game cg ON cg.community_id = cd.channel_id 
INNER JOIN __make_population_cache mpc ON mpc.game_id = cg.game_id 
WHERE 
cd.created_date >= DATE_SUB(DATE(NOW()),INTERVAL 7 DAY) ;

show create table kaneva.communities_game\G
show create table __make_population_cache\G



Edited 2 time(s). Last edit at 12/03/2012 11:02AM by Aftab Khan.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Do SELECT statements create some kind of row/table lock?
1093
December 03, 2012 10:57AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.