Make innodb_file_per_table session variable
Bug #712591 reported by
Peter Zaitsev
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Innodb has design limitation which makes DROP TABLE very slow with large buffer pool:
http://
This is serious problem for applications which use many transient tables (create/drop a lot of Innodb Tables)
As a workaround one can create tables in main tablespace which is a lot faster.
Having innodb_
in main Innodb tablespace only for duration of their operation.
tags: | added: fr |
Changed in percona-server: | |
status: | Confirmed → Triaged |
Changed in percona-server: | |
status: | Opinion → New |
Changed in percona-server: | |
status: | New → Triaged |
assignee: | Stewart Smith (stewart) → nobody |
To post a comment you must log in.
It looks more like hack for me.
Proper solution is
to support TABLESPACE option in CREATE TABLE like in NDB.
i.e:
CREATE TABLE t1 (
-> c1 INT STORAGE DISK,
-> c2 INT STORAGE MEMORY
-> ) TABLESPACE 'system'
or TABLESPACE 'local'
'system' is to put file in ibdata1,
'local' to use separate file.