>Форум Mozilla Россия http://forum.mozilla-russia.org/index.php >Firefox http://forum.mozilla-russia.org/viewforum.php?id=4 >Восстановление places.sqlite http://forum.mozilla-russia.org/viewtopic.php?id=70101 |
oopsididagainster > 12-06-2016 02:20:23 |
После переезда с Firefox 38 ESR на Firefox 45 ESR заметил что стала пропадать вся история, а в папке профиля появляется файл places.sqlite.corrupt. Восстанавливаю из бэкапа places.sqlite и всё равно через какой-то промежуток времени образуется places.sqlite.corrupt, закономерность появления которого выявить не получилось. В Firefox 38 ESR такого ни разу не происходило и не происходит. Нагуглил способы решения от мозиловцев. По ссылке приводится два способа: 1) автоматический с помощью расширения [url=https://addons.mozilla.org/ru/firefox/addon/places-maintenance/ 2) с помощью SQLite Делаю всё по инструкции. Команда PRAGMA integrity_check; выдаёт скрытый текст sqlite> PRAGMA integrity_check; row 193951 missing from index moz_places_guid_uniqueindex row 193951 missing from index moz_places_url_uniqueindex row 193951 missing from index moz_places_lastvisitdateindex row 193951 missing from index moz_places_frecencyindex row 193951 missing from index moz_places_visitcount row 193951 missing from index moz_places_hostindex row 193951 missing from index moz_places_faviconindex row 193952 missing from index moz_places_guid_uniqueindex row 193952 missing from index moz_places_url_uniqueindex row 193952 missing from index moz_places_lastvisitdateindex row 193952 missing from index moz_places_frecencyindex row 193952 missing from index moz_places_visitcount row 193952 missing from index moz_places_hostindex row 193952 missing from index moz_places_faviconindex row 193953 missing from index moz_places_guid_uniqueindex row 193953 missing from index moz_places_url_uniqueindex row 193953 missing from index moz_places_lastvisitdateindex row 193953 missing from index moz_places_frecencyindex row 193953 missing from index moz_places_visitcount row 193953 missing from index moz_places_hostindex row 193953 missing from index moz_places_faviconindex row 193954 missing from index moz_places_guid_uniqueindex row 193954 missing from index moz_places_url_uniqueindex row 193954 missing from index moz_places_lastvisitdateindex row 193954 missing from index moz_places_frecencyindex row 193954 missing from index moz_places_visitcount row 193954 missing from index moz_places_hostindex row 193954 missing from index moz_places_faviconindex row 193955 missing from index moz_places_guid_uniqueindex row 193955 missing from index moz_places_url_uniqueindex row 193955 missing from index moz_places_lastvisitdateindex row 193955 missing from index moz_places_frecencyindex row 193955 missing from index moz_places_visitcount row 193955 missing from index moz_places_hostindex row 193955 missing from index moz_places_faviconindex row 193956 missing from index moz_places_guid_uniqueindex row 193956 missing from index moz_places_url_uniqueindex row 193956 missing from index moz_places_lastvisitdateindex row 193956 missing from index moz_places_frecencyindex row 193956 missing from index moz_places_visitcount row 193956 missing from index moz_places_hostindex row 193956 missing from index moz_places_faviconindex row 193957 missing from index moz_places_guid_uniqueindex row 193957 missing from index moz_places_url_uniqueindex row 193957 missing from index moz_places_lastvisitdateindex row 193957 missing from index moz_places_frecencyindex row 193957 missing from index moz_places_visitcount row 193957 missing from index moz_places_hostindex row 193957 missing from index moz_places_faviconindex row 193958 missing from index moz_places_guid_uniqueindex row 193958 missing from index moz_places_url_uniqueindex row 193958 missing from index moz_places_lastvisitdateindex row 193958 missing from index moz_places_frecencyindex row 193958 missing from index moz_places_visitcount row 193958 missing from index moz_places_hostindex row 193958 missing from index moz_places_faviconindex row 193959 missing from index moz_places_guid_uniqueindex row 193959 missing from index moz_places_url_uniqueindex row 193959 missing from index moz_places_lastvisitdateindex row 193959 missing from index moz_places_frecencyindex row 193959 missing from index moz_places_visitcount row 193959 missing from index moz_places_hostindex row 193959 missing from index moz_places_faviconindex row 193960 missing from index moz_places_guid_uniqueindex row 193960 missing from index moz_places_url_uniqueindex row 193960 missing from index moz_places_lastvisitdateindex row 193960 missing from index moz_places_frecencyindex row 193960 missing from index moz_places_visitcount row 193960 missing from index moz_places_hostindex row 193960 missing from index moz_places_faviconindex row 193961 missing from index moz_places_guid_uniqueindex row 193961 missing from index moz_places_url_uniqueindex row 193961 missing from index moz_places_lastvisitdateindex row 193961 missing from index moz_places_frecencyindex row 193961 missing from index moz_places_visitcount row 193961 missing from index moz_places_hostindex row 193961 missing from index moz_places_faviconindex row 193962 missing from index moz_places_guid_uniqueindex row 193962 missing from index moz_places_url_uniqueindex row 193962 missing from index moz_places_lastvisitdateindex row 193962 missing from index moz_places_frecencyindex row 193962 missing from index moz_places_visitcount row 193962 missing from index moz_places_hostindex row 193962 missing from index moz_places_faviconindex row 193963 missing from index moz_places_guid_uniqueindex row 193963 missing from index moz_places_url_uniqueindex row 193963 missing from index moz_places_lastvisitdateindex row 193963 missing from index moz_places_frecencyindex row 193963 missing from index moz_places_visitcount row 193963 missing from index moz_places_hostindex row 193963 missing from index moz_places_faviconindex row 193964 missing from index moz_places_guid_uniqueindex row 193964 missing from index moz_places_url_uniqueindex row 193964 missing from index moz_places_lastvisitdateindex row 193964 missing from index moz_places_frecencyindex row 193964 missing from index moz_places_visitcount row 193964 missing from index moz_places_hostindex row 193964 missing from index moz_places_faviconindex row 193965 missing from index moz_places_guid_uniqueindex row 193965 missing from index moz_places_url_uniqueindex При клонировании выводится скрытый текст sqlite> .clone places.new.sqlite moz_places... done moz_historyvisits... done moz_inputhistory... done moz_bookmarks... done moz_bookmarks_roots... done moz_keywords... done sqlite_sequence... Error: object name reserved for internal use: sqlite_sequence SQL: [CREATE TABLE sqlite_sequence(name,seq)] После клонирования places.sqlite уменьшается с 120M до 86М и появляется: если я захожу в Журнал и начинаю прокручивать историю то браузер начинает лагать(и грузить процессор) и история прокручивается со скоростью одна страница в 3 секунды. Если посмотреть с помощью расширения Places Maintenance статистику places.sqlite до и после клонирования, то в клонированном places.sqlite отсутствует индекс moz_places_url_uniqueindex. Можно ли как-то восстановить places.sqlite ? |
oopsididagainster > 15-06-2016 21:50:47 |
"Разобрался". К клонированному places.sqlite нужно применить команду Я точно не знаю правильно ли это, но мою проблему - лаги при просмотре истории и places.sqlite.corrupt - это решило. |