Jump to content

[SOLVED] slow UPDATE & INSERT


Brian W

Recommended Posts

We have a kick ass in house server running MySQL and suddenly just recently one of the sites running on it started having delays when running Update and/or Insert statements. SELECT statements don't seem to have any delay and are flying like they should.

When you post date (as in click "Submit") the status bar gets like a quarter of the way loaded, then pauses for 2-15 seconds, and then finally finishes.

I find this odd since I haven't had any problems before hand and like I said, the Select statements run just fine.

Any ideas?

also, can't seem to get --log-slow-queries[=file_name] to work.

i've tried:

--log-slow-queries[=file_name];

-log-slow-queries[=file_name];

--log-slow-queries[=];

--log-slow-queries;

and a few other combinations and variations but can't figure out that command prompt thing. I'm a total noob.

 

Thanks guys

 

Link to comment
Share on other sites

never mind, after some testing I've narrowed the slowness down to the mail() function which happens to be on all the pages that INSERT and/or UPDATE. trouble shooting that problem now though.

Thanks Mchl anyways, appreciate the speedy help.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.