.ibd files growing when running --apply-log
When I try to use innobackupex to restore a backup, my data files grow by a large factor. This growth happens when I use innobackupex --apply-log. I took a look at the xtrabackup source and found that in:
xtrabackup_
there is a call to :
xb_normalize_
In that function, there is this snippet starting at line 4000:
for (i = 0; i < srv_n_data_files; i++) {
srv_data_
* ((1024 * 1024) / UNIV_PAGE_SIZE);
}
This looks to be setting file sizes to the current number of blocks * 64 (assuming UNIV_PAGE_SIZE = 16384). I've seen tables that were ~16MB grow to over 500MB when restored.
Am I doing something wrong? Or is this a bug?
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Ian Altgilbers for more information if necessary.