I have been looking for efficient ways to purge data from "Fast
Disks" for applications that are time based and do not look at
data after a time window has passed. For instance keeping a table
where one stores log data from access logs and the data is okay
to roll up the data and throw away the details every month.
Another example is keeping a log of invites got a Facebook user
from a Facebook user. Since the Facebook News feed is time based,
stream publish postIds from 4 months ago do not necessarily need
to be hot-the user rarely looks 4 months in the pass.
Additionally with Timeline, it is hard to see a single story from
10 months ago if it is not as important as other stories. Keeping
the data is necessary to delete Facebook posts from your
application. So, get rid of each Invite off fast disk, and
archive it on slow disks just in case you need to see the data
again.
One solution is to code some logic into the application to …
WordPress on S3: no more backups
How much trouble will it be if your webserver failed? No trouble at all, if your website keeps its content on reliable Amazon S3 storage.
There are a lot of nuances in ensuring proper backups and restores of websites. When was the last backup taken? How much data might have been lost? How long will it take to recover it? When was the last time you tested restore? Do you even have an offsite backup?
Now that you can run dynamic websites off Amazon S3 storage, we’ll demonstrate why you no longer need to worry about backing up and restoring your website data. Losing the webserver is no longer a disaster. Cloud storage offers almost unsurpassable reliability a lot of website owners (small & large) would benefit from. In a way you get an "instantaneous backup" to the cloud. Your …
[Read more]Hello,
We are delighted to announce the release of SQLyog 10.0. The version number makes this release very special. We must say the journey from SQLyog 1.0 to 10.0 was very exciting and rewarding. SQLyog was first released in 2002 as a MySQL GUI. Now we are a decade away from the first release. During the course of time, we have introduced tons of features taking SQLyog beyond the definition of a GUI. We couldn’t have done it without your encouragement and patronage. A big thank you for being with us in this endeavour.
Listed below are the features and enhancements introduced in this release:
- Refreshing modern looks. We redesigned the user interface with a soothing color palette. We …
Intel provided us with a chance to try out the new Intel Xeon
E5-2670 in a large cluster set-up to compare it against the
previous Intel generation, the Intel Xeon X5670. We compared two
similar set-ups for MySQL Cluster with 4 data nodes, each node
was configured in a realistic production set-up. With Intel Xeon
X5670 we achieved 9.77M reads per second in this set-up and with
Intel Xeon E5-2670 we achieved 15.2M reads per second. A healthy
56% speedup.
The speedup comes from three factors. The first factor is that
the Intel Xeon E5-2670 have 33% more cores (8 vs. 6). The second
factor is that more cores gives us greater flexibility in
configuring MySQL Cluster and we can actually configure 50% more
threads per data node. The third factor is that each Intel Xeon
E5-2670 core is actually faster than the Intel Xeon X5670 cores
although they execute on a lower clock frequency.
CAPSiDE and Codership have joined forces to offer Galera Cluster related support and consulting services for the fast growing Galera user community.
CAPSiDE now offers the Galera Cluster technology, including the consulting services and support,in partnership with the Codership's development team. This cooperation sums up years of experience and proven track record of deploying large online platforms with the highest requirements on stability, high availability, performance and cost efficiency. CAPSiDE's services are offered to all Spanish speaking countries (Spain and South America), including all levels of professional support in Spanish and English.
CAPSiDE has years of competence …
[Read more]Below you will find all code to create the table and the stored procedures to manage hierarchical trees in MySQL. All code is documented and can be downloaded in a zip file.
The Roucky Mountain Oracle Users Group’s MySQL Special Interest Group met today for four presentations.
Effective MySql’s Ronald Bradford explaining Explain
Ronald Brafdord explaining Explain[/caption] Ronald Bradford
started the day on backup and recovery and then had a second
session on optimizing queries. George Trujillo had a session on
demystifying MySQL for Oracle DBAs and Developers. Lastly, I
preseted on SQL and NoSQL. If you live in the greater Dener area,
you shoudl make sure you take part in the next RMOUG
meeting.
…
Last week I did not post one of these, because I was at Professional IT Community Conference (PICC) 2012; in New Brunswick, NJ. This is my third year in a row speaking and attending the conference, and it is always a great time. I did a session on MySQL Security (PDF slides) and another on Getting Started with a Podcast (PDF slides). There will be videos available sometime in the future, and I will link to those when they are up.
Other than that, it has been a fairly hectic two weeks. The final set of machines was moved out of the data center on Tuesday, so there was some work on that done, and there will be residual cleanup to do, but that is mostly behind us now. There was plenty of setting up machines, backing up machines and changing MySQL ACLs going on, with more to come to …
[Read more]In this episode we talk about string data types, comparing them to the ISO:2003 SQL standard.
Gerry has joined Tokutek - Congrats Gerry! We interviewed Martin from Tokutek in episode 86.
Conferences:
MySQL Innovation Day Schedule Tuesday June 5th, Redwood
Shores, CA. Register here (free). Content will be
available via live stream, so save the date!
You could say: what could be the reason for having really big number of tables? Just design the application properly! It’s not always that easy. And this post isn’t really about arguing whether having many tables is good or not, it’s about what happens in terms of memory usage if you already reached that point.
Btw what do I mean by *many*? From my experience it’s tens of thousends or even millions rather than hundreds.
The inspiration for me to write this post was strong desire to try out the latest declared improvements in that area announced to be done in MySQL 5.6. _1
What I did was a very simple test where I loaded sql dump of databases and tables definitions only into different versions of MySQL. During the load time I was monitoring memory usage of mysqld process (RSS …
[Read more]