Plugin:Dbx mdbx/ru: Difference between revisions

From Miranda NG
Plugin:Dbx mdbx/ru
Jump to navigation Jump to search
(Updating to match new version of source page)
(Created page with "Утилиты mdbx_dump.exe и mdbx_load.exe располагаются в корневой папке Миранды.")
Line 17: Line 17:
mdbx_chk.exe -i -w -v -t -2 "path\to\corrupted.dat"
mdbx_chk.exe -i -w -v -t -2 "path\to\corrupted.dat"
</pre>
</pre>
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.


== Проверка базы ==
== Проверка базы ==
Line 30: 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 и mdbx_load.exe располагаются в корневой папке Миранды.


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

Revision as of 16:09, 9 October 2020

Other languages:
Miranda NG MDBX database driver

Имя файла Dbx_mdbx.dll
Автор Miranda NG team
Скачать
Стабильная версия: 32-bit, 64-bit
Версия в разработке: 32-bit, 64-bit

Внимание!
Драйвер может вызвать проблемы с базой, если ваша система нестабильна, накопитель повреждён или компьютер не работает должным образом. Настоятельно рекомендуется ежедневно делать резервные копии во избежание потери данных.
Внимание!
Плагин не работает в Wine.

Поддержка базы Miranda NG: глобальные настройки, контакты, история, настройки контактов и т. п.

Основан на библиотеке libmdbx, но содержит несколько изменений от команды Miranda NG, направленных на удовлетворение специфических потребностей Миранды.

Восстановление повреждённой базы

Важно
Make a backup copy of the damaged database before restoring!

mdbx_chk.exe is located in the Miranda root folder.

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.

Проверка базы

Утилита mdbx_chk.exe располагается в корневой папке Миранды.

mdbx_chk.exe -i -v -n -w "path\to\database.dat"
Примечание
Сообщения "problems: wrong order of entries" не должны расцениваться как ошибки.

If the above does not help

Утилиты mdbx_dump.exe и mdbx_load.exe располагаются в корневой папке Миранды.

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.