Are there any performance issues with having lots of empty tables in MySQL? My CMS system has loads of optional features, and the build script adds all the necessary tables to the database in case they’re needed in the future. Can anyone think of if and why this might be detrimental to performance? Disk space not really an issue…
Share
I can’t think of any: In mySQL, a table consists of a number of files in the local file system.
Files laying dormant shouldn’t be a problem. (Well, except if you have thousands or tens of thousands of tables: That might cause trouble not so much for the database, but for the file system. But I doubt that is the case here.)