PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Was ist innoDB und wozu braucht man es?



socrates
29.09.03, 14:58
Hallo Leute,
ich habe mir grade mal wieder meine logdateien angesehen und unter MySQL Server Log folgendes gefunden:

030928 14:38:43 mysqld started
Cannot initialize InnoDB as 'innodb_data_file_path' is not set.
If you do not want to use transactional InnoDB tables, add a line
skip-innodb
to the [mysqld] section of init parameters in your my.cnf
or my.ini. If you want to use InnoDB tables, add to the [mysqld]
section, for example,
innodb_data_file_path = ibdata1:10M:autoextend
But to get good performance you should adjust for your hardware
the InnoDB startup options listed in section 2 at
http://www.innodb.com/ibman.html
/usr/libexec/mysqld: ready for connections

wozu brauche ich nun innodb (habe ein forum und einen shop auf diesem server laufen).
wenn ich es brauche, wie rihctet man das ein?
thx soc.

Thomas Engelke
29.09.03, 15:27
InnoDB ist, wie das mySQL-Helpfile eindeutigst Auskunft gibt, eine transaktionsorientierte Tabellenart.

AD!

peterschen
29.09.03, 15:43
Hallo socrates,

wie dir die Fehlermeldung schon berichtet hat kannst du,
wenn du keine inooDB "Funktionen" nutzen möchtest die
Konfiguration so verändern, das innoDB Support
deaktiviert wird.

Ob dies performance Vorteile bringt kann ich dir nicht sagen.

Grüße

LKH
29.09.03, 16:15
Hi,

Transaktionen bieten keine Performance sondern das Gegenteil. Dafür tuts der Datenintegrität gut.

Thomas Engelke
29.09.03, 16:36
Üblicherweise geht mySQL ja nicht den Weg der Transaktionen. Table Locking sollte das Problem in den meisten Fällen lösen. Du wirst also aller Wahrscheinlichkeit nach keine InnoDB-Tabellen benötigen.

AD!

socrates
29.09.03, 17:48
hi leute,
danke für die antworten, habe das innodb grade abgeschaltet.
fehlermeldungen sind nun auch weg.
thx an alle
soc.