Zum Inhalt der Seite gehen


Als Antwort auf Jools [Friendica]

The entries in the photo table are always there. Only the location changed. And the storage table doesn't shrink by itself. You have to execute optimize on it an SQL console to actually remove all the deleted parts.
Als Antwort auf Michael 🇺🇦

@Michael Vogel Danke für die schnelle Antwort!

Dann schreibe ich mal in deutsch weiter, da kann ich mich besser ausdrücken. 😉

Ist es denn normal, dass die Einträge weiterhin mehr werden, wenn ich

SELECT COUNT(*) FROM photo WHERE data IS NOT NULL;

ausführe?

Und diesen Fehler:

[Error] Friendica\Console\Storage::doExecute(): Return value must be of type int, null returned

kann ich den dann einfach ignorieren?

Als Antwort auf Jools [Friendica]

Die photo-Tabelle wird weiter anwachsen, das ist völlig normal. Nur die `storage'-Tabelle sollte jetzt leer sein. Ich schätze, dass der Fehler ganz am Ende nicht wirklich viel bewirkt hat. Meiner Erinnerung nach werden die Einträge bereits zwischendrin gelöscht.
Als Antwort auf Michael 🇺🇦

@Michael Vogel Ah ok, dann hatte ich tatsächlich in der falschen Tabelle geschaut, kein Wunder. 😅🙈

Ich habe das jetzt noch mal durchlaufen lassen, mit dem Ergebnis:

Die Datenbank insgesamt war zuvor 3547,86 MB, jetzt 698,61MB.
Die Storage-Tabelle war vorher 2895,75MB, jetzt 14,02MB.
In der Storage-Tabelle waren zuvor 137492 Einträge, jetzt 36.

Dann hat das wohl geklappt, würde ich sagen.

Vielen Dank für die schnelle Antwort und Hilfe! 👍

Als Antwort auf Jools [Friendica]

@Jools The error comes at the very end of the execution of the task, so it doesn't have any impact on the task itself.
Als Antwort auf Hypolite Petovan

@Hypolite Petovan Thanks for the info, I guess everything worked, I just misunderstood and looked at the wrong table. 🙈😉

Diese Webseite verwendet Cookies. Durch die weitere Benutzung der Webseite stimmst du dieser Verwendung zu. https://inne.city/tos