Support » Requests and Feedback » I would love for plugins to state if and how many tables they add.

  • 12sp

    (@sp12)


    I actually think it should be required, since database size (how many tables) is a big issue for hosts.

    In the FAQ or doc notes it should what the tables are called since deleted a plugin usually leaves the tables behind.

Viewing 15 replies - 1 through 15 (of 18 total)
  • 12sp

    (@sp12)

    I sorry, I wanted to also say that I’d like it to be post on the wordpress.org site plugin posts.

    Barry Hughes

    (@websitebakery)

    The thing with that is, Plugin X could add 50 new tables and potentially they’d consume less space than your entire posts table.

    Also, what if all of those 50 new tables have a fairly small footprint per row – it may well have less impact than Plugin Y which might regularly dump huge amounts of serialized data into your options table.

    That’s all hypothetical of course, but my point is I just don’t think it’s a great measure of how much space will be consumed.

    michael.mariart

    (@michaelmariart)

    I’ve got to agree. I’ve got a database (not part of a WP site) that has 200 tables that total about 50KB with one main data table that’s currently sitting around 1.2GB. This may be a little extreme but it’s a good example of why number of tables will never be a good indication of possible storage use.

    Number of tables is not the issue, it’s the amount of data that’s added to those tables, and that will always be completely dependant on how the users site uses which ever plugin it is.

    Another thing to remember is that (with most hosts as least) hosting is not exactly expensive these days, so upgrading to a plan with more storage is not the same big deal that it was 5 or 10 years ago. If your site does well enough to store enough data to go beyond your current hosting requirements, you should be happy that it’s that popular!

    12sp

    (@sp12)

    Unfortunately, hosts don’t agree about the tables in a database. When you hit a certain number – regardless of how much data is used they either shut you down or you pay quite a bit more.

    Barry Hughes

    (@websitebakery)

    I’m astonished to hear that, to be honest.

    I can’t resist asking with which hosts (and hosting packages) you have experienced this – and just how many tables did you have running when this happened?

    esmi

    (@esmi)

    Forum Moderator

    Ditto! I’ve never heard of a host imposing a table limit on a database. Overall size, yes but not number of tables.

    michael.mariart

    (@michaelmariart)

    Unfortunately, hosts don’t agree about the tables in a database. When you hit a certain number.

    Who??? Can you tell me exactly where you’ve seen this policy before?

    I have never seen this after working with around 100 different companies over the last decade. DB size, sure, they count that. Number of tables has never been an issue that I’ve seen.

    12sp

    (@sp12)

    I don’t want to get in trouble for posting the host name, but it is one that wordpress has listed in its recommended hosting page.

    It’s a mulitsite. When it hit 100 tables they emailed me. I moved a static site over to wordpress and did a lot of plugin playing at first – they left a crap load of unused tables behind after I deleted the plugins I didn’t care for or need. It was a pain the in arse to find the unused table but I did and brought the count way down.

    esmi

    (@esmi)

    Forum Moderator

    If you feel uncomfortable naming the host on a public forum, please feel free to email me directly via esmi [at] quirm [dot] net and I can look into this for you.

    12sp

    (@sp12)

    I’ll email you. I got “yelled” at for mentioning a host in the forums in the past.

    esmi

    (@esmi)

    Forum Moderator

    Not got the email thus far. If you prefer, there’s a contact form on my site that you can use. The mail will come straight to me and no one else.

    12sp

    (@sp12)

    Hum… will use your contact form. Thanks.

    esmi

    (@esmi)

    Forum Moderator

    Given that we’re actually talking about 995 tables (not 99), then your hosts are correct. A db of this size is going to cause problems. Have a look at http://codex.wordpress.org/HyperDB which would allow you to spread the data across multiple databases.

    Thanks. You can’t spread them across the several databases with the host.I mean you can, but with won’t make a difference. It’s an all inclusive number for all databases for an account. I did ask them about that.

    I’ve no idea what sort of hosting plan we’re discussing here, but if you have to run with so many tables for whatever reason and you can’t find a conventional host who will accommodate that (I’m making an assumption that you’re trying to do this on a shared hosting plan?) then perhaps you should look into rolling your own setup on a virtual/dedicated box.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘I would love for plugins to state if and how many tables they add.’ is closed to new replies.