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 > Re: procedure locks all statemens
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Re: procedure locks all statemens

Réponse
 
LinkBack Outils de la discussion
Vieux 29/03/2008, 17h18   #1
Baron Schwartz
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: procedure locks all statemens

It is probably keeping a global lock on something else: perhaps the
MyISAM key buffer is at fault. Try loading this table's indexes into
a different key buffer and see what happens.

On Fri, Mar 28, 2008 at 2:39 PM, Saravanan <suzuki_babu@yahoo.com> wrote:
> It doesn't lock single table it locks all other select and update statements of other tables too which I don't use in procedure.
>
> Saravanan
>
>
> --- On Sat, 3/29/08, B. Keith Murphy <bmurphy@paragon-cs.com> wrote:
>
> > From: B. Keith Murphy <bmurphy@paragon-cs.com>
> > Subject: Re: procedure locks all statemens
> > To: suzuki_babu@yahoo.com, "mysq >> 'mysql list'" <mysql@lists.mysql.com>
> > Date: Saturday, March 29, 2008, 1:02 AM

>
> > When it selects values from the myisam table it is locking
> > the entire
> > table.
> >
> > Saravanan wrote:
> > > Hi Lists,
> > >
> > > i have created a procedure. It selects values from a

> > myisam table and updates an innodb table one by one ( not
> > as huge update it clearly use where clause). but whenever I
> > run the procedure other statements waits for longtime until
> > my procedure completes updates. any idea why it blocks. i
> > tried start transaction and commint for every single
> > update. but the result is same
> > >
> > > Saravanan
> > >
> > >
> > >

> > __________________________________________________ __________________________________
> > > Be a better friend, newshound, and
> > > know-it-all with Yahoo! Mobile. Try it now.

> > http://mobile.yahoo.com/;_ylt=Ahu06i...Dypao8Wcj9tAcJ
> > >
> > >

> >
> >
> > --
> > Keith Murphy
> >
> >
> > editor: MySQL Magazine
> > http://www.mysqlzine.net

>
>
>
> __________________________________________________ __________________________________
> Looking for last minute shopping deals?
> Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsea...egory=shopping
>
>
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe: http://lists.mysql.com/mysql?unsub=baron@xaprb.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 04h46.


Édité par : vBulletin® version 3.7.3
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,07591 seconds with 9 queries