Friendica - MariaDB auf das korrekte Barracuda File Format überprüfen
Ich habe meine Datenbank vor langer Zeit für das Barracuda-Dateiformat konfiguriert, aber als ich wieder in den Entwicklungszweig wechselte, gab es eine Benachrichtigung im Verwaltungsbereich, die besagte
Your DB still runs with InnoDB tables in the Antelope file format. You should change the file format to Barracuda. Friendica is using features that are not provided by the Antelope format. See here for a guide that may be helpful converting the table engines. You may also use the command
php bin/console.php dbstructure toinnodb
of your Friendica installation for an automatic conversion.
Das verwunderte mich, denn alles in meiner Konfiguration besagte: file format Barracuda.
Ebenso prüfte ich die Datenbank https://dev.mysql.com/doc/refman/5.7/en/innodb-file-format-identifying.html mitSHOW TABLE STATUS
und es ergab COMPRESSED.
Laut Dokumentation sollte meine Datenbank eigentlich auf das Barracuda File format konfiguriert sein.
The table uses the Barracuda file format if the row format reported by SHOW TABLE STATUS is either Compressed or Dynamic.
Dann führte ich im Friendica Verzeichnis den Befehl php bin/console.php dbstructure toinnodb
aus und die Tabellen waren jetzt nicht mehr COMPRESSED, sondern DYNAMIC
Also braucht man das Barracuda File Format DYNAMIC und nicht nur Compressed.
Vielleicht überprüft ihr ebenfalls eure Datenbank. Und es wäre ganz gut, wenn die Entwickler das genauer spezifizieren würden, was genau benötigt wird und wie es aussehen soll. Beziehungsweise, wie man bei einem Update, dass Barracuda DYNAMIC braucht verfahren werden soll.
