Portable table space part III or We can do it (with partition)
First of all, I have to say that as usual I did the three investigation, because I had fun.
MySQL is still fun for me, and also if I am not touching the magic topic of the moment like SSD,
replication and so on, I enjoy what I was doing, and I see how I can save my customer data, with this.
Second, I thanks again the people who helps me in understanding better MySQL, in this case Mattias Jonsson, who points me in right direction.
The Solution
The solution is a little bit cumbersome, but it works.
I have assume that:
- a customer have a data-set which contains a partitioned table
- we can have short period of read only data
To use the DISCARD tablespace on a partition the process is:
- - LOCK the table with partition and the final table where I will put …