blackcell Posted May 14, 2008 Share Posted May 14, 2008 I am wanting to find the size of a database. I have looked on PHP manual and can't seem to find what I need? What am I overlooking? Link to comment https://forums.phpfreaks.com/topic/105638-php-mysql-functions-for-db-size/ Share on other sites More sharing options...
discomatt Posted May 14, 2008 Share Posted May 14, 2008 File size or size in rows? Link to comment https://forums.phpfreaks.com/topic/105638-php-mysql-functions-for-db-size/#findComment-541225 Share on other sites More sharing options...
blackcell Posted May 14, 2008 Author Share Posted May 14, 2008 How much disk space the database is taking. So file size i suppose. Link to comment https://forums.phpfreaks.com/topic/105638-php-mysql-functions-for-db-size/#findComment-541227 Share on other sites More sharing options...
moselkady Posted May 14, 2008 Share Posted May 14, 2008 Maybe you can run a query with "SHOW TABLE STATUS" and add the fields Data_length and Index_length from each row. Link to comment https://forums.phpfreaks.com/topic/105638-php-mysql-functions-for-db-size/#findComment-541241 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.