June 19, 2013

Comment: COUNT(*) for Innodb Tables

Type | Null | Key | Default | Extra | +—————+————–+——+—–+———+—————-+ | id | bigint(20) | NO | PRI | NULL | auto_increment | | id_acct | int(11) | NO | MUL | 0 | | mysql

Post: PROCEDURE ANALYSE

mysql> desc node; +———-+——————+——+—–+———+—————-+ | Field | Type | Null | Key | Default | …MUL | 0 | | | moderate | int(11) | NO | MUL | 0 | | | sticky | int(11) | NO | | 0 | | +———-+——————+——+—–+———+—————-+ 12 rows in