Plugin:Dbx mdbx/de: Difference between revisions

From Miranda NG
Plugin:Dbx mdbx/de
Jump to navigation Jump to search
(Created page with "mdbx_chk.exe befindet sich im Miranda-NG-Hauptverzeichnis.")
(Created page with "mdbx_dump.exe und mdbx_load.exe befinden sich im Miranda-NG-Programmverzeichnis.")
Line 35: Line 35:
== If the above does not help ==
== If the above does not help ==


mdbx_dump.exe and mdbx_load.exe are located in the Miranda root folder.
mdbx_dump.exe und mdbx_load.exe befinden sich im Miranda-NG-Programmverzeichnis.


<pre style="overflow:auto;">
<pre style="overflow:auto;">

Revision as of 16:12, 9 October 2020

Other languages:
Miranda NG MDBX database driver

Dateiname Dbx_mdbx.dll
Autor Miranda NG team
Download-Links
Stabile Version: 32-bit, 64-bit
Entwicklungsversion: 32-bit, 64-bit

Warnung
Dieser Datenbanktreiber leidet unter Problemen mit PC-Instabilität oder Festplattenschäden. Es ist daher wichtig, täglich Sicherungen zu machen un das Risiko eines Datenverlustes zu minimieren.

Unterstützung für Miranda-Datenbank: Globale Einstellungen, Kontakte, Verlauf, Einstellungen pro Kontakt.

Basiert auf libmdbx, enthält aber einige Änderungen vom Miranda-NG-Team, um den speziellen Anforderungen von Miranda NG gerecht zu werden.

Reparieren der Datenbank

Wichtig
Make a backup copy of the damaged database before restoring!

mdbx_chk.exe befindet sich im Miranda-NG-Hauptverzeichnis.

mdbx_chk.exe -i -w -v -t -2 "path\to\corrupted.dat"

This command will select the second to last meta page (since the last one is probably corrupted).

Each meta page contains the necessary information (number transactions, geometry, etc.) as well as a pointer (usually) to own MVCC snapshot that seems to float in many pages along with the rest of the MVCC snapshots. Each such snapshot is generated when the writing transaction is committed.

Überprüfung der Datenbank

mdbx_chk.exe befindet sich im Miranda-NG-Hauptverzeichnis.

mdbx_chk.exe -i -v -n -w "path\to\database.dat"
Hinweis
Nachrichten "problems: wrong order of entries" sollten nicht als Fehler angesehen werden.

If the above does not help

mdbx_dump.exe und mdbx_load.exe befinden sich im Miranda-NG-Programmverzeichnis.

mdbx_dump.exe -n -a -f "%TEMP%\corrupted.tmp" "path\to\corrupted.dat"
mdbx_load.exe -n -a -f "%TEMP%\corrupted.tmp" "path\to\repaired.dat"

This extracts as much data as possible from the corrupted.dat to the temporary file and builds repaired.dat.