PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > mysql.general > innodb transaction not works
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
innodb transaction not works

Réponse
 
LinkBack Outils de la discussion
Vieux 21/03/2008, 19h59   #1
Saravanan
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut innodb transaction not works

Hi lists,

We are running database with mixed tables myisam and innodb. I know that innodb supports transactions. My server is running with default

transaction-isolation=REPEATABLE READ

Whenever our cron runs stats updation scripts. It locks whole table and make other sql statements which updates the table waits for long time. How can achieve isolation correctly make other statements proceed without waiting. And my script updates record by record not as bunch.

should I use transactional statements like "start transaction" and "commit" to achieve ?

thanks in advance.

Saravanan




__________________________________________________ __________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
  Réponse avec citation
Vieux 21/03/2008, 21h31   #2
Rajesh Mehrotra
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut RE: innodb transaction not works

Hi Saravanan,

Please check http://forums.mysql.com/read.php?97,18003,18003

-Raj.

-----Original Message-----
From: Saravanan [mailto:suzuki_babu@yahoo.com]
Sent: Friday, March 21, 2008 1:59 PM
To: mysql@lists.mysql.com
Subject: innodb transaction not works

Hi lists,

We are running database with mixed tables myisam and innodb. I know that
innodb supports transactions. My server is running with default

transaction-isolation=REPEATABLE READ

Whenever our cron runs stats updation scripts. It locks whole table and
make other sql statements which updates the table waits for long time.
How can achieve isolation correctly make other statements proceed
without waiting. And my script updates record by record not as bunch.

should I use transactional statements like "start transaction" and
"commit" to achieve ?

thanks in advance.

Saravanan





__________________________________________________ ______________________
____________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=raj@hccs.com

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 05h34.


Édité par : vBulletin® version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,07632 seconds with 10 queries