Lol... I wish I would have kept track of how many hours I put into creating the original version (of course, I never intended anyone to use it so it was totally crap code and hardcoded for my site). Just nice to see Slavik and Jake make it something more useable for others... I know if I had to rely on the native importer we probably would never have migrated... being down for days just isn't an option.With permission of the forum owner
Code:### Original version created by Shawn Hogan ###
MORE RAM
You cant just put in a MySQL/MariaDB server with a heap of RAM and expect it to do the job. You really need to tune it. Our db server only has 15GB of RAM, yet we have had 8000 concurrent users - the database cruised through that, instead core failings in the XF code start to come into play at those magnitudes. Throwing more RAM in is a complete waste of money.
You cant just put in a MySQL/MariaDB server with a heap of RAM and expect it to do the job. You really need to tune it. Our db server only has 15GB of RAM, yet we have had 8000 concurrent users - the database cruised through that, instead core failings in the XF code start to come into play at those magnitudes. Throwing more RAM in is a complete waste of money.
I realize that, problem is when you are initially migrating over you don't know how much you need. Since the RAM exists in the hypervisors anyway why not assign it? After a bit, if it's more than I need I'll assign it somewhere else.You cant just put in a MySQL/MariaDB server with a heap of RAM and expect it to do the job. You really need to tune it. Our db server only has 15GB of RAM, yet we have had 8000 concurrent users - the database cruised through that, instead core failings in the XF code start to come into play at those magnitudes. Throwing more RAM in is a complete waste of money.
Two issues - the migration is done and dusted, no point going over that. Second issue is that increasing the current RAM will make zero difference, increase it if you want, but you may as well change the color of the server case while you are at it. Trust me, you've already got oodles of RAM, much more than busier systems than yours. You've got to look at things like query cache size, too small and your db will be going needlessly back to disk and having to recalculate everything which has a hit on CPU and will make your site slower.I realize that, problem is when you are initially migrating over you don't know how much you need. Since the RAM exists in the hypervisors anyway why not assign it? After a bit, if it's more than I need I'll assign it somewhere else.
The import process went a LOT faster after we increased the RAM. These are virtual machines so you aren't really taking any RAM in or out your just telling it how much the server can use
We use essential cookies to make this site work, and optional cookies to enhance your experience.