Forum: Building VoltDB Applications

Post: Partitioning over one host.

Partitioning over one host.
Mar 27, 2013

I know, that partitioning helps to distribute data more efficient over cluster hosts.
Is there any advantage of partitioning when VoltDB is running on one single host?
Mar 27, 2013
at least in the tests that i ran, volt performed better when there were multiple partitions (like 75% of CPUs) on a single host.

obviously for availability and fault tolerance it doesn't make much sense to run on a single host...

t :)
Mar 27, 2013

If you have multiple CPU cores on the machine, having multiple partitions would increase parallelism. If your workload is mostly single-partitioned procedures, increasing the number of sites per host would give you better performance. You can try different numbers for sites per host to see what works best for your application.

Note that having multiple sites per host doesn't provide better availability or durability since all data is on the same host.