| 1 |
INSERT INTO cache_policies VALUES('cache_policy', 'innodb_only', |
| 2 |
'innodb_only', 'innodb_only', 'innodb_only'); |
| 3 |
INSERT INTO config_options VALUES('separator', '|'); |
| 4 |
INSERT INTO containers VALUES ('desc_t1', 'test', 't1', |
| 5 |
'c1', 'c2', '0', '0', '0', 'PRIMARY'); |
| 6 |
USE test; |
| 7 |
CREATE TABLE t1(c1 VARCHAR(32), |
| 8 |
c2 VARCHAR(1024), |
| 9 |
primary key(c1)) |
| 10 |
ENGINE = INNODB; |
| 11 |
INSTALL PLUGIN daemon_memcached SONAME 'libmemcached.so'; |
| 12 |
Warnings: |
| 13 |
Warning 1681 'InnoDB Memcached Plugin' is deprecated and will be removed in a future release. |
| 14 |
1. Insert Small data |
| 15 |
2. Insert Large data. Will be stored in external pages |
| 16 |
3. Move off-page to in-page |
| 17 |
4. Move in-page to off-page |
| 18 |
5. Insert 1000 rows and delete |
| 19 |
SET GLOBAL innodb_fast_shutdown=0; |
| 20 |
# restart |
| 21 |
1. Insert Small data |
| 22 |
2. Insert Large data. Will be stored in external pages |
| 23 |
3. Move off-page to in-page |
| 24 |
4. Move in-page to off-page |
| 25 |
5. Insert 1000 rows and delete |
| 26 |
# Kill and restart |
| 27 |
SET GLOBAL innodb_fast_shutdown=0; |
| 28 |
# restart |
| 29 |
UNINSTALL PLUGIN daemon_memcached; |
| 30 |
DROP TABLE t1; |
| 31 |
DROP DATABASE innodb_memcache; |