Add option to specify default row format

Bug #1445360 reported by monty solomon
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL Server
Unknown
Unknown
Percona Server moved to https://jira.percona.com/projects/PS
Status tracked in 5.7
5.6
Triaged
Wishlist
Unassigned
5.7
Triaged
Wishlist
Unassigned

Bug Description

I would like to configure the server to use a default ROW FORMAT for newly created tables.

For example,

ROW_FORMAT=DYNAMIC;

or

ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=8;

Please add the capability to specify a default row format.

Thanks.

Revision history for this message
Valerii Kravchuk (valerii-kravchuk) wrote :

Makes sense for the Wishlist

tags: added: upstream
tags: added: innodb
Revision history for this message
monty solomon (monty+launchpad) wrote :

DYNAMIC row format is now the default for MySQL 5.7.9 and there is a new configuration option, innodb_default_row_format,

https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-9.html

https://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html#sysvar_innodb_default_row_format

Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :

Is 5.7.9 innodb_default_row_format good enough for your purposes or do you need innodb_default_key_block_size too?

Revision history for this message
monty solomon (monty+launchpad) wrote :

We use compressed row format and would prefer to be able to specify that as the default. I suspect that MySQL does not permit compressed to be specified as the default because compressed row format is not supported for the InnoDB tables in the mysql database.

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-2465

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.