Brian Moon suggest that community provided example my.cnf files
would be a great thing to have on MySQLforge in this recent post:
http://doughboy.wordpress.com/2008/05/06/example-mycnf-files/
I pulled out the "innodb heavy" config sample file and modified
it with the standard settings that I typically start with when
setting up a new InnoDB master. I've also modified the comments
in the file a bit and have added some of my own too. I removed
the sample slave configuration parameters (master-host, etc)
because you should be using 'CHANGE MASTER TO'.
He suggested tagging such files with a 'mycnf' tag and very
kindly tagged mine after I posted it :)
Feel free to share yours too and please feel free to make any
comments about my configuration choices.
You can find it here (along with any other mycnf …
The latest from the MySQL community
Ideas, releases, practical guides, and perspectives from the people building with MySQL.
This is a great little sql statement that packs a nice punch for the number crunchers out there...A disclaimer first: make sure you don't do this on a live OLTP table with millions of rows unless you want your customers to wait. Thus, run it on your slave :).Onto business...The Request"I need to know the number of people who made one purchase, two purchases, three purchases, and so on. Right
I was cruising the MySQL Forge Worklog when I came across the idea of Time Delayed Replication. I had never considered the benefits of deliberately keeping a slave server behind a master.
Kristian Koehntopp gives a good example:
Kristian Koehntopp writes:
TDS: Time delayed SQL_THREAD (Have a replication slave that is
always
lagging 30 minutes behind).
Currently, replication is a rolling recovery: To set up
replication you
restore from a full dump with a binlog position. You then
continously
download binlog and roll forward. In case of a master crash a
slave is a
readily recovered instance (as opposed to a backup, which still
has to be
restored).
This protects against crashes, but not against oopses.
A time delayed slave (TDS) is a nice protection against oopses.
Sugar on …
[Read more]
Well, it has been almost a month. I know I am late to the
blogosphere on my thoughts. Just been busy.
Again this year, the Phorum team was invited to be a part of the
DotOrg Pavilion. What is that? Basically they just
give expo floor space to open source projects. It is
cool. We had a great location this year. We were
right next to the area where they served food and drinks during
the breaks. We had lots of traffic and met some of our
power users. IMVU.com is getting 1.5 million messages per month
in their Phorum install. They did have to customize it to
fit into their sharding. But, that is expected. A guy
(didn't catch his name) from Innobase came by and told us that
they just launced InnoDB support forums on their site using
Phorum. Cool. So now …
I've been doing a lot of batch updates on one of my databases at home recently. show processlist says something like this:
mysql> show processlist; +-------+------+---------------+--------------+---------+-------+----------+------------------------------------------+ | Id | User | Host | db | Command | Time | State | Info | +-------+------+---------------+--------------+---------+-------+----------+------------------------------------------| | 18354 | root | maui:37403 | smtp_servers | Query | 57234 | Updating | update ips_218 set reverse_lookup = null | | 22286 | root | maui:37348 | smtp_servers | Query | 38103 | Updating | update ips_80 set reverse_lookup = null, | | 22851 | root | maui:54982 | smtp_servers | Query | 34091 | Updating | update ips_19 set reverse_lookup = null, | | 23351 | root | molokai:58232 | smtp_servers | Sleep | 57 | …[Read more]
Well, it has been almost a month. I know I am late to the blogosphere on my thoughts. Just been busy.
Again this year, the Phorum team was invited to be a part of the DotOrg Pavilion. What is that? Basically they just give expo floor space to open source projects. It is cool. We had a great location this year. We were right next to the area where they served food and drinks during the breaks. We had lots of traffic and met some of our power users. IMVU.com is getting 1.5 million messages per month in their Phorum install. They did have to customize it to fit into their sharding. But, that is expected. A guy (didn’t catch his name) from Innobase came by and told us that they just launced InnoDB support forums on their site using Phorum. …
[Read more]Note: these are live notes. It was a great talk, I’d rate it as excellent (and I’m not just saying that because Josh and I work in the same group at Sun). I’ll have to also comment on his thoughts and talk, in due time. MySQL, as an open source project, has a lot to learn.
Ten Ways to Destroy Your Community
A How-To Guide
Josh Berkus, Community Guy
Part 1: The Evil of Communities
- you may attract and will be unable to get rid off a community
- they mess up your marketing plans, because the community goes out and does its own marketing and PR and distributes your software in places you didn’t expect to
- they also mess up your product plans, because they contribute to code and features to your project, with unexpected innovation!
- communities are never …
I just got the rest of the production schedule from the publisher, plus the PDF files for quality control, for our upcoming book. (Now I have to proofreeed the whole book!) This is the first time I’ve seen the entire production schedule. The book is supposed to go to the printer in the first week of June. I don’t know what the on-the-shelf date will be, but I think very shortly after that. The publisher has promised that it’ll physically be on sale at Velocity.
I also took a peek at the PDFs. Without the appendixes, the last page of Chapter 14 (Tools for High Performance) is page 604. The appendixes bring it to 660 pages. That’s real material, …
[Read more]
This just in. In a long interview on Linux Voices, Oracle's Linux
architect Edward Screven comments on the MySQL/Sun
acquisition.
...we just don’t care. I mean, we don’t see MySQL
very often, again, in competitive deals. It’s out there, but it’s
not very often that a database sales rep comes back and says, “I
had to compete for the business against MySQL.”
To be fair the question is about how the MySQL acquisition
affects Linux. But it seems really hard to believe Oracle does
not care about MySQL. This is the same company that bought
InnoDB. There is no doubt that Oracle is watching developments at
Sun very carefully. The interesting problem for Oracle is not
simply that Sun now has MySQL. It is that Sun owns or backs a
portfolio of open source databases. And there are plenty of
companies besides Sun that are …
It seems that open source maven, Matt Asay along with well-known Microsoft blogger Mary Jo Foley have come to the conclusion that Microsoft doesn’t need open source. Asay contends that Microsoft’s open source activity has more to do with regulators than best practices and user collaboration.
Microsoft’s open-source charade is not about customers. It’s about regulators. Until Microsoft can convince U.S. and European regulators that its market power is not as bad as it once was, the company will need to hide behind expressions of openness.
Hence, Microsoft “opens” up its protocols (i.e., lets everyone read but not touch…without forking over cash). It inks “open” interoperability agreements with Novell …
[Read more]