posted by Mohammad Lahlouh
on Wed 17 Mar 2010 15:06 UTC
I use it in Oracle and notice there are 10 days missed, but i didn't see it in MySQL.
posted by Md. Mahmud Ahsan
on Sun 28 Feb 2010 17:31 UTC
Some days ago I was working in a quiz project. Where user will play quiz and for each correct answer they will earn points. One of the task of this quiz application was, to get rank of a particular user. Now I am showing how could I solve this problem using mysql query.
posted by Md. Mahmud Ahsan
on Sun 28 Feb 2010 17:22 UTC
If you want to retrieve result based on today, this week or this month then you should visit the article to learn the mysql techniques.
posted by Sakila The Librarian
on Wed 24 Feb 2010 07:20 UTC
There are times when you require that your Apache server logs the request made to it, in a customized location. In my case, i wanted it to log all the incoming requests in a MySql database, so i made some experiments based on the things told by many people and yes, finally i got it.
posted by Mohammad Lahlouh
on Tue 23 Feb 2010 11:13 UTC
posted by Sakila The Librarian
on Tue 16 Feb 2010 22:13 UTC
There are those that are very adamant about letting people know that using INFORMATION_SCHEMA can crash your database. For example, in making changes to many tables at once Baron writes:
“querying the INFORMATION_SCHEMA database on MySQL can completely lock a busy server for a long time. It can even crash it. It is very dangerous.”
Though Baron is telling the truth here, he left out one extremely important piece of information: you can actually figure out how dangerous your INFORMATION_SCHEMA query will be, ahead of time, using EXPLAIN.
posted by Sakila The Librarian
on Tue 16 Feb 2010 12:05 UTC
I’ve written shortly on this before. I like yum; I love apt-get; I prefer not to use them for MySQL installations. I consider a binary tarball to be the best MySQL installation format (source installations being a different case altogether). This article explains why.
posted by kedar vaijanaupurkar
on Thu 11 Feb 2010 11:12 UTC
This shell script will be grabbing the tables you want and pass it to splitted.sql
It’s capable to understand regular expressions as I’ve added sed -r option.
Also MyDumpSplitter can split the dump in to individual table dumps.
posted by kedar vaijanaupurkar
on Mon 08 Feb 2010 12:06 UTC
Stored procedure to add-remove prefix by rename table
posted by Lenz Grimmer
on Mon 01 Feb 2010 14:47 UTC
A description of the MySQL Cluster startup process and its various phases.
posted by Giuseppe Maxia
on Sat 23 Jan 2010 03:54 UTC
This paper is an introduction to the new 'performance schema' feature, which will be part of the upcoming MySQL 5.5 release. Covering in details every part of the performance schema would require much, much more than a simple article. The pace of this teaser is voluntarily fast, to have a quick overview of the new landscape, and help users already familiar with MySQL to understand by examples what the performance schema provides.
posted by Sakila The Librarian
on Fri 22 Jan 2010 17:45 UTC
A while back Friendfeed posted a blog post explaining how they changed from storing data in MySQL columns to serializing data and just storing it inside TEXT/BLOB columns. It seems that since then, the technique has gotten more popular with Ruby gems now around to do this for you automatically.
So when is it a good idea to use this technique?
posted by Lenz Grimmer
on Wed 20 Jan 2010 20:52 UTC
Insightful report by Linden Labs (the company behind Second Life) on how they prepared to update their central database from MySQL 4.1 to 5.0.
posted by Sakila The Librarian
on Wed 20 Jan 2010 20:38 UTC
On first glance, it looks like TEXT and VARCHAR can store the same information. However, there are fundamental differences between the way TEXT fields and VARCHAR fields work, which are important to take into consideration.
posted by Sakila The Librarian
on Wed 20 Jan 2010 05:18 UTC
Sample explanation and code to create data cubes in MySQL using a Gearman UDF and a perl worker.
No need to know Perl. This method allows anyone to create crosstabs in SQL, regardless of the programming language used to query the database.
posted by kedar vaijanaupurkar
on Thu 14 Jan 2010 14:08 UTC
Loading csv or delimited data files to MySQL database is a very common task frequently questioned about and almost everytime LOAD DATA INFILE come into rescue.
In this article we will try to understand some of the very common scenarios for loading data into MySQL Database.
posted by Wane cooper
on Mon 04 Jan 2010 12:23 UTC
posted by Giuseppe Maxia
on Thu 24 Dec 2009 19:53 UTC
The release of MySQL 5.5 has brought several enhancements. While most of the coverage went, understandably, to the semi-synchronous replication, the enhancements of partitioning were neglected, and sometimes there was some degree of misunderstanding on their true meaning. With this article, we want to explain these cool enhancements, especially the parts that were not fully understood.
posted by Lenz Grimmer
on Tue 15 Dec 2009 19:25 UTC
Interesting article about some gotchas and things worthwhile knowing about MySQL's built-in replication system.
posted by Lenz Grimmer
on Tue 15 Dec 2009 17:52 UTC
A useful introduction to using SIGNAL with triggers/stored routines.