> 2) application peculiarities which may have not been accounted for. For
> example it may explicitly assign user IDs or delete them in bunches. One
> more question, what does
>
> SELECT count(*) FROM users
>
> say?
>
> Also, could you post (or send) output of
>
> SHOW CREATE TABLE users\G
Yep, please find the output below
mysql> SELECT count(*) FROM users;
+----------+
| count(*) |
+----------+
| 563019 |
+----------+
1 row in set (0.07 sec)
mysql> SHOW CREATE TABLE users\G
*************************** 1. row ***************************
Table: users
Create Table: CREATE TABLE `users` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`email` varchar(127) NOT NULL,
`username` varchar(127) NOT NULL DEFAULT '',
`nickname` varchar(50) NOT NULL,
`password` char(50) NOT NULL,
`logins` int(10) unsigned NOT NULL DEFAULT '0',
`last_login` int(10) unsigned DEFAULT NULL,
`reset_token` varchar(32) NOT NULL,
`email_confirm` tinyint(1) NOT NULL DEFAULT '0',
`name` varchar(255) NOT NULL,
`lastname` varchar(50) DEFAULT NULL,
`sex` int(1) NOT NULL,
`telephone` varchar(20) NOT NULL,
`avatar` varchar(255) NOT NULL,
`birthday` int(11) NOT NULL,
`activity` tinyint(1) NOT NULL DEFAULT '0',
`city_id` int(5) NOT NULL,
`link` varchar(255) DEFAULT NULL,
`http_referer` varchar(255) NOT NULL,
`invite_user_id` int(11) DEFAULT NULL,
`created` int(11) NOT NULL,
`modified` int(11) NOT NULL,
`carma` int(11) NOT NULL,
`friday_email` tinyint(1) NOT NULL DEFAULT '1',
`gift_no_activate` tinyint(1) NOT NULL DEFAULT '0',
`last_calc` int(11) NOT NULL,
`search_index` varchar(255) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `uniq_username` (`username`),
UNIQUE KEY `uniq_email` (`email`),
KEY `invite_user_id` (`invite_user_id`),
KEY `search_index` (`search_index`)
) ENGINE=InnoDB AUTO_INCREMENT=802067803 DEFAULT CHARSET=utf8
1 row in set (0.00 sec)