Update duration of import - online edit of handbook/troggle/trogimport.html

This commit is contained in:
Expo on server
2022-06-24 22:23:59 +01:00
parent 0bbd518f51
commit ace6e8b918

View File

@@ -5,7 +5,8 @@
<title>Handbook Troggle Data Import</title> <title>Handbook Troggle Data Import</title>
<link rel="stylesheet" type="text/css" href="../../css/main2.css" /> <link rel="stylesheet" type="text/css" href="../../css/main2.css" />
</head> </head>
<body><style>body { background: #fff url(/images/style/bg-system.png) repeat-x 0 0 }</style> <body>
<style>body { background: #fff url(/images/style/bg-system.png) repeat-x 0 0 }</style>
<h2 id="tophead">CUCC Expedition Handbook</h2> <h2 id="tophead">CUCC Expedition Handbook</h2>
<h1>Troggle Data Import</h1> <h1>Troggle Data Import</h1>
@@ -41,8 +42,8 @@ Usage is 'python databaseReset.py <command> [runlabel]'
caves and logbooks must be run on an empty db before the others as they caves and logbooks must be run on an empty db before the others as they
set up db tables used by the others. set up db tables used by the others.
</pre></code> </pre></code>
<p>On a clean computer using sqlite a complete import takes less than 100 seconds now if nothing else is running. <p>On a clean computer using sqlite a complete import takes 100 seconds now if nothing else is running (200s if running on an SD card not a SSD).
On the shared expo server it takes 1,000s as it is a shared machine. More than half of the time on the server is reinitialising the MariaDB database. On the shared expo server it takes 600s as it is a shared machine. More than half of the time on the server is reinitialising the MariaDB database.
<p>Here is an example of the output after it runs, showing which options were used recently and how long <p>Here is an example of the output after it runs, showing which options were used recently and how long
each option took (in seconds). <code><pre> each option took (in seconds). <code><pre>
@@ -100,6 +101,5 @@ loadlogbk.log</pre></code>
Return to: <a href="trogintro.html">Troggle intro</a><br /> Return to: <a href="trogintro.html">Troggle intro</a><br />
Troggle index: Troggle index:
<a href="trogindex.html">Index of all troggle documents</a><br /> <a href="trogindex.html">Index of all troggle documents</a><br />
<hr /> <hr /></body>
</body>
</html> </html>