Bug 31885 - В server.cnf нет директивы innodb_file_per_table
Summary: В server.cnf нет директивы innodb_file_per_table
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: mariadb-server (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Alexey Shabalin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-14 11:31 MSK by Стас
Modified: 2016-03-18 18:28 MSK (History)
2 users (show)

See Also:


Attachments
Исправление файла server.cnf в пакете mariadb-10.1.10-alt1 (286 bytes, patch)
2016-03-14 11:31 MSK, Стас
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Стас 2016-03-14 11:31:29 MSK
Created attachment 6672 [details]
Исправление файла server.cnf в пакете mariadb-10.1.10-alt1

По умолчанию журналы всех баз данных формата InnoDB пишутся в один файл ("system log") и его размер со временем становится неприемлимым.
Решение описано в http://stackoverflow.com/questions/3456159/how-to-shrink-purge-ibdata1-file-in-mysql и применено в пакете MySQL-server. В пакетет mariadb-server оно не используется.

Патч прилагаю.
Comment 1 Repository Robot 2016-03-18 18:28:02 MSK
mariadb-10.1.12-alt1 -> sisyphus:

* Fri Mar 18 2016 Alexey Shabalin <shaba@altlinux> 10.1.12-alt1
- 10.1.12
- fix log permitions (ALT #31899)
- build with kerberos auth_gssapi plugin
- add innodb_file_per_table to server.cnf (ALT #31885)