MySQL Forums
Forum List  »  Performance

Re: Tuning 400gb db
Posted by: Brian Z
Date: June 09, 2005 12:51PM

Here is an EXPLAIN of one of the tables. The structure of 826 tables (The majority of the tables) on the server is as follows:

mysql> explain 40_991;
+-----------------------+------------------+------+-----+------------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------------------+------------------+------+-----+------------+----------------+
| id | int(11) | | PRI | NULL | auto_increment |
| host | varchar(30) | | | | |
| msgid | varchar(25) | | | | |
| date | date | | | 0000-00-00 | |
| time | time | | | 00:00:00 | |
| cid | int(11) | | MUL | 0 | |
| uid | int(11) | | | 0 | |
| mid | int(11) | | | 0 | |
| pid | int(11) | | | 0 | |
| did | int(11) | | | 0 | |
| dsid | int(11) | | | 0 | |
| resend_ctr | int(11) | | | 0 | |
| size | int(2) unsigned | | | 0 | |
| user | varchar(25) | YES | MUL | NULL | |
| domain | varchar(25) | YES | | NULL | |
| relay | varchar(25) | YES | | NULL | |
| delay | int(20) unsigned | YES | | NULL | |
| status | varchar(15) | YES | | NULL | |
| details | text | YES | | NULL | |
| abuse | tinyint(4) | YES | | NULL | |
| abuse_date | date | YES | | NULL | |
| status_id | int(11) | YES | | NULL | |
| start_processing_date | datetime | YES | | NULL | |
| update_date | datetime | YES | | NULL | |
| processing_ctr | int(11) | YES | MUL | NULL | |
+-----------------------+------------------+------+-----+------------+----------------+
25 rows in set (0.23 sec)

Options: ReplyQuote


Subject
Views
Written By
Posted
2895
June 09, 2005 12:39PM
Re: Tuning 400gb db
1546
June 09, 2005 12:51PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.