| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Jennifer Goodie | Date: | January 14 2003 11:44pm |
| Subject: | RE: Avg_row_length | ||
| View as plain text | |||
I am not a guru, but I figured I'd try to answer anyway. It needs an extra bit because it has NULLs. I think it uses the bit to mark if the field is NULL or not, but I've been known to be wrong. http://www.mysql.com/doc/en/Data_size.html --------- Dear gurus, here's my final stupid question for today. Why is the average row length 11 when it should be 10? mysql> DESCRIBE myrowisam; +-------+----------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +-------+----------+------+-----+---------+-------+ | col | char(10) | YES | | NULL | | +-------+----------+------+-----+---------+-------+ mysql> SHOW TABLE STATUS LIKE 'myrow%'; +-------------+--------+------------+------+----------------+ | Name | Type | Row_format | Rows | Avg_row_length | +-------------+--------+------------+------+----------------+ | myrowisam | MyISAM | Fixed | 68 | 11 | <--- TIA,
| Thread | ||
|---|---|---|
| • Avg_row_length | Stefan Hinz | 14 Jan |
| • RE: Avg_row_length | Jennifer Goodie | 15 Jan |
| • Re: Avg_row_length | Steve Edberg | 15 Jan |
| • Re: Avg_row_length | Dan Nelson | 15 Jan |
| • Re: Avg_row_length | Stefan Hinz | 15 Jan |
| • Re: Avg_row_length | Steve Edberg | 15 Jan |
| • Re: Avg_row_length | Keith C. Ivey | 15 Jan |
| • Re: Avg_row_length | Stefan Hinz | 16 Jan |
| • Re: Avg_row_length | Keith C. Ivey | 16 Jan |
| • Re: Avg_row_length | Stefan Hinz | 16 Jan |
| • Re: Avg_row_length | Sergei Golubchik | 16 Jan |
| • Re: Avg_row_length | Zak Greant | 16 Jan |
| • Re: Avg_row_length | gerald_clark | 16 Jan |
| • Re: Avg_row_length | Stefan Hinz | 16 Jan |
| • Re: Avg_row_length | Sergei Golubchik | 17 Jan |
| • Re: Avg_row_length | Roger Baklund | 17 Jan |
| • Re: Avg_row_length | gerald_clark | 17 Jan |
| • Re: Avg_row_length | Stefan Hinz | 17 Jan |
| • Re: Avg_row_length | Stefan Hinz | 15 Jan |
| • Re: Avg_row_length | Stefan Hinz | 15 Jan |
