Re: Optimizing InnoDB tables

2014-06-24 Thread Antonio Fernández Pérez
​Hi again, I have enabled innodb_file_per_table (Its value is on). I don't have clear what I should to do ... Thanks in advance. Regards, Antonio. ​

Re: Optimizing InnoDB tables

2014-06-24 Thread shawn l.green
Hello Reindl, On 6/24/2014 3:29 PM, Reindl Harald wrote: Am 24.06.2014 21:07, schrieb shawn l.green: It makes a huge difference if the tables you are trying to optimize have their own tablespace files or if they live inside the common tablespace. http://dev.mysql.com/doc/refman/5.5/en/innod

Re: Optimizing InnoDB tables

2014-06-24 Thread Reindl Harald
Am 24.06.2014 21:07, schrieb shawn l.green: > It makes a huge difference if the tables you are trying to optimize have > their own tablespace files or if they live > inside the common tablespace. > > http://dev.mysql.com/doc/refman/5.5/en/innodb-parameters.html#sysvar_innodb_file_per_table whi

Re: Optimizing InnoDB tables

2014-06-24 Thread shawn l.green
Hello Antonio, On 6/24/2014 7:03 AM, Antonio Fernández Pérez wrote: ​Hi list, I was trying to optimize the InnoDB tables. I have executed the next query to detect what are the fragmented tables. ​​SELECT TABLE_SCHEMA,TABLE_NAME FROM TABLES WHERE TABLE_SCHEMA NOT IN ("information_schema","mysql

Re: error 29, file not found (errcode: 13)

2014-06-24 Thread thufir
I think it's apparmor: thufir@dur:/tmp$ thufir@dur:/tmp$ nl /etc/apparmor.d/usr.sbin.mysqld 1 # vim:syntax=apparmor 2 # Last Modified: Tue Jun 19 17:37:30 2007 3 #include 4 /usr/sbin/mysqld { 5#include 6#include 7#include 8#

Re: Optimizing InnoDB tables

2014-06-24 Thread Antonio Fernández Pérez
​Hi Wagner, I'm running ​ ​MySQL Percona Server 5.5.30 64Bits. No, I don't have tried to execute ALTER TABLE (Analyze with InnoDB tables do that, or not?). Thanks in advance. Regards, Antonio.​

Re: Optimizing InnoDB tables

2014-06-24 Thread Wagner Bianchi
Hi Antonio, como esta? What's the mysql version you're running? Have you tried to ALTER TABLE x ENGINE=InnoDB? -- WB, MySQL Oracle ACE > Em 24/06/2014, às 08:03, Antonio Fernández Pérez > escreveu: > > ​Hi list, > > I was trying to optimize the InnoDB tables. I have executed the next query

Optimizing InnoDB tables

2014-06-24 Thread Antonio Fernández Pérez
​Hi list, I was trying to optimize the InnoDB tables. I have executed the next query to detect what are the fragmented tables. ​​SELECT TABLE_SCHEMA,TABLE_NAME FROM TABLES WHERE TABLE_SCHEMA NOT IN ("information_schema","mysql") AND Data_free > 0​ After that, I have seen that there are 49 fragme

Re: error 29, file not found (errcode: 13)

2014-06-24 Thread Reindl Harald
Am 24.06.2014 07:08, schrieb thufir: > On Mon, 23 Jun 2014 10:59:48 -0400, Scott Helms wrote: > >> I generally drop them into /tmp for easy access and cleanup after the >> data load, but you can put them any place that the mysql daemon process >> has access to read. > > Huh, maybe the daemon do