Columb'O
Columb'O is a module for Omeka S that gathers various information about your Omeka S installation and shows it all in the same place.
Quick start
- Install the module (no configuration needed)
- Open the "Columb'O" entry of the admin menu
Statistics
Statistics are grouped in tabs on a single page:
| Tab | Tables |
|---|---|
| Sites | Sites (items, item sets, pages, users per role, media size), themes and how many sites use them |
| Resources | Item sets, items and media by visibility and without template or class; items with/without media or item set and media per item (min, max, average); item sets (items, media, media size, sites); media per file type; resource templates; vocabularies |
| Resource metadata | Properties and classes and how many resources use them, values linking to another resource by type of the linked resource, value annotations |
| Users | Active and inactive users per role |
| Modules | Modules with their version, installed version and state |
| Storage information | File store in use and size of each of its directories, media size, Omeka S directory size |
Each tab can be opened directly from its URL, for example
/admin/columbo/resources.
Tables
- Every column can be sorted, with the sort box or by clicking the column header. Sizes are sorted by their value in bytes.
- Rows can be filtered by text.
- Sizes show the exact number of bytes on hover.
- "Download CSV" exports a table as displayed (sorted and filtered rows).
- "Export all (CSV)" exports every statistic in a single CSV row.
Performance
- A tab is loaded only when it is first displayed, and prefetched when the pointer hovers it. A loaded tab is kept in memory until "Refresh this tab" is used.
- Directory and remote storage sizes, the slowest calculations, are computed after the "Storage information" tab is displayed, one after another.
Disk usage calculations
The "Storage information" tab measures the file store that Omeka S actually uses:
- the local
filesdirectory, or the one set byfile_store.local.base_pathinconfig/local.config.php; - the remote storage of the AnyCloud
module, whether it is selected in the module settings or in
config/local.config.php.
Each top directory of the store is measured separately: original, one per
thumbnail type (large, medium, square by default) and asset, then
summed. Other file stores are reported as not supported.
- Total original files size is the sum of the sizes registered in the database when files are ingested, without thumbnails and assets.
- The difference between disk and database is the size of the
originaldirectory minus this sum. A positive difference comes from files that are not registered (orphan files) or from media without registered size (ingested before Omeka S 1.1, counted in the tab); a negative one from missing files. - Total Omeka install size is the size of the directory where Omeka S is installed. It may be inaccurate due to permission issues.
Local sizes are computed with du when available, with a slower PHP fallback
otherwise. Remote sizes list every file of the directory, which may be slow
and billed by some providers on large buckets. A directory that cannot be read
is reported as an error rather than as an empty one.
License
Columb'O is distributed under the GNU General Public License version 3 (GPLv3).
The full text of this license is given in the LICENSE file.