MySQL Forums
Forum List  »  Partitioning

Re: Really Fixed?
Posted by: marc steikert
Date: June 09, 2006 03:48PM

Hi Mikael,
and what is the Difference to an non Partition Table??? Avg_row_length looks here correct??!!

mysql> drop table if exists top;
Query OK, 0 rows affected (0.00 sec)

mysql> create table top (id int) engine = myisam;
Query OK, 0 rows affected (0.02 sec)

mysql> insert into top values (1),(2),(3),(4),(5),(6),(7),(8),(9);
Query OK, 9 rows affected (0.00 sec)
Datensätze: 9 Duplikate: 0 Warnungen: 0

mysql> show table status like 'top'\G
*************************** 1. row ***************************
Name: top
Engine: MyISAM
Version: 10
Row_format: Fixed
Rows: 9
Avg_row_length: 7
Data_length: 63
Max_data_length: 1970324836974591
Index_length: 1024
Data_free: 0
Auto_increment: NULL
Create_time: 2006-06-09 23:32:44
Update_time: 2006-06-09 23:32:44
Check_time: NULL
Collation: utf8_general_ci
Checksum: NULL
Create_options:
Comment:
1 row in set (0.01 sec)

mysql> delete from top where id > 5;
Query OK, 4 rows affected (0.00 sec)

mysql> show table status like 'top'\G
*************************** 1. row ***************************
Name: top
Engine: MyISAM
Version: 10
Row_format: Fixed
Rows: 5
Avg_row_length: 7
Data_length: 63
Max_data_length: 1970324836974591
Index_length: 1024
Data_free: 28
Auto_increment: NULL
Create_time: 2006-06-09 23:32:44
Update_time: 2006-06-09 23:32:44
Check_time: NULL
Collation: utf8_general_ci
Checksum: NULL
Create_options:
Comment:
1 row in set (0.00 sec)

mysql> optimize table top;
+----------+----------+----------+----------+
| Table | Op | Msg_type | Msg_text |
+----------+----------+----------+----------+
| test.top | optimize | status | OK |
+----------+----------+----------+----------+
1 row in set (0.00 sec)

mysql> show table status like 'top'\G
*************************** 1. row ***************************
Name: top
Engine: MyISAM
Version: 10
Row_format: Fixed
Rows: 5
Avg_row_length: 7
Data_length: 35
Max_data_length: 1970324836974591
Index_length: 1024
Data_free: 0
Auto_increment: NULL
Create_time: 2006-06-09 23:32:44
Update_time: 2006-06-09 23:32:44
Check_time: 2006-06-09 23:32:44
Collation: utf8_general_ci
Checksum: NULL
Create_options:
Comment:
1 row in set (0.00 sec)

Options: ReplyQuote


Subject
Views
Written By
Posted
3105
April 29, 2006 04:54PM
2152
May 03, 2006 12:27AM
2159
May 22, 2006 01:25PM
2173
June 09, 2006 08:29AM
2129
June 09, 2006 12:03PM
Re: Really Fixed?
2173
June 09, 2006 03:48PM
2163
June 10, 2006 01:18AM


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.