need to lack table?

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


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-16-2008
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
Reply With Quote
  #2 (permalink)  
Old 05-16-2008
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
Reply With Quote
  #3 (permalink)  
Old 05-16-2008
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.

Reply With Quote
  #4 (permalink)  
Old 05-16-2008
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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

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



All times are GMT +1. The time now is 04:01 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0