Create the table of users_summary:
CREATE OR REPLACE TABLE users_summary
(
id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
user_id INT NOT NULL COMMENT 'the id in the table of users',
created_timestamp TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'the timestamp created this record',
download BIGINT UNSIGNED COMMENT 'the download in the table of users',
upload BIGINT UNSIGNED COMMENT 'the upload in the table of users',
INDEX user_id__index (user_id) COMMENT 'the index of user_id',