Wednesday, May 22nd 2013, 12:08am UTC+2

You are not logged in.

  • Login
  • Register

Table is marked as crashed and should be repaired

Flogy23

Beginner

Date of registration: Sep 16th 2008

Posts: 21

1

Monday, February 27th 2012, 9:01pm

Table is marked as crashed and should be repaired

Hallo Zusammen,
habe heute mittag einen Ausfall auf unserer Homepage gehabt. Der VServer stand komplett und musste mit den Admin Panel neu gestartet werden.
Habe daraufhin die SQL Logfiles angeschaut und folgendes gesehen:


(This term was hidden for guests. To be able to read it you should register!)

Bin dann her gegangen und habe diese mittels PhpMyAdmin repariert.
Soweit so gut... bin dann aber noch her gegangen und habe mir ein nettes kleines Tool runter geladen, das sich Mysqltuner schimpft und habe mir dann den Output angeschaut und siehe da, ich habe immer noch Fragmentierte Tabellen.
Ist das soweit schlimm ? Oder ist das ganz normal, dass diese fragmentiert sind ?
Hier der Output vom mysqltuner:


(This term was hidden for guests. To be able to read it you should register!)
Unsere Homepage: www.joantik.eu
  • Go to the top of the page

HHGAG

Sage

Date of registration: Jun 14th 2008

Posts: 15,315

Thanks: 37

Occupation: CEO

2

Monday, February 27th 2012, 9:34pm

Die Tabellen werden durch Schreib/Löschzugriffe fragmentiert, diese sollte immer wieder mal optimiert werden.
H.H.G. A.Ş.
Hasan H. Gürsoy (CEO)
--------------------------------------------------------------------------------------------------------------------
Shopsoftware - Shopsystem - Webshop - Onlineshop - Sanal mağaza - Sanal market - eTicaret
  • Go to the top of the page

Flogy23

Beginner

Date of registration: Sep 16th 2008

Posts: 21

3

Monday, February 27th 2012, 11:45pm

Hallo HHG,
ja das ist schon klar, nur verändert sich halt der Wert auch nicht wenn ich diese optimiere. Das Mysqltuner bringt immer noch die selbe Anzahl an fragmentierten Tabellen.
Gruß Flo
Unsere Homepage: www.joantik.eu
  • Go to the top of the page

HHGAG

Sage

Date of registration: Jun 14th 2008

Posts: 15,315

Thanks: 37

Occupation: CEO

4

Tuesday, February 28th 2012, 8:56am

H.H.G. A.Ş.
Hasan H. Gürsoy (CEO)
--------------------------------------------------------------------------------------------------------------------
Shopsoftware - Shopsystem - Webshop - Onlineshop - Sanal mağaza - Sanal market - eTicaret
  • Go to the top of the page

Flogy23

Beginner

Date of registration: Sep 16th 2008

Posts: 21

5

Wednesday, February 29th 2012, 7:03pm

Hallo zurück,
habe noch ein wenig mysql Tuning betrieben. Bisher läuft der Dienst ganz stabil.
Allerdings ist mir aufgefallen, das ungewöhnlich viele Joins ohne Index durchgeführt werden.
Hier die Statistik nach ca. 1 1/2 Tagen:

[!!] Joins performed without indexes: 9329

Als verbesserungsvorschlag bietet mir der mysqltuner an, die join_buffer_size zu erhöhen .
-> join_buffer_size (> 10.0M, or always use indexes with joins)

woher kommen diese vielen nicht indexierten Joins ? Kann man das irgendwie beheben ?
gruß Flo
Unsere Homepage: www.joantik.eu
  • Go to the top of the page

HHGAG

Sage

Date of registration: Jun 14th 2008

Posts: 15,315

Thanks: 37

Occupation: CEO

6

Thursday, March 1st 2012, 8:49am

Die meisten Joins laufen auf die PRIMARY KEYS, das sind aber auch Indize
H.H.G. A.Ş.
Hasan H. Gürsoy (CEO)
--------------------------------------------------------------------------------------------------------------------
Shopsoftware - Shopsystem - Webshop - Onlineshop - Sanal mağaza - Sanal market - eTicaret
  • Go to the top of the page

Flogy23

Beginner

Date of registration: Sep 16th 2008

Posts: 21

7

Thursday, March 1st 2012, 3:02pm

Hmm dann wird dieses Tool wohl sehr kritisch bewerten.
Gibts von deiner Seite aus eventuell noch Tipps zur Mysql Config ?
Gruß Flo
Unsere Homepage: www.joantik.eu
  • Go to the top of the page

HHGAG

Sage

Date of registration: Jun 14th 2008

Posts: 15,315

Thanks: 37

Occupation: CEO

8

Monday, March 5th 2012, 10:28am

Wurde bereits hier besprochen: Geschwindigkeit - optimale MySQL-Einstellungen
H.H.G. A.Ş.
Hasan H. Gürsoy (CEO)
--------------------------------------------------------------------------------------------------------------------
Shopsoftware - Shopsystem - Webshop - Onlineshop - Sanal mağaza - Sanal market - eTicaret
  • Go to the top of the page