Does anyone know why MYSQLDUMP will perform a partial backup of the database at startup with the following statement:
"C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqldump" databaseSchema -u root --password=rootPassword > c:\backups\daily\mySchema.dump
Sometimes a full backup is performed, at other times the backup stops after only a part of the database is turned on. This proportion is variable.
The database has several thousand tables with a total value of about 11 GB. But most of these tables are quite small, with about 1,500 entries in total, many of which have only 150 to 200 entries. The number of columns in these tables may be in the hundreds, but because of the stored frequency data.
But I was told that the number of tables in the schema in MySQL is not a problem. There are also no performance issues during normal operation.
And the alternative of using a single table is not very viable, because all of these tables have different column name signatures.
I must add that the database is used during backup.
Good after starting the backup with a set of commands:
"C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqldump" mySchema -u root --password=xxxxxxx -v --debug-check --log-error=c:\backups\daily\mySchema_error.log > c:\backups\daily\mySchema.dump
I get this:
mysqldump: Couldn't execute 'SHOW TRIGGERS LIKE '\_dm\_10730\_856956\_30072013\_1375194514706\_keyword\_frequencies'': Error on delete of 'C:\Windows\TEMP\#sql67c_10_8c5.MYI' (Errcode: 13) (6)
I think this is a permissions issue.
I doubt that one table in my schema is in the 2GB range.
I am using MySQL Server 5.5 on a 64 bit Windows 7 server with 8 GB of memory.
Any ideas?
I know that changing the number of files that MySQL can open, the open_files_limit parameter, can cure this question.
Another possibility is the intervention of antivirus products, as described here:
How To Fix MySQL Errcode Interrupt Errors 13 Errors in Windows