Jeff, August 30, 2022 - 8:09 am UTC
Hi Connor,
Thanks for your response.
Regarding "having a large surplus of cores" could be wasteful, since we need to run quite many instances of database, and having tried to test on a Oracle 19c SE2 edition by sending lot of CPU spinning tasks to 2 Oracle instances on a 32 core machine, it looked that each of the Oracle instance does able to use 16 threads, and be able to fully utilize the 32 core machines. Does that mean, when the server need to run multiple instances of database, it would be better to have more cores? And since Oracle restricted itself using 16 threads (per instance), it does not violate the SE2 license, right?
Regards,
Jeff
August 31, 2022 - 5:47 am UTC
That is correct. As long as you dont go over 2 sockets, then you're OK.
Since you're (a) limited to 2 sockets and (b) you want to run multiple databases on this box, then you probably want as many cores as you can
More instances in more cores for SE2
Ramon Caballero, August 30, 2022 - 3:54 pm UTC
Hi,
Just wanted to add my 2 cents.
1) Yes, more cores will help for the simple reason that you expect to have more than one instance. Oracle technical restriction is 16 user threads per instance. You are consolidating in a server, go for more cores.
2) Now that you go for more cores, it is better to have 2 sockets, which is the licensing limit for SE2, so 2 sockets, more cores and more cache per core, there are several models even in the same CPU class and memory limits as well; more speed means more wattage which translates to running costs (electricity). And please don't forget IO, Databases are usually bound by IO, and it is not the same an HD versus and SSD, vs NVMe, versus several IO paths for each and not just one or two devices.
3) This is highly dependent on your workload, some workloads benefit of no HT and higher speed because they are batch and others prefer always to have a free thread like java programs or very interactive processes. I recommend once you have your box to perform both tests, no need to reconfigure Oracle at all.
Hope it helps,
Jeff, August 31, 2022 - 6:14 am UTC
Connor and Ramon, thank you very much for your help. 👍
September 01, 2022 - 3:57 am UTC
glad to help, and dont forget that down the track, there's a scary good deal on to move from SE2 to Autonomous. Basically 1-for-1 on price, but on Autonomous you're basically getting all the enterprise level features