• Hi,

    For a woocommerce site that has different (sub)sites with lots of products per country, would it in performance terms be a good idea to setup multiple single installs in subfolders rather than one multisite install? I suppose having several smaller databases (with large product tables in it) will perform better than having one single multisite database (with even more large product tables in it). Or doesn’t this make a difference because of every subsite on a multisite install having it’s own product database table, even while all in the same database?

    Would love to hear your thoughts on this. Thanks in advance!

Viewing 8 replies - 1 through 8 (of 8 total)
  • @emielm I doubt there will be performance issues, since each site has a unique ID.

    The brightest point of multisite is that you will have all your websites under one admin interface and you can switch over to another site easily.

    However if you have multiple sites, imagine keeping a track of the multiple URLs and admin logins.

    Thread Starter emielm

    (@emielm)

    Hi Patrick,

    I know about the (dis)advantages of multisite and the interface it comes with.
    This question is all about performance: I think lots of product tables in one multisite database will perform a lot slower than storing these tables in multiple seperate install’s databases. Unless every site has it’s own id in a multisite install, all tables are in one database. That db will become very large with multiple woocommerce subsites and as a result get slower in my opinion.

    Wondering if you agree or disagree with me on this.

    Maybe someone ever tested this?

    If you are using the same hardware for the multisite and the multiple single sites, then performance is the same.

    For example if your multisite database server cannot handle the load, splitting it up to multiple single sites and using the same database server is not going to help.

    Thread Starter emielm

    (@emielm)

    Thanks @jkhongusc!

    So it doesn’t matter that the database on a multisite install gets very big? If on the same server it will be as fast as the smaller databases we would have with a multiple seperate installs? I assumed that a bigger database would slow things down, but that assumption is not correct then?

    Thanks for your reply in advance!

    PS: Did you ever test this btw?

    > So it doesn’t matter that the database on a multisite install gets very big?
    Overall size does not slow the database down. Size of a single table, e.g. millions of rows, can slow a database down. If one table is slowing a multisite down, that table will also slow down when split into separate sites.

    Here is an example, say you have 5 site each with 100 tables. In multisite, you would have those exact 500 tables plus a few global tables. The global tables are not typically that large compared to site tables. That is why, in terms of database, there really is no difference if you run one multisite or multiple sites… if they are running on the same hardware.

    Now you may run ito problems when you start talking really large scale sites – terabytes of data, 10k+ tables, tables with millions of rows. Then there are solutions for that too. Really large WP multisite systems will shard their database (splits up the database into multiple instances). There are plugins for that.

    > PS: Did you ever test this btw?
    No. I run multiple large WP multisite instances. It is much easier to manage than single instances. Our database instance has over 5k tables and about 5-10GB of data… medium-ish size =) I cant speak in terms of woocommerce, we dont use it.

    Thread Starter emielm

    (@emielm)

    Thanks a lot for your reply again @jkhongusc!

    I understand it’s the single database tables’ sizes that (mainly) affect database performance, not the total database size. That being said running multiple standalone instances on the same hardware/hosting would not perform better than running a multisite environment on the same hosting.

    About this part:

    Then there are solutions for that too. Really large WP multisite systems will shard their database (splits up the database into multiple instances). There are plugins for that.

    I tried to find such a plugin, without success. Do you have an example?

    Thanks again for your help!

    Thread Starter emielm

    (@emielm)

    Thanks again!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Multisite vs multiple single installs’ is closed to new replies.