TIP: If your UPDATEs on a read intensive environment are taking
as much as 1800 seconds, and if you can afford it, try using
UPDATE LOW_PRIORITY ..., it can help!
You can also restart MySQL server with --low-priority-updates to
make all UPDATEs low priority.
Or, you can make your SELECTs HIGH_PRIORITY.
BTW, does any one know why my last post about MySQL performance tuning went missing on
Planet MySQL?
A couple of bug fixes pushed into the team trees. It appears that Valgrind can have a race when signalling condition variables while not holding the mutex. I should get some rest - having to stay up for European hours can be quite exausting. The company-wide conf call was mostly uneventful except for a small number of people who seemed unable to mute their connection. Hopefully, next time MGM will use the "lecture" mode and ensure that all other participants are quiet: It was quite hard to concentrate with the errant echos and other noises.
Liberty Alliance Announces openLiberty Project, Liberty Alliance (Press Release)
GroundWork Exits 2006 with Phenomenal Growth in Revenue and New Customers, GroundWork Open Source (Press Release)
OpenClovis Ends Calendar Year 2006 on High Note, OpenClovis (Press Release)
Pentaho Announces Significant Customer Adoption in Q4, Pentaho (Press Release)
…
[Read more]MySQL backups are essential to running a site with MySQL backend. Generally you can get away with doing nightly backups but on our site, due to couple issues we had in past, we are forced to do hourly backups of our db. Intially I was doing backup by using: mysqldump dbname > weekdayHour.dbname.sql hourly. [...]
MySQL AB today announced that OKQ8, Sweden?s largest gasoline vendor, will roll out a MySQL-based payment authorization and collection system during the first part of 2007.
Our sysadmin has a nice blog post with a few tips for using mysqldump, especially if your database is used for more than a basic site, or if you have stored procedures and/or triggers.
Problem:
One of the sites I maintain has been getting more and more traffic everyday. A very good thing for the site, not so good for the solo server which is serving those pages. The site is VERY dynamic with LAMP setup. We only have one server serving our web pages to our users. Since its a dynamic site with PHP and MySQL, it has a lot of load during peak times. Average load time of a page is between 1-2 secs during normal usage, 2-5 secs under average to heavy load.
During heavy load, we started to see our mysql stop responding to requests which is a big concern for us since we don’t show content if there is no db connection. We had to come with a solution, fast, to prevent this issue from appearing.
Solution:
So here are couple things I ended up doing on the server side to reduce load on this server without having to do much code change.
- We have couple other …
The Wall Street Journal and the San Francisco Chronicle have both written about how high tech companies in Silicon Valley are being much more frugal with investors' money than during the internet boom of the late 1990s. Not surprisingly, just about every startup I know is using open source, whether it's well known companies like Digg, FaceBook, Linden Lab, or newer entrants like YouSendit, Soonr, …
[Read more]Werner pointed us to Media Temple's entry on how to Scale MySQL in a large scale hosting environment. The short summary. Put them all in a virtual container and isolate them.