分类: Mysql/postgreSQL
2007-12-03 16:33:45
zyangj2008-01-15 14:57:56
CREATE TABLE IF NOT EXISTS `videos` ( `vid` bigint(20) NOT NULL AUTO_INCREMENT, `dead` char(1) DEFAULT NULL, `url` varchar(255) NOT NULL, `snapUrl` varchar(200) DEFAULT NULL, `siteUrl` varchar(200) NOT NULL, `playerUrl` varchar(200) DEFAULT NULL, `channelUrl` varchar(200) NOT NULL, `caption` varchar(60) DEFAULT NULL, `keywords` varchar(60) DEFAULT NULL, `author` varchar(60) DEFAULT NULL, `size` varchar(20) DEFAULT NULL, `duration` varchar(20) DEFAULT NULL,
zyangj2008-01-15 13:24:53
下面是你的节点情况,我在配置文件中设置的都是1200M的内存使用.为什么实际使用却这么少.....存了五十万条数据不同,表就满了.... Connected to Management Server at: localhost:1186 Cluster Configuration --------------------- [ndbd(NDB)] 4 node(s) id=3 (not connected, accepting connect from 192.168.8.47) id=4 @192.168.8.46 (Version: 5.1.22, Nodegroup: 0, Master) id=5 @192.168.8.45 (Version: 5.1.22, Nodegroup: 1) id=6 @192.168.8.43 (Version: 5.1.22, Nodegroup: 1) [ndb_mgmd(MGM)] 2 node(s) id=1 @192.168.8.36 (Version: 5.1.22)
zyangj2008-01-15 13:21:33
mysql> create logfile group lg_1 add undofile 'undo_1.dat' initial_size 2048M undo_buffer_size 1024M engine=ndbcluster; ERROR 1525 (HY000): Failed to create LOGFILE GROUP mysql> show warnings; +-------+------+---------------------------------------------------+ | Level | Code | Message | +-------+------+---------------------------------------------------+ | Error | 1296 | Got error 1504 'Out of logbuffer memory' from NDB | | Error | 1525 | Failed