Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
jp:troubleshooting:corruptcorpus [2007/05/27 01:30] amatubujp:troubleshooting:corruptcorpus [2008/02/08 19:49] (current) – external edit 127.0.0.1
Line 47: Line 47:
 3. SQLite ユーティリティーで、データベースを開きます 3. SQLite ユーティリティーで、データベースを開きます
  
-  * //sqlite popfile.db//<br> +<code> 
-  'SQLite version 2.8.12'<br> +sqlite popfile.db 
-  Enter ".help" for instructions<br+'SQLite version 2.8.12' 
-  * sqlite>+Enter ".help" for instructions 
 +sqlite
 +</code>
  
 4. そして、整合性チェックを実施します(コマンドの最後のセミコロンを忘れないでください) 4. そして、整合性チェックを実施します(コマンドの最後のセミコロンを忘れないでください)
  
-  * sqlite//pragma integrity_check;//<br> +<code> 
-  ok<br> +pragma integrity_check; 
-  sqlite><br>+ok 
 +sqlite> 
 +</code>
  
   * もし問題があれば、上記の例のような ok は現れないでしょう(データベースが非常に大きい場合、チェックに数秒以上かかり、すぐには 'ok' が表示されないでしょう)。   * もし問題があれば、上記の例のような ok は現れないでしょう(データベースが非常に大きい場合、チェックに数秒以上かかり、すぐには 'ok' が表示されないでしょう)。
Line 78: Line 82:
  
   * もしあなたが技術的に解決したいと思うなら、SQLite を使ってデータベースの内容をテキストファイルに出力し、それを戻すことで、壊れたコーパスの内容の復旧を試すこともできます。   * もしあなたが技術的に解決したいと思うなら、SQLite を使ってデータベースの内容をテキストファイルに出力し、それを戻すことで、壊れたコーパスの内容の復旧を試すこともできます。
-  *//sqlite popfile.db .dump >popback.sql// +<code> 
-  *//rename popfile.db corrupt.db// +sqlite popfile.db .dump >popback.sql 
-  *//sqlite popfile.db < popback.sql//+rename popfile.db corrupt.db 
 +sqlite popfile.db < popback.sql 
 +</code>
  
 これはコーパスのサイズに依存して時間がかかる処理ですから、SQLite を強制終了したり、killしたり**しない**で辛抱してください。さもないとまた破損したコーパスを作ってしまうことになります。 これはコーパスのサイズに依存して時間がかかる処理ですから、SQLite を強制終了したり、killしたり**しない**で辛抱してください。さもないとまた破損したコーパスを作ってしまうことになります。
 
jp/troubleshooting/corruptcorpus.1180229450.txt.gz · Last modified: 2008/02/08 19:49 (external edit)
Old revisions

Should you find anything in the documentation that is incomplete, unclear, outdated or just plain wrong, please let us know and leave a note in the Documentation Forum.

Recent changes RSS feed Donate Driven by DokuWiki
The content of this wiki is protected by the GNU Fee Documentation License