⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ndb_cache.result

📁 这是linux下运行的mysql软件包,可用于linux 下安装 php + mysql + apach 的网络配置
💻 RESULT
字号:
drop table if exists t1;set GLOBAL query_cache_type=on;set GLOBAL query_cache_size=1355776;reset query cache;flush status;CREATE TABLE t1 ( pk int not null primary key,a int, b int not null, c varchar(20)) ENGINE=ndbcluster;insert into t1 value (1, 2, 3, 'First row');select * from t1;pk	a	b	c1	2	3	First rowshow status like "Qcache_queries_in_cache";Variable_name	ValueQcache_queries_in_cache	1show status like "Qcache_inserts";Variable_name	ValueQcache_inserts	1show status like "Qcache_hits";Variable_name	ValueQcache_hits	0select * from t1;pk	a	b	c1	2	3	First rowshow status like "Qcache_hits";Variable_name	ValueQcache_hits	1update t1 set a=3 where pk=1;select * from t1;pk	a	b	c1	3	3	First rowshow status like "Qcache_inserts";Variable_name	ValueQcache_inserts	2show status like "Qcache_hits";Variable_name	ValueQcache_hits	1insert into t1 value (2, 7, 8, 'Second row');insert into t1 value (4, 5, 6, 'Fourth row');select * from t1 order by pk;pk	a	b	c1	3	3	First row2	7	8	Second row4	5	6	Fourth rowshow status like "Qcache_inserts";Variable_name	ValueQcache_inserts	3show status like "Qcache_hits";Variable_name	ValueQcache_hits	1select * from t1 order by pk;pk	a	b	c1	3	3	First row2	7	8	Second row4	5	6	Fourth rowshow status like "Qcache_hits";Variable_name	ValueQcache_hits	2select * from t1 where b=3;pk	a	b	c1	3	3	First rowshow status like "Qcache_queries_in_cache";Variable_name	ValueQcache_queries_in_cache	2show status like "Qcache_hits";Variable_name	ValueQcache_hits	2select * from t1 where b=3;pk	a	b	c1	3	3	First rowshow status like "Qcache_hits";Variable_name	ValueQcache_hits	3delete from t1 where c='Fourth row';show status like "Qcache_queries_in_cache";Variable_name	ValueQcache_queries_in_cache	0select * from t1 where b=3;pk	a	b	c1	3	3	First rowshow status like "Qcache_hits";Variable_name	ValueQcache_hits	3use test;select * from t1 order by pk;pk	a	b	c1	3	3	First row2	7	8	Second rowselect * from t1 where b=3;pk	a	b	c1	3	3	First rowshow status like "Qcache_hits";Variable_name	ValueQcache_hits	4update t1 set a=4 where b=3;use test;show status like "Qcache_queries_in_cache";Variable_name	ValueQcache_queries_in_cache	0select * from t1 order by pk desc;pk	a	b	c2	7	8	Second row1	4	3	First rowselect * from t1 order by pk desc;pk	a	b	c2	7	8	Second row1	4	3	First rowshow status like "Qcache_inserts";Variable_name	ValueQcache_inserts	7show status like "Qcache_hits";Variable_name	ValueQcache_hits	5select * from t1 order by pk desc;pk	a	b	c2	7	8	Second row1	4	3	First rowselect * from t1 order by pk desc;pk	a	b	c2	7	8	Second row1	4	3	First rowshow status like "Qcache_queries_in_cache";Variable_name	ValueQcache_queries_in_cache	1show status like "Qcache_inserts";Variable_name	ValueQcache_inserts	7show status like "Qcache_hits";Variable_name	ValueQcache_hits	7begin;update t1 set a=5 where pk=1;show status like "Qcache_queries_in_cache";Variable_name	ValueQcache_queries_in_cache	0show status like "Qcache_inserts";Variable_name	ValueQcache_inserts	7show status like "Qcache_hits";Variable_name	ValueQcache_hits	7select * from t1 order by pk desc;pk	a	b	c2	7	8	Second row1	4	3	First rowshow status like "Qcache_queries_in_cache";Variable_name	ValueQcache_queries_in_cache	1show status like "Qcache_inserts";Variable_name	ValueQcache_inserts	8show status like "Qcache_hits";Variable_name	ValueQcache_hits	7commit;show status like "Qcache_queries_in_cache";Variable_name	ValueQcache_queries_in_cache	1show status like "Qcache_inserts";Variable_name	ValueQcache_inserts	8show status like "Qcache_hits";Variable_name	ValueQcache_hits	7select * from t1 order by pk desc;pk	a	b	c2	7	8	Second row1	5	3	First rowshow status like "Qcache_inserts";Variable_name	ValueQcache_inserts	9show status like "Qcache_hits";Variable_name	ValueQcache_hits	7select * from t1 order by pk desc;pk	a	b	c2	7	8	Second row1	5	3	First rowshow status like "Qcache_queries_in_cache";Variable_name	ValueQcache_queries_in_cache	1show status like "Qcache_inserts";Variable_name	ValueQcache_inserts	9show status like "Qcache_hits";Variable_name	ValueQcache_hits	8drop table t1;show status like "Qcache_queries_in_cache";Variable_name	ValueQcache_queries_in_cache	0SET GLOBAL query_cache_size=0;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -