æè¿ RDBMS ã®ããªã¬ã¼ãè²ã æ¸ãã¦ããã®ã§ãããç¥ããªã人ã«ããªã¬ã¼ãä½ããã¡ãã¡èª¬æããã®ã«ç°¡åãªä¾ã¯ãªãããªãã¨ããã®ã¨ãMySQL ã®å¦çé度ã¯ããªã¬ã¼ã«ãã£ã¦ã©ã®ç¨åº¦å¤åããããã¨ãããã¨ã確èªããããã«ã以ä¸ã®ãããªå®é¨ãè¡ã£ã¦ã¿ã¾ããã InnoDB ã¯ãã°ãã°ããSELECT COUNT(*) ãé ãï¼ãã¨æ¹å¤ããã¾ããã§ã¯ãããªã¬ã¼ã使ã£ã¦è¡æ°ãå¥ã®ãã¼ãã«ã«ãã£ãã·ã¥ããã°ããã®ã§ã¯ãªãã§ããããï¼ã以ä¸ã®ããã«ã極ãã¦å°ããªãã¼ãã« t1 ãä½ãããã®è¡æ°ã t1_cnt ã«ãã£ãã·ã¥ãã¦ã¿ããã¨ã«ãã¾ãã mysql> create table t1 ( ->  id int unsigned not null primary key auto_increment, ->  v int unsigned not null -> ) engine=innodb
{{#tags}}- {{label}}
{{/tags}}