Jump to content

MySQL Server build help

Go to solution Solved by Jarsky,

Should be good. Ideally you want enough ram that the database can be cached in memory to avoid disk swapping.

To avoid having to buy stacks and stacks of ram, thats why it's good to run SSD's as the seek time on them is only a fraction of that of mechanical hard disks.

 

Also if you enable the general_log, again its a good idea to have SSD's for their throughput speed. 

It's typically a good idea to have the general_log enabled with a file output, for troubleshooting purposes. 

 

Hello!

 

I have been working on a project recently involving storing large amounts of data into a MySQL database. Usually, I run my projects on an old computer, but it seems to not be able to handle the database and the code at the same time anymore so I've been thinking about investing in a server focused only on the database side of things.

 

As I am a student, I need to keep to cost down as much as possible, what would be your recommendation? I've looked at several refurbished servers, but I have no idea what to be looking out for.

I'm from the UK, so I'm looking at the UK and EU stores.

 

What parts should I focus on? Which brands are preferred as well as which CPU and how much ram would you recommend?

Thank you for your help!

Link to comment
Share on other sites

Link to post
Share on other sites

How big is your database? You want this in ram if you want it fast. Id go with something like a dell r720 or or 710 as there is cheap ram, and you can get 128gb+ for a few hundred. You probably also want ssds.

Link to comment
Share on other sites

Link to post
Share on other sites

3 hours ago, Electronics Wizardy said:

How big is your database? You want this in ram if you want it fast. Id go with something like a dell r720 or or 710 as there is cheap ram, and you can get 128gb+ for a few hundred. You probably also want ssds.

Right now it's quite small with 132mb at 1,2 mil records. But I'll be adding around a million records a day so I expect it to grow quite large quite fast. Thanks for the suggestion!

 

EDIT: Just found locally someone selling a server, what do you think of these specs?

Model: R710 3.5" 6 Bay 

CPU: X5650 x 2, 2.66GHz, Six core CPU

Memory: 48GB of RAM - PC3 10600R

Power: 2 x Redundant 870W PSU 

Link to comment
Share on other sites

Link to post
Share on other sites

Should be good. Ideally you want enough ram that the database can be cached in memory to avoid disk swapping.

To avoid having to buy stacks and stacks of ram, thats why it's good to run SSD's as the seek time on them is only a fraction of that of mechanical hard disks.

 

Also if you enable the general_log, again its a good idea to have SSD's for their throughput speed. 

It's typically a good idea to have the general_log enabled with a file output, for troubleshooting purposes. 

 

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | EVGA GTX1070 FTW | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO | 12 x 8TB HGST Ultrastar He10 (WD Whitelabel) | 500GB Aorus Gen4 NVMe | 2 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Link to comment
Share on other sites

Link to post
Share on other sites

6 hours ago, Jarsky said:

Should be good. Ideally you want enough ram that the database can be cached in memory to avoid disk swapping.

To avoid having to buy stacks and stacks of ram, thats why it's good to run SSD's as the seek time on them is only a fraction of that of mechanical hard disks.

 

Also if you enable the general_log, again its a good idea to have SSD's for their throughput speed. 

It's typically a good idea to have the general_log enabled with a file output, for troubleshooting purposes. 

 

Thank you for your help!

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×