123456789101112131415161718192021222324252627282930313233343536 |
- {% extends 'base.html' %}
- {% block extra_js %}
- {% endblock %}
- {% block title %}System Statistics{% endblock %}
- {% block content %}
- <h2>Repository</h2>
- <p>Current resource count: <strong>{{ '{:,}'.format(rsrc_stats['main']) }}</strong></p>
- <p>Historic snapshots: <strong>{{ '{:,}'.format(rsrc_stats['hist']) }}</strong></p>
- <p>Total triples: <strong>{{ '{:,}'.format(store_stats['num_triples']) }}</strong></p>
- <h2>Binary Store</h2>
- <p>Current file count: <strong>{{ '{:,}'.format(nonrdf_stats['ct']) }}</strong></p>
- <p>Current size on disk: <strong>{{ fsize_fmt(nonrdf_stats['size']) }}</strong></p>
- <h2>RDF Store</h2>
- <p>Overall size on disk: <strong>{{ fsize_fmt(store_stats['store_size'])}}</strong></p>
- <h3>LMDB Store Details</h3>
- <p>Refer to the <a href="http://lmdb.readthedocs.io/en/release/#lmdb.Environment.stat">LMDB API documentation</a> for details about the parameters below.</p>
- {% for db_label, db in store_stats['db_stats'].items() %}
- <h4>{{ db_label }}</h4>
- <table class="table table-striped">
- <thead>
- <tr>
- <td>Property</td>
- <td>Value</td>
- </tr>
- </thead>
- <tbody>
- {% for p, v in db.items() | sort %}
- <tr>
- <td>{{ p }}</td>
- <td>{{ v }}</td>
- </tr>
- {% endfor %}
- </tbody>
- </table>
- {% endfor %}
- {% endblock %}
|