You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by gi...@apache.org on 2022/07/27 14:29:12 UTC

[jena-site] branch asf-site updated: Updated site from main (51cd82ab11b760f01671d69ac4de8b0ff1e489d7)

This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/jena-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new a3657d38b Updated site from main (51cd82ab11b760f01671d69ac4de8b0ff1e489d7)
a3657d38b is described below

commit a3657d38b73aca57890519b19860988620490dab
Author: jenkins <bu...@apache.org>
AuthorDate: Wed Jul 27 14:29:09 2022 +0000

    Updated site from main (51cd82ab11b760f01671d69ac4de8b0ff1e489d7)
---
 content/documentation/fuseki2/fuseki-server-protocol.html |  3 ++-
 content/documentation/index.xml                           |  2 +-
 content/documentation/tdb2/tdb2_admin.html                |  5 ++++-
 content/documentation/tdb2/tdb2_cmds.html                 |  5 +++++
 content/documentation/tools/index.html                    |  2 +-
 content/index.xml                                         |  2 +-
 content/sitemap.xml                                       | 10 +++++-----
 7 files changed, 19 insertions(+), 10 deletions(-)

diff --git a/content/documentation/fuseki2/fuseki-server-protocol.html b/content/documentation/fuseki2/fuseki-server-protocol.html
index e47a1b06c..f04cd3ac5 100644
--- a/content/documentation/fuseki2/fuseki-server-protocol.html
+++ b/content/documentation/fuseki2/fuseki-server-protocol.html
@@ -311,7 +311,7 @@ Further operations may be added within this naming scheme.</p>
 </tr>
 <tr>
 <td><tt>POST</tt></td>
-<td><code>/$/compact/{name}</code></td>
+<td><code>/$/compact/{name}?deleteOld=true</code></td>
 <td></td>
 </tr>
 <tr>
@@ -435,6 +435,7 @@ a list of file names.</p>
 <h3 id="compact">Compact</h3>
 <p>Pattern: <code>/$/compact/{name}</code></p>
 <p>This operations initiates a database compaction task and returns a JSON object with the task Id in it.</p>
+<p>The optional parameter and value <code>deleteOld=true</code> deletes the database which currently is compacted after compacting completion.</p>
 <p>Compaction <strong>ONLY</strong> applies to TDB2 datasets, see <a href="../tdb2/tdb2_admin.html#compaction">TDB2 Database Administration</a>
 for more details of this operation.</p>
 <p>You can monitor the status of the task via the Tasks portion of the API.  A successful compaction will have
diff --git a/content/documentation/index.xml b/content/documentation/index.xml
index d1c8ccb8c..c1b03ef98 100644
--- a/content/documentation/index.xml
+++ b/content/documentation/index.xml
@@ -1866,7 +1866,7 @@ Compared to TDB1:
       <description>TDB2 is not compatible with TDB1
 Do not run TDB1 tools on a TDB2 database, nor run TDB2 tools on a TDB1 database.
 These scripts are available jena binary distribution.
- tdb2.tdbbackup tdb2.tdbdump tdb2.tdbcompact tdb2.tdbloader tdb2.tdbquery tdb2.tdbupdate  On MS Windows, these commands are called tdb2_tdbquery etc.
+ tdb2.tdbbackup tdb2.tdbdump tdb2.tdbcompact tdb2.tdbloader tdb2.tdbquery tdb2.tdbupdate tdb2.tdbstats  On MS Windows, these commands are called tdb2_tdbquery etc.
 Example usage:
 tdb2.tdbloader --loc &amp;lt;DB location&amp;gt; file1 file2 ... Note:
 tdbloader2 is a TDB1 command tool.
diff --git a/content/documentation/tdb2/tdb2_admin.html b/content/documentation/tdb2/tdb2_admin.html
index 52562e21b..143176eff 100644
--- a/content/documentation/tdb2/tdb2_admin.html
+++ b/content/documentation/tdb2/tdb2_admin.html
@@ -209,7 +209,10 @@ can be a long time for large databases.</p>
 latest view of the RDF dataset into that directory, then switch to using
 that generation of the database.</p>
 <p>There is also a command line tool <code>tdb2.tdbcompact</code> to run the
-compaction process on a database not in use.</p>
+compaction process on a database not in use. The command line
+option  <code>--deleteOld</code> removes the last database after compaction.</p>
+<p>Compaction can also be called from <a href="/documentation/fuseki2/fuseki-server-protocol.html#compact">the Fuseki HTTP Administration Protocol</a>
+for live <a href="/documentation/fuseki2/fuseki-webapp.html">Fuseki webapps</a>.</p>
 <h2 id="backup">Backup</h2>
 <p>A TDB2 database can be backed up by calling:</p>
 <pre><code>DatabaseMgr.backup(dataset.asDatasetGraph());
diff --git a/content/documentation/tdb2/tdb2_cmds.html b/content/documentation/tdb2/tdb2_cmds.html
index a684959ce..d4f2df2af 100644
--- a/content/documentation/tdb2/tdb2_cmds.html
+++ b/content/documentation/tdb2/tdb2_cmds.html
@@ -191,6 +191,7 @@
 <li><code>tdb2.tdbloader</code></li>
 <li><code>tdb2.tdbquery</code></li>
 <li><code>tdb2.tdbupdate</code></li>
+<li><code>tdb2.tdbstats</code></li>
 </ul>
 <p>On MS Windows, these commands are called <code>tdb2_tdbquery</code> etc.</p>
 <p>Example usage:</p>
@@ -256,6 +257,10 @@ and then 2 threads in parallel for building the other indexes.</p>
 performance providing enough RAM is available and the persistent storage
 is SSD. It can consume all hardware resources, greatly impacting
 any other applications running.</p>
+<h2 id="tdb2tdbstats"><code>tdb2.tdbstats</code></h2>
+<p>Produce statistics for the dataset, which can be used for optimization rules. See the
+<a href="../tdb/optimizer.html#statistics-rule-file">TDB Optimizer description.</a>.</p>
+<p>For TDB2 the statistic files is read and placed in the <code>Data-NNNN</code> directory (<code>Data-0001/stats.opt</code>).</p>
 
 
         </div>
diff --git a/content/documentation/tools/index.html b/content/documentation/tools/index.html
index c1feaa31c..7dc42ceb2 100644
--- a/content/documentation/tools/index.html
+++ b/content/documentation/tools/index.html
@@ -290,7 +290,7 @@ pages describe these further.</p>
 <p><strong><code>tdbbackup</code></strong>, <strong><code>tdb2.tdbbackup</code></strong>: create a gzipped copy of the Fuseki dataset&rsquo;s triples.</p>
 </li>
 <li>
-<p><strong><code>tdbcompact</code></strong>, <strong><code>tdb2.tdbcompact</code></strong>: reduce the size of the Fuseki dataset.</p>
+<p><strong>not implemented for TDB1</strong>, <strong><code>tdb2.tdbcompact</code></strong>: reduce the size of the Fuseki dataset.</p>
 </li>
 </ul>
 <h4 id="other-handy-command-line-tools">Other Handy Command Line Tools</h4>
diff --git a/content/index.xml b/content/index.xml
index ee4757926..1308e6003 100644
--- a/content/index.xml
+++ b/content/index.xml
@@ -2149,7 +2149,7 @@ Compared to TDB1:
       <description>TDB2 is not compatible with TDB1
 Do not run TDB1 tools on a TDB2 database, nor run TDB2 tools on a TDB1 database.
 These scripts are available jena binary distribution.
- tdb2.tdbbackup tdb2.tdbdump tdb2.tdbcompact tdb2.tdbloader tdb2.tdbquery tdb2.tdbupdate  On MS Windows, these commands are called tdb2_tdbquery etc.
+ tdb2.tdbbackup tdb2.tdbdump tdb2.tdbcompact tdb2.tdbloader tdb2.tdbquery tdb2.tdbupdate tdb2.tdbstats  On MS Windows, these commands are called tdb2_tdbquery etc.
 Example usage:
 tdb2.tdbloader --loc &amp;lt;DB location&amp;gt; file1 file2 ... Note:
 tdbloader2 is a TDB1 command tool.
diff --git a/content/sitemap.xml b/content/sitemap.xml
index 9271d452d..4e744c2b3 100644
--- a/content/sitemap.xml
+++ b/content/sitemap.xml
@@ -274,7 +274,7 @@
   
   <url>
     <loc>https://jena.apache.org/documentation/tools/</loc>
-    <lastmod>2021-09-04T18:49:14+01:00</lastmod>
+    <lastmod>2022-07-27T16:28:14+02:00</lastmod>
   </url>
   
   <url>
@@ -329,7 +329,7 @@
   
   <url>
     <loc>https://jena.apache.org/documentation.html</loc>
-    <lastmod>2022-07-19T19:17:05+02:00</lastmod>
+    <lastmod>2022-07-27T16:28:14+02:00</lastmod>
   </url>
   
   <url>
@@ -399,7 +399,7 @@
   
   <url>
     <loc>https://jena.apache.org/documentation/fuseki2/fuseki-server-protocol.html</loc>
-    <lastmod>2021-03-29T09:48:59+01:00</lastmod>
+    <lastmod>2022-07-27T16:28:14+02:00</lastmod>
   </url>
   
   <url>
@@ -1019,12 +1019,12 @@
   
   <url>
     <loc>https://jena.apache.org/documentation/tdb2/tdb2_cmds.html</loc>
-    <lastmod>2021-06-18T18:11:15+02:00</lastmod>
+    <lastmod>2022-07-27T16:28:14+02:00</lastmod>
   </url>
   
   <url>
     <loc>https://jena.apache.org/documentation/tdb2/tdb2_admin.html</loc>
-    <lastmod>2020-02-28T13:09:12+01:00</lastmod>
+    <lastmod>2022-07-27T16:28:14+02:00</lastmod>
   </url>
   
   <url>