Unix Technical Forum

need to lack table?

This is a discussion on need to lack table? within the MySQL forums, part of the Database Server Software category; --> Hello, I have a site which is to be mentioned on a radio programme and just might have lots ...


Go Back   Unix Technical Forum > Database Server Software > MySQL

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-16-2008, 01:40 PM
Geoff Cox
 
Posts: n/a
Default need to lack table?

Hello,

I have a site which is to be mentioned on a radio programme and just
might have lots of users accessing the site following this broadcast.

There is javascript/php which adds data to MySQL - is there any need
to lock/unlock the table each time or does MySQL itself take care of
large numbers of concurrent users?

Thanks

Geoff
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-16-2008, 01:40 PM
Geoff Cox
 
Posts: n/a
Default Re: need to lack table?

On Fri, 16 May 2008 08:51:37 +0100, Geoff Cox <gcox@freeuk.notcom>
wrote:

grief! LOCK not lack ....

Geoff
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-16-2008, 01:40 PM
Captain Paralytic
 
Posts: n/a
Default Re: need to lock table?

On 16 May, 07:51, Geoff Cox <g...@freeuk.notcom> wrote:
> Hello,
>
> I have a site which is to be mentioned on a radio programme and just
> might have lots of users accessing the site following this broadcast.
>
> There is javascript/php which adds data to MySQL - is there any need
> to lock/unlock the table each time or does MySQL itself take care of
> large numbers of concurrent users?


If all you are doing is adding data to a table then that is fine.
Locking tables is only required for transactional type processing,
when the InnoDB engine is not available.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-16-2008, 01:40 PM
Geoff Cox
 
Posts: n/a
Default Re: need to lock table?

On Fri, 16 May 2008 02:23:12 -0700 (PDT), Captain Paralytic
<paul_lautman@yahoo.com> wrote:

>On 16 May, 07:51, Geoff Cox <g...@freeuk.notcom> wrote:
>> Hello,
>>
>> I have a site which is to be mentioned on a radio programme and just
>> might have lots of users accessing the site following this broadcast.
>>
>> There is javascript/php which adds data to MySQL - is there any need
>> to lock/unlock the table each time or does MySQL itself take care of
>> large numbers of concurrent users?

>
>If all you are doing is adding data to a table then that is fine.
>Locking tables is only required for transactional type processing,
>when the InnoDB engine is not available.


Paul,

Thanks for the info. One less problem!

Cheers

Geoff
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:17 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com