2

I am using mysql, I have liferay in that I have a table called holidays (it contains holiday dates of a particular month) and I want to find the size of each record in the holiday table.

For example: 1aug2015-0.3MB..till 31aug2015.

alecxe
  • 462,703
  • 120
  • 1,088
  • 1,195
Arya
  • 85
  • 3
  • 12

1 Answers1

1

I am not sure if there is a direct method to get a record/row size. But I think you can get the table size and divide it by the number of rows to get the average size of a record.

You may check this answer of How to get the sizes of the tables of a MySQL database?.

Community
  • 1
  • 1
Lamya Elmorsy
  • 341
  • 4
  • 13
  • thank you for the reply, I did the same thing, but there are some empty records in the table, so my teacher said that method is not correct for all records. – Arya Jun 05 '15 at 10:21