MySQL Geschwindigkeitsprobleme

Status
Not open for further replies.

LLS

New Member
Aug 2, 2016
12
0
1
39
Hallo Zusammen,

ich habe gerade auf einem neuen Hetzner Server (EX41) Proxmox 4 frisch installiert.
Irgendwie ist das Anlegen der Datenbank Struktur (InnoDb mit ForeignKeys) extrem langsam.
Die SQL Datei (40kb) enthält nur die Datenbank Struktur keine Daten.

Anbei ein paar Vergleichswerte (ohne weitere Last), jeweils frisches Debian Jessie ohne Modifikationen an der MySQL Config. (Debian original)

Als Proxmox LXC Container:
root@lxc1:/root# time mysql test -u root -p < initialdb.sql
real 0m31.521s
user 0m0.012s
sys 0m0.004s

Als Proxmox VM :
root@vm1:~# time mysql -u root -p test < initialdb.sql
real 0m12.456s
user 0m0.004s
sys 0m0.000s

Auf meinem Desktop (Windows, ältere Hardware, VirtualBox)
root@jessie:/root# time mysql -u root -p test < initialdb.sql
real 0m2.195s
user 0m0.000s
sys 0m0.004s

An was kann dieser extreme Geschwindigkeitsunterschied liegen?
Ich habe die Tests mehrfach wiederholt, immer mit ähnlichen Werten.

Bin über alle Tipps und Ideen dankbar!

Schöne Grüße

LLS
 
hmm solche Probleme hatte ich noch nicht. Gerade als LXC Container sollte es ja richtig Gas geben. Aber da ich selbst erst am Anfang mit LXC stehe und nur ein paar VMs so laufen hab, kann ich noch nicht beurteilen. Event. hilft dir das weiter: http://mysqltuner.com/ Nettes tool, das checkt mal die ganze Sache durch.
 
Status
Not open for further replies.

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!