Jump to content


Photo

restrict table size


  • Please log in to reply
1 reply to this topic

#1 kharbat

kharbat
  • Members
  • PipPip
  • Member
  • 28 posts

Posted 14 June 2006 - 04:55 PM

hi all...
do you know anyway to restrict table capacy let's say each table's data should not exceed 10 MB..

and is there anyway to retrieve current table capacity??
if there is.. can we retrieve it with php ??

thanks...



#2 fenway

fenway
  • Staff Alumni
  • MySQL Si-Fu / PHP Resident Alien
  • 16,199 posts
  • LocationToronto, ON

Posted 15 June 2006 - 05:10 PM

Not that I know of... I'm sure it's possible to query table size indirectly (row length x # of rows for fixed-width tables). But why would you want to do this? What are you actually trying to accomplish?
Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users