CKAN DataStore and Data API

Loading tabular resources into the CKAN DataStore, choosing a loader, and serving row-level queries, downloads and live data through the Data API.

Setting up the CKAN DataStore database and permissions

Creating the DataStore database, the write and read-only users, connection URLs and permissions with ckan datastore set-permissions, then testing the setup, and the security consequences of getting the read-only user wrong.

Migrating from DataPusher to XLoader

Replacing an unmaintained DataPusher service with XLoader: the API token XLoader needs from CKAN 2.10, running a job worker, keeping existing column types with the migrate_types command, and reloading resources.

Filtering and full-text search with datastore_search

Using datastore_search for application back ends: exact and range filters, $or groups added in CKAN 2.12, full-text search with q and full_text, PostgreSQL query syntax with plain set to false, and field selection.

Troubleshooting XLoader jobs that fail or time out

Diagnosing resources that never reach the DataStore: missing job workers, API token errors, files over max_content_length, job timeouts, SSL verification, strict type guessing failures and hash-based skipping.

Running XLoader workers on a separate server

Moving DataStore loading off the web servers: what a separate XLoader worker host needs (CKAN install, config file, Redis and database access), queue names, and sizing job timeouts for large files.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.