Hi all,
I need to set up a new database server for my small business to host an industry analysis/ market research database. Below is what I am currently planning.
Database specs:
- MySQL 8.4
- Database size of ~1TB, in ~150 tables
- Longest table has ~10B rows and the average table length is 100M rows
- Very few writes, from a single user (besides initial load, the updates will be inserted by different crawlers on an hourly or daily basis)
- Very few but complex queries (many JOIN and WHERE statements) from a single user (for daily reporting and ad-hoc data analysis as needed); plus backup of course
Proposed new hardware:
- CPU: AMD Ryzen 9 7900X (based on the above use-case, I think single core performance is key)
- RAM: 4x 32GB DDR5 ECC UDIMM 2Rx8 4800 (probably Crucial)
- Motherboard: AsRock Rack B650D4U-2L2T/BCM
- 10Gbs and IMPI onboard
- Supports x4x4x4x4 bifurcation
- Alternative: Gigabyte MC13-LE1
- Storage:
- 4x Samsung PM9A3 1920GB 2.5" in a ZFS RAID 10 (pool with 2 vdevs of 2 mirrored drives each, 16KiB pagesize)
- 1x Intel Optane P4800X as ZFS SLOG vdev
- Delock 90169 (PCIe x16 to 4x U.2 card)
- Boot drive: 1TB consumer M.2 NVME
- OS:
- Debian 12
- Dedicated bare-metal server
FYI, the current hardware:
- Intel Xeon E3-1230 v6,
- 32GB of non-ECC RAM
- 2TB consumer NVME SSD
My first question: Since I’m neither a DBA nor a real systems admin, I am curious about your thoughts on my current plan. Do you see any issues or do you have any better ideas? Happy to learn!
My second question: Should I instead build something around a used EPYC, e.g., 7F52? Would only boost to 3.9GHz instead of 5.6GHz but have 4x the L3 cache, and more RAM. But I am not sure what will deliver more performance for my use case…
Thank you!