一个有5年开发经验的人面试受挫经历以及对Tomcat的理解

版权声明:本文为博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/qqqqqq12345678901/article/details/84489034
我们不需要熟练工,我们需要在某领域拥有超过常人的积累认知,和拥有整套完整思维模式和优秀认知事物能力的人…他很诚恳地告诉我,你还年轻,真的应该好好地静下心来,深入地研究一些东西,自己写一些东西,而不是这也用过,那也知道,但是多半都是局限于仅仅见过,会用,却从来没有认真思考过其代码背后蕴含的思想,更少有人研究过源码,进而体会大师们在某些问题的解决上秉承的思想和思维的风格

来自:
http://www.jdon.com/42708
展开阅读全文

渴望与有mysql innodb+memcache开发经验的人交流

12-11

rn在 mysql-5.6.8-rc/plugin/innodb_memcached/innodb_memcache/scripts/innodb_memcached_config.sql的文件中添加几个规则rn1. 主键为int 其他为varchar(失败)rnINSERT INTO innodb_memcache.containers VALUES ("demo", "test", "demo","c1", "c2", "c3", "c4", "c5", "PRIMARY");rnCREATE TABLE test.demo (c1 int,c2 VARCHAR(1024),c3 INT, c4 BIGINT UNSIGNED, c5 INT, primary key(c1))ENGINE = INNODB;rnrn2. 主键为varchar 其他为int(失败)rnINSERT INTO innodb_memcache.containers VALUES ("demo1", "test", "demo1","c1", "c2", "c3", "c4", "c5", "PRIMARY");rnCREATE TABLE test.demo1 (c1 VARCHAR(32),c2 int,c3 INT, c4 BIGINT UNSIGNED, c5 INT, primary key(c1))ENGINE = INNODB;rnrn3. 主键为int 其他为int(失败)rnINSERT INTO innodb_memcache.containers VALUES ("demo2", "test", "demo2","c1", "c2", "c3", "c4", "c5", "PRIMARY");rnCREATE TABLE test.demo2 (c1 int,c2 int,c3 INT, c4 BIGINT UNSIGNED, c5 INT, primary key(c1))ENGINE = INNODB;rnrn4. 主键为varchar 其他为varchar(成功)rnINSERT INTO innodb_memcache.containers VALUES ("demo3", "test", "demo3","c1", "c2", "c3", "c4", "c5", "PRIMARY");rnCREATE TABLE test.demo3 (c1 VARCHAR(32),c2 VARCHAR(1024),c3 INT, c4 BIGINT UNSIGNED, c5 INT, primary key(c1))ENGINE = INNODB;rnrn5. 主键为varchar 其他为varchar date(失败)rnINSERT INTO innodb_memcache.containers VALUES ("demo4", "test", "demo4","c1", "c2,createdate", "c3", "c4", "c5", "PRIMARY");rnCREATE TABLE test.demo4 (c1 VARCHAR(32),c2 VARCHAR(1024),createdate datetime NOT NULL,c3 INT, c4 BIGINT UNSIGNED, c5 INT, primary key(c1))ENGINE = INNODB;rnrn其中只用第四点能够成功的使用memcache进行操作!难道这版本就只能使用varchar char来作为表的字段了吗?渴望交流中... 论坛

没有更多推荐了,返回首页