Code: Select all
SET AUTOCOMMIT = 0;
SET FOREIGN_KEY_CHECKS=0;
Code: Select all
SET FOREIGN_KEY_CHECKS = 1;
COMMIT;
SET AUTOCOMMIT = 1;
Bei 1 MiB würde ich die Datei dann ungepackt hochladen.
Code: Select all
SET AUTOCOMMIT = 0;
SET FOREIGN_KEY_CHECKS=0;
Code: Select all
SET FOREIGN_KEY_CHECKS = 1;
COMMIT;
SET AUTOCOMMIT = 1;
Muss das Thema nochmal anschiebenhase wrote: ↑Wed 24. Oct 2018, 09:30 Hallo,
danke für die Antworten soweit.
Aktuell sind u.a. folgende Werte eingestellt:
memory_limit 128M
pm.max_children = 10
pm.max_requests = 0
Ist es ratsam die Werte für eine bessere Performence bzw. mehr Leistung zu ändern/erhöhen?
Hat vielleicht jemand dafür Erfahrungswerte?
Dann werde ich die Werte auch so belassen. Dachte nur das man durch eine Änderung dieser Werte etwas mehr Leistung herrausholen könnte.
Ohne akkute Notwendigkeit würde ich auch dies lassen.
Du kannst Dir das Perl Skript mysqltuner installieren (per apt-get).
Code: Select all
Stopped at the line 644.
At this place the current query includes more than 300 dump lines. That can happen if your dump file was created by some tool which doesn't place a semicolon followed by a linebreak at the end of each query, or if your dump contains extended inserts or very long procedure definitions. Please read the BigDump usage notes for more infos. Ask for our support services in order to handle dump files containing extended inserts.
Ich kenne das mit ...
Code: Select all
mysql -uDBUSER -pDBPASSWD DBNAME < dump.sql
Code: Select all
gunzip < DB-timestamp.sql.gz | mysql -uroot -pXyZ DB_NAME