mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-20 14:20:06 +02:00
74 lines
4.0 KiB
HTML
74 lines
4.0 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
<html>
|
||
<head>
|
||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||
<title>Store 'tstore'</title>
|
||
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
|
||
<link rel="start" href="index.html" title="Redland RDF Library Manual">
|
||
<link rel="up" href="redland-storage-modules.html" title="Storage Modules">
|
||
<link rel="prev" href="redland-storage-module-sqlite.html" title="Store 'sqlite'">
|
||
<link rel="next" href="redland-storage-module-uri.html" title="Store 'uri'">
|
||
<meta name="generator" content="GTK-Doc V1.10 (XML mode)">
|
||
<link rel="stylesheet" href="style.css" type="text/css">
|
||
<link rel="chapter" href="redland.html" title="Redland Overview">
|
||
<link rel="chapter" href="introduction.html" title="Introduction">
|
||
<link rel="part" href="tutorial.html" title="Part I. Tutorial">
|
||
<link rel="part" href="reference-manual.html" title="Part II. Reference Manual">
|
||
<link rel="chapter" href="objects.html" title="Objects in C">
|
||
<link rel="chapter" href="redland-storage-modules.html" title="Storage Modules">
|
||
<link rel="index" href="indexes.html" title="Index">
|
||
</head>
|
||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
|
||
<td><a accesskey="p" href="redland-storage-module-sqlite.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
||
<td><a accesskey="u" href="redland-storage-modules.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
||
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
||
<th width="100%" align="center">Redland RDF Library Manual</th>
|
||
<td><a accesskey="n" href="redland-storage-module-uri.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
||
</tr></table>
|
||
<div class="section" lang="en">
|
||
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
||
<a name="redland-storage-module-tstore"></a>Store 'tstore'</h2></div></div></div>
|
||
<p>This module provides storage via the
|
||
<a class="ulink" href="http://triplestore.aktors.org/" target="_top">AKT Triplestore</a>
|
||
when available. It was added in Redland 0.9.15
|
||
and is alpha quality - not complete or tested significantly (although
|
||
the AKT store itself is used in production). This store provides a
|
||
basic triple API but no redland contexts. The underlying RDQL
|
||
support and inference is not yet exposed in Redland but may be in
|
||
future.
|
||
</p>
|
||
<p>There are several options required with the tstore storage in
|
||
order to connect to the tstore database (which uses MySQL). These
|
||
are:</p>
|
||
<div class="itemizedlist"><ul type="disc">
|
||
<li><p><code class="literal">host</code> for the database server hostname</p></li>
|
||
<li><p><code class="literal">port</code> for the database server port</p></li>
|
||
<li><p><code class="literal">database</code> for the database name (not the storage name)</p></li>
|
||
<li><p><code class="literal">user</code> for the database server user name</p></li>
|
||
<li><p><code class="literal">password</code> for the database server password</p></li>
|
||
</ul></div>
|
||
<p>NOTE: Take care exposing the password as for example, program
|
||
arguments or environment variables. The rdfproc utility can with
|
||
help this by reading the password from standard input. Inside
|
||
programs, one way to prevent storing the password in a string is to
|
||
construct a Redland hash of the storage options such as
|
||
via <code class="literal">librdf_hash_from_string</code> and use
|
||
<code class="literal">librdf_new_storage_with_options</code> to create a storage.
|
||
The rdfproc utility source code demonstrates this.
|
||
</p>
|
||
<p>Summary:</p>
|
||
<div class="itemizedlist"><ul type="disc">
|
||
<li><p>Persistent</p></li>
|
||
<li><p>Suitable for very large models</p></li>
|
||
<li><p>Indexed and optimised by the AKT project</p></li>
|
||
<li><p>No Redland contexts</p></li>
|
||
<li><p>Alpha quality</p></li>
|
||
</ul></div>
|
||
</div>
|
||
<div class="footer">
|
||
<hr>
|
||
Generated by GTK-Doc V1.10</div>
|
||
</body>
|
||
</html>
|