Overview.html 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. <!DOCTYPE html>
  2. <html dir="ltr">
  3. <head>
  4. <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  5. <title>Archive/Import/Overview - XOWA</title>
  6. <link rel="shortcut icon" href="https://gnosygnu.github.io/xowa/xowa_logo.png" />
  7. <link rel="stylesheet" href="https://gnosygnu.github.io/xowa/xowa_common.css" type="text/css">
  8. </head>
  9. <body class="mediawiki ltr sitedir-ltr ns-0 ns-subject skin-vector action-submit vector-animateLayout" spellcheck="false">
  10. <div id="mw-page-base" class="noprint"></div>
  11. <div id="mw-head-base" class="noprint"></div>
  12. <div id="content" class="mw-body">
  13. <h1 id="firstHeading" class="firstHeading"><span>Archive/Import/Overview</span></h1>
  14. <div id="bodyContent" class="mw-body-content">
  15. <div id="siteSub">From XOWA: the free, open-source, offline wiki application</div>
  16. <div id="contentSub"></div>
  17. <div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr">
  18. <h2>
  19. <span class="mw-headline" id="Sqlite_vs_XOWA_text_file_hive">Sqlite vs XOWA text file hive</span>
  20. </h2>
  21. <p>
  22. XOWA text file advantages:
  23. </p>
  24. <ul>
  25. <li>
  26. <b>Faster import</b>: Writing to a text file is quick. fr.wikipedia.org imports in about 19 minutes whereas sqlite takes about 45 minutes
  27. </li>
  28. <li>
  29. <b>Universal format</b>: Text files are more ubiquitous than a sqlite database.
  30. </li>
  31. <li>
  32. <b>No binary dependence</b>: Almost anything can read a text file; one needs platform-specific binaries to read sqlite
  33. </li>
  34. </ul>
  35. <p>
  36. Advantages of sqlite
  37. </p>
  38. <ul>
  39. <li>
  40. <b>Fewer files</b>: A wiki can be stored in one sqlite file (or several). The XOWA text file hive requires many thousands
  41. </li>
  42. <li>
  43. <b>Simpler development</b>: SQL can be used to select / update records. XOWA includes a lot of code to provide similar functionality.
  44. </li>
  45. <li>
  46. <b>Slightly faster reading</b>: Sqlite allows quicker retrieval when a wiki page has many templates / modules. This speed difference is dependent on the size of the wiki and the disk drive / memory card. Simple Wikipedia may be significantly faster. English Wikipedia may be marginally fasater.
  47. </li>
  48. </ul>
  49. <p>
  50. <br>
  51. </p>
  52. </div>
  53. </div>
  54. </div>
  55. <div id="mw-head" class="noprint">
  56. <div id="left-navigation">
  57. <div id="p-namespaces" class="vectorTabs">
  58. <h3>Namespaces</h3>
  59. <ul>
  60. <li id="ca-nstab-main" class="selected"><span><a id="ca-nstab-main-href" href="index.html">Page</a></span></li>
  61. </ul>
  62. </div>
  63. </div>
  64. </div>
  65. <div id='mw-panel' class='noprint'>
  66. <div id='p-logo'>
  67. <a style="background-image: url(https://gnosygnu.github.io/xowa/xowa_logo.png);" href="http://xowa.org/" title="Visit the main page"></a>
  68. </div>
  69. <div class="portal" id='xowa-portal-home'>
  70. <h3>XOWA</h3>
  71. <div class="body">
  72. <ul>
  73. <li><a href="http://xowa.org/index.html" title='Visit the main page'>Main page</a></li>
  74. <li><a href="http://xowa.org/screenshots.html" title='See screenshots of XOWA'>Screenshots</a></li>
  75. <li><a href="http://xowa.org/home/wiki/Help/Download_XOWA.html" title='Download the XOWA application'>Download XOWA</a></li>
  76. <li><a href="http://xowa.org/home/wiki/Dashboard/Image_databases.html" title='Download offline wikis and image databases'>Download wikis</a></li>
  77. </ul>
  78. </div>
  79. </div>
  80. <div class="portal" id='xowa-portal-started'>
  81. <h3>Getting started</h3>
  82. <div class="body">
  83. <ul>
  84. <li><a href="http://xowa.org/home/wiki/App/Setup/System_requirements.html" title='Get XOWA&apos;s system requirements'>Requirements</a></li>
  85. <li><a href="http://xowa.org/home/wiki/App/Setup/Installation.html" title='Get instructions for installing XOWA'>Installation</a></li>
  86. <li><a href="http://xowa.org/home/wiki/App/Import/Simple_Wikipedia.html" title='Learn how to set up Simple Wikipedia'>Simple Wikipedia</a></li>
  87. <li><a href="http://xowa.org/home/wiki/App/Import/English_Wikipedia.html" title='Learn how to set up English Wikipedia'>English Wikipedia</a></li>
  88. <li><a href="http://xowa.org/home/wiki/App/Import/Other_wikis.html" title='Learn how to set up other Wikipedias'>Other Wikipedias</a></li>
  89. </ul>
  90. </div>
  91. </div>
  92. <div class="portal" id='xowa-portal-android'>
  93. <h3>Android</h3>
  94. <div class="body">
  95. <ul>
  96. <li><a href="http://xowa.org/home/wiki/Android/Setup.html" title='Setup XOWA on your Android device'>Setup</a></li>
  97. </ul>
  98. </div>
  99. </div>
  100. <div class="portal" id='xowa-portal-help'>
  101. <h3>Help</h3>
  102. <div class="body">
  103. <ul>
  104. <li><a href="http://xowa.org/home/wiki/Help/About.html" title='Get more information about XOWA'>About</a></li>
  105. <li><a href="http://xowa.org/home/wiki/Help/Contents.html" title='View a list of help topics'>Contents</a></li>
  106. <li><a href="http://xowa.org/home/wiki/Help/Media.html" title='Read what others have written about XOWA'>Media</a></li>
  107. <li><a href="http://xowa.org/home/wiki/Help/Feedback.html" title='Questions? Comments? Leave feedback for XOWA'>Feedback</a></li>
  108. </ul>
  109. </div>
  110. </div>
  111. <div class="portal" id='xowa-portal-blog'>
  112. <h3>Blog</h3>
  113. <div class="body">
  114. <ul>
  115. <li><a href="http://xowa.org/home/wiki/Blog.html" title='Follow XOWA''s development process'>Current</a></li>
  116. </ul>
  117. </div>
  118. </div>
  119. <div class="portal" id='xowa-portal-links'>
  120. <h3>Links</h3>
  121. <div class="body">
  122. <ul>
  123. <li><a href="http://dumps.wikimedia.org/backup-index.html" title="Get wiki datababase dumps directly from Wikimedia">Wikimedia dumps</a></li>
  124. <li><a href="https://archive.org/search.php?query=xowa" title="Search archive.org for XOWA files">XOWA @ archive.org</a></li>
  125. <li><a href="http://en.wikipedia.org" title="Visit Wikipedia (and compare to XOWA!)">English Wikipedia</a></li>
  126. </ul>
  127. </div>
  128. </div>
  129. <div class="portal" id='xowa-portal-donate'>
  130. <h3>Donate</h3>
  131. <div class="body">
  132. <ul>
  133. <li><a href="https://archive.org/donate/index.php" title="Support archive.org!">archive.org</a></li><!-- listed first due to recent fire damages: http://blog.archive.org/2013/11/06/scanning-center-fire-please-help-rebuild/ -->
  134. <li><a href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector" title="Support Wikipedia!">Wikipedia</a></li>
  135. <!-- <li><a href="" title="Support XOWA! (but only after you've supported archive.org and Wikipedia)">XOWA</a></li> -->
  136. </ul>
  137. </div>
  138. </div>
  139. </div>
  140. </body>
  141. </html>