XLoader vs DataPusher vs DataPusher+ for the CKAN DataStore

New CKAN portals should load DataStore tables with XLoader, the officially supported loader, because DataPusher is now legacy. This page compares XLoader, DataPusher+ and AirCan on loading behavior, column types, where they run and what each adds to operations before you choose.

On this page

XLoader vs DataPusher for the CKAN DataStore: which loader new portals need

A portal team that must make tabular resources queryable should start with XLoader. It is the officially supported tool for loading uploaded or linked files into the CKAN DataStore, and DataPusher is now legacy, so a new portal should not begin on DataPusher and plan a later move. XLoader runs as a background job worker that CKAN queues loads to, which means the decision also sets what you must run: a job worker process, a CKAN API token for XLoader to call the site, and the Redis and database access the worker needs. Put those on the build plan before the first resource is uploaded. The rest of this section covers the two alternatives, which add behavior on top of the same loading idea.

DataPusher+ is the option to evaluate if you need more than XLoader's loading path, specifically pre-processing of files before they reach the DataStore and type inference for columns. Those features matter most when source files are messy or when column types must be right on the first load. Before choosing it, confirm four things with the project and in your own test environment: which CKAN versions it supports, whether it is maintained for the CKAN release you plan to run, how its type inference handles your most irregular file, and whether it still depends on the legacy DataPusher service. If any answer is unclear, treat it as an open risk and test before adopting it.

AirCan takes a different shape: it runs loading as pipelines on Apache Airflow, so it suits a team that already operates Airflow for other data work and wants scheduling, retries and run history in one place. Adding it means operating a second scheduler, managing how pipeline code is delivered, and deciding who owns pipeline failures. Confirm before choosing: the Airflow version it targets, whether the project is maintained and against which CKAN releases, how it authenticates to CKAN, and whether its pipelines can be tested on a copy of your portal. For most new portals, the working plan is XLoader alone unless a confirmed requirement from the list above justifies adding DataPusher+ or AirCan. Check the CKAN DataStore documentation for current loader status before you finalize the design.

Comparing XLoader, DataPusher, DataPusher+ and AirCan side by side

This table compares the four loaders on status, loading method, column typing, where each runs and the operational work it adds. Read each row as a question for your portal, and treat any cell that points you to a repository as an open check, since maintenance and CKAN version support change. The main takeaway: XLoader is the supported path for most portals, DataPusher is legacy, and the other two add pipeline or pre-processing work you must own.

AspectXLoaderDataPusher and DataPusher+AirCan
StatusOfficially supported for loading files into the DataStore.DataPusher: legacy, avoid for new portals. DataPusher+: check its repository for maintenance and CKAN version support.Check its repository and docs for current status and supported CKAN versions.
Loading methodUses PostgreSQL COPY to bulk load files through a background job worker.DataPusher: pushes rows through the DataStore API. DataPusher+: adds pre-processing steps before loading.Runs loads as tasks in an Apache Airflow DAG, scheduled by Airflow.
Column typesLoads columns as text. Set types afterward with the Data Dictionary and reload.DataPusher: test type handling on your own files. DataPusher+: performs type inference, so confirm its rules in its docs.Set by the loader its DAG calls, so confirm type handling in your pipeline.
Where it runsJob worker alongside CKAN, or on a separate worker host you control.DataPusher: separate service configured against CKAN. DataPusher+: confirm its deployment model in its repository.An Airflow environment you run, separate from the CKAN web servers.
Operational workConfigure the API token XLoader needs from CKAN 2.10, and run job workers.DataPusher: plan migration of existing resources to XLoader. DataPusher+: own its upgrades and CKAN compatibility checks.Operate Airflow itself: DAG delivery, secrets, scheduling and upgrades.
Best fitMost portals that need DataStore loading with the officially supported tool.DataPusher: keeping a legacy portal running during migration. DataPusher+: pre-processing needs, once its CKAN support is confirmed.Your organization already runs Airflow and wants loads scheduled as pipelines.

How XLoader moves a file from upload to queryable table

A resource reaches the DataStore in four steps, and each step can fail on its own. When someone uploads a file or links a URL to a resource, CKAN does not parse the file itself. It records a loading job and places it on the background job queue. An XLoader worker picks up the job, fetches the file from the resource location, and parses it. XLoader is the officially supported loader in the CKAN DataStore documentation, so it is the path most portals will run. The worker then writes the rows into the DataStore's separate PostgreSQL database using COPY, PostgreSQL's bulk loading command. Check that a worker is running and consuming the queue your CKAN instance writes to. A job that is queued but never picked up leaves a resource with metadata and no data, and the portal shows no error on the dataset page.

Columns often arrive as text for a practical reason. XLoader has to decide each column's type from the values it finds in the file, and a single malformed cell can keep the whole column as text. The Data API then reads the loaded table through the read-only connection set in ckan.datastore.read_url, so public queries return the values exactly as stored. That is safe for reading, but it surprises anyone who filters a column they expect to be numeric and gets string comparisons instead. Before you publish, run a numeric or date filter against each important column through the Data API and compare the results with the source file. Confirm as well that the read-only role has only read rights, because every public query depends on it.

Reloading changes what happens to those columns. Type overrides set in the Data Dictionary are applied when XLoader loads the resource again, so a column you have corrected to a numeric or date type keeps that type on the next load, provided its values still fit. A reload without overrides can return the column to text and break queries that depend on it. For an existing portal, list the text columns that matter, set overrides for them, and use the migrate_types command to bring already-loaded resources in line. Confirm the exact syntax and behavior of that command in the XLoader documentation for the version you run. Reload one resource first and repeat the numeric filter test before you reload the rest of the catalog.

The loader writes to the DataStore, and the Data API only reads

The diagram starts when someone uploads a file or adds a link to a resource in CKAN. The web tier creates a load job and places it on the job queue. An XLoader worker takes the job, which may run on its own host, and writes the rows into the DataStore PostgreSQL database through the write user. The Data API, served from the web tier, reads those tables through the read-only user. Check that the worker host can reach both the queue and the database, and that the two database roles stay separate across the boundary.

Loads flow from CKAN through the queue to the DataStore.

Setting up XLoader for the CKAN DataStore on a new portal

This sequence takes a new CKAN portal from a version check to a sample CSV that XLoader has loaded into the DataStore, with its column types and preview confirmed. Each step ends with a check you can run yourself, so a fault shows up where it starts. Confirm exact key names and commands against the docs for your CKAN version before you run them.

  1. Confirm the CKAN version and install path

    Record the CKAN minor and patch version, the install method (source, package or container) and the operating system. CKAN 2.12.0 was released on August 26, 2026, and the release policy determines which patch lines still receive fixes, so follow the docs for your exact version. Check the prerequisites in the CKAN install from source guide: Python 3.10 or newer, PostgreSQL 12 or newer, Solr 9 (recommended) or Solr 8, and Redis. This step is done when ckan --version reports the expected version and your deployment record matches it.

  2. Create the DataStore database and users

    The platform or database team creates a separate PostgreSQL database for the DataStore, plus a write user and a read-only user, following the DataStore documentation for your version. Then run ckan datastore set-permissions so CKAN grants the read-only user access to the tables without write rights. Keep this database separate from the main CKAN database and store both passwords in your secrets manager. The check: connect as the read-only user, confirm a SELECT succeeds, and confirm that an INSERT or CREATE is refused. If the read-only user can write, stop and fix the grants before loading any data.

  3. Configure the DataStore connection URLs

    Add the write and read-only connection URLs to the CKAN configuration file, using the key names listed in the DataStore docs for your version. Restart the CKAN web process so the new settings load. Confirm that CKAN starts without database errors in its log. The check: call datastore_search against an empty or test resource and confirm it returns a normal result instead of a connection or permission error.

  4. Create an API token for XLoader

    From CKAN 2.10 onward, XLoader calls the CKAN API with an API token, so create a dedicated user for XLoader and generate a token for it. Check which permissions your XLoader version expects from that account, because the token can only do what the account's roles allow. Store the token outside version control and place it in the XLoader setting in the CKAN configuration file, confirming the key name in the XLoader documentation for your version. The check: send an authenticated request with the token to user_show for that account and confirm the account details return, not an authorization error.

  5. Run an XLoader job worker

    Start a background job worker that consumes the XLoader queue, because uploads are queued and nothing loads without a worker. Run ckan jobs worker with the queue your XLoader version uses, and keep the process under a supervisor such as systemd so it restarts after a reboot. The check: run ckan jobs list and confirm the worker appears, then read the worker log and confirm the startup lines show no errors.

  6. Load a sample CSV through XLoader

    Create a test dataset and upload a small CSV that includes a header row, a text column, an integer column, a decimal column and a date column. Upload it as a file so XLoader handles the resource, then wait for the job to finish. The check: the resource page shows a DataStore preview tab, and a datastore_search call on the resource returns the expected row count. If the job fails, read the worker log before you reupload the file.

  7. Check column types and the preview

    Compare the fields list returned by the DataStore with the type you expected for each column. XLoader's text columns mean numbers and dates may arrive as text, so check each one and decide whether to keep the text type or add a type override through the Data Dictionary before you publish. Open the preview on the resource page and confirm the first rows match the source file. The step is done when every column type is either correct or a deliberate choice you have recorded, and the preview matches the CSV.

Security risks when loading files into the CKAN DataStore

Every loader sits between uploaded or linked files and a database your users can query, so the risks cluster around credentials, database roles, outbound fetches and code that runs on the data. The cards below name what to check in each area and who in your organization should own each check before a loader goes into production.

API token and its scope

XLoader calls back into CKAN with an API token from CKAN 2.10 onward, so whoever holds that token can act through the API with the rights of its owner account. Check which user owns the token, whether that account is a sysadmin, and whether the token is stored only where the loader needs it. Confirm the minimum permissions the loader needs with the XLoader documentation before you issue the token. The CKAN platform administrator should own this check, and rotate the token when staff who created it leave.

Write and read-only database users

The DataStore keeps loaded tables in a separate PostgreSQL database with a write user and a read-only user, and the public Data API should only ever use the read-only role. Check that the query-serving settings in the CKAN site configuration point only to the read-only connection, and that this user has no insert, update, delete or DDL rights. Run ckan datastore set-permissions and test with a write attempt as the read-only user. A database administrator and the CKAN administrator should own this check together.

DataStore docs

Fetching linked files from remote hosts

Linked resources make the loader an outbound HTTP client that follows URLs chosen by dataset editors, so a malicious or careless link can point at an internal host. Check that SSL verification stays on for every source, that the file size limit (max_content_length) matches what your portal expects, and that the worker's network rules allow only the hosts you intend to reach. The network or security team should own the egress rules, and the CKAN administrator should own the size and verification settings.

Unmaintained DataPusher service

DataPusher is now legacy, and a DataPusher service left running keeps a separate component on your network with its own dependencies and no current maintenance. Check which loader each portal's configuration names, whether any resource still depends on the old service, and whether that host accepts traffic only from the CKAN servers that need it. Track the move to XLoader as a named task with an owner, and remove the old service once the last resource is reloaded.

Pre-processing code during loads

DataPusher+ runs pre-processing code and type inference on the file before it reaches the table, so any custom or third-party step runs inside the loader with access to the file contents and whatever credentials the loader holds. Check where each step comes from, who reviewed its code, which pinned version is deployed, and which credentials and network routes the loader process can use. Keep the step list in version control and repeat this review after each upgrade. The application security lead should own the code review, and the platform team should own the runtime permissions.

Choosing a CKAN DataStore loader by portal situation

A new portal with no existing loader should start with XLoader. The CKAN DataStore documentation identifies XLoader as the officially supported tool for loading uploaded or linked files into the DataStore, so starting there avoids building on the legacy DataPusher service. The work is an initial setup, and most of the effort sits in worker capacity, the API token and staging tests.

  • Install and enable XLoader: add the extension to the CKAN configuration and plugins list, then confirm it loads on the CKAN version you plan to run.
  • Create an API token for XLoader: on CKAN 2.10 and later, XLoader authenticates with an API token, so decide which account owns it and how the token is stored.
  • Run a job worker: loading happens in background jobs, so at least one worker must run on a host that can reach the DataStore database and the file storage.
  • Set file size and timeout limits: decide the largest upload you will accept, then test loading at that size before you publish.
  • Plan column types early: XLoader can load columns as text, so decide which columns need Data Dictionary type overrides before publishing.

Before committing, confirm the CKAN version you will run, where the worker will be hosted, and whether any of your files need pre-processing or type inference that XLoader alone will not provide.

What to confirm before committing to a loader

Each card is a question your team can answer in a test environment before choosing a loader. The answers decide whether XLoader, DataPusher+ or AirCan fits your portal, your files and your staff's time. Run each check on your largest and messiest resources.

Is DataPusher+ and AirCan still maintained?

Ask whether each tool has active upstream development and a release that supports your CKAN minor version. Check the commit history, release tags and open issues of the DataPusher+ and AirCan repositories, and confirm which CKAN versions each one declares. CKAN's DataStore documentation names XLoader as the officially supported loader, so any other choice needs a written maintenance plan from you or your implementation partner.

DataStore docs

Do large resources fit the limits?

What happens to your largest resource when the load runs past the limit? Find the upload size ceiling your CKAN instance enforces and the job timeout on the worker that runs the load. Then load your biggest file in staging and record elapsed time and memory use. Resources that fail mid-load can leave partial tables, so confirm how each loader cleans up after a timeout and whether a retry starts from zero.

Where does strict type inference fail?

Which columns will the strict type guess reject? Run a sample of each file through the loader with strict inference enabled. Look for leading zeros in codes, empty strings in numeric columns, mixed date formats and values that change type partway down the file. Record which columns fail and what the loader does with them, whether it stops the job, skips rows or falls back to text, and confirm that behavior in your version before relying on it.

Do installed versions match the install docs?

Do your Python, PostgreSQL, Solr and Redis versions match what the install guide requires for your CKAN release? The source install guide sets minimum Python and PostgreSQL versions, recommends Solr 9 with Solr 8 as the alternative, and lists Redis as a requirement. Compare the versions on every host, including the worker host, against that page. Version mismatches often appear only when a loader job runs, so test a full load before go-live.

Minimum Python
3.10
Minimum PostgreSQL
12
Install from source docs

How much type override work per reload?

How many columns will your team retype by hand after each reload? Reload a staging copy of a resource and count the columns that return to text or to an inferred type nobody intended. Compare that list with your Data Dictionary entries, since overrides set once may need reapplying after every reload. Multiply the count by how often your team reloads resources to size the ongoing review effort.

What buyers ask about CKAN DataStore loader work

What drives the cost of a DataStore loader choice or migration?

The cost depends mostly on how many resources you load, how varied their formats and column types are, and how much existing DataStore data must be kept. Each part has a different payer. Your organization pays for internal staff time spent on data owner decisions, access, and sign-off. A fixed-scope partner fee covers only the work listed in the written scope, such as worker changes, type review, reloads, testing and documentation. Recurring costs are the job worker hosts, Solr, PostgreSQL and Redis you already run, plus any retainer for ongoing support or upgrades. Ask for one-time work and recurring operations to be priced separately so you can compare options on the same basis.

How long does a CKAN DataStore loader migration take?

The duration depends on the number of resources, the size of the largest files, how many resource types need column type review, and how many environments must be tested before production. No duration is given here because it depends on your portal. Most projects follow the same phases: an inventory of resources, a test environment running the chosen loader, a pilot reload of representative files, and then the production cutover with reloads of affected resources. Internal review of column types and approval windows often set the pace more than the technical installation does. DeployOpen agrees timelines in writing before work starts, so confirm each phase, its dependencies and the decision owners in the written scope.

What does the customer team need to provide for a loader project?

Your team needs to provide the following before work starts:

  • Sysadmin access to the CKAN site, plus access to the configuration file and to the server or container settings for the web, worker and database tiers.
  • A list of datasets and resources that must load into the DataStore, with owners who can explain what each column means.
  • A non-production copy of the portal and its database for testing, with representative files.
  • Decisions on column types, text fallbacks, and which tables must stay public.
  • Access to the Solr, Redis, PostgreSQL and job worker hosts, and a change window for production reloads.

The project moves faster when these items are named in the scope and assigned to a person who can approve them.

Can an internal team set up XLoader or DataPusher+ without a partner?

Yes, an experienced internal CKAN team can do the work alone if it has the skills and time, and the official documentation covers the core steps. The work touches several services: CKAN configuration, a job worker, the DataStore database and its permissions, Solr, Redis, and any extension that changes how loading behaves. The skills needed include CKAN administration, Python, PostgreSQL, and Linux service management. Many teams find that testing and reload planning take more care than installation, especially for large or inconsistent files. A partner can take a scoped part of the work, such as a worker build or a retest, while your team keeps ownership of the portal afterward. Confirm your skill gaps before deciding who does what.

Are DataPusher+ or AirCan worth adding to an XLoader setup?

Add either one only when a specific need is documented and tested, such as pre-processing or type inference that XLoader does not provide for your files. DataPusher+ adds pre-processing and type inference to the loading path, so check its compatibility with your CKAN version and extension set before committing. AirCan runs loading as pipelines on Apache Airflow, which adds a scheduler, DAG delivery and secrets handling to operate. That is a significant operational commitment, so it fits portals that already run Airflow for other pipelines. Confirm the current maintenance status and supported CKAN versions with each project before planning. A written pilot on your largest and most irregular files shows whether the extra layer justifies its operating cost.

What should a written quote for CKAN loader work include?

A written quote should follow from a written scope that names the CKAN and extension versions, the loader choice, the resources in scope, and the deliverables. DeployOpen engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, and DeployOpen does not publish a price list. Ask the quote to show which environments and hosts will change, the resource count and file size assumptions, how testing and rollback work, who performs type review and reloads, and what documentation and handover are included. Also ask which costs are one-time and which recurring, including any retainer for upgrades or support, and how changes to scope are priced during the work.

How DeployOpen scopes and supports a CKAN DataStore loader

DeployOpen approaches the choice between XLoader, DataPusher and DataPusher+ as a scoping decision tied to your CKAN version, file types and how often tables change. XLoader is the officially supported loader for the CKAN DataStore, while DataPusher is legacy, so the scope begins by confirming which loader your portal runs and what it must replace. The work is planned, built and handed over inside your own infrastructure, with the written scope agreed before any changes begin.

How we scope

  • Confirm your CKAN version, Python, PostgreSQL and Solr versions before choosing a loader.
  • Inventory the file formats, sizes and update frequency of every resource that must reach the DataStore.
  • Fixed-scope written agreement lists the loader, deliverables, test resources and acceptance checks before work starts.

How we build

  • Install and configure XLoader with a job worker, then load representative test files in a staging CKAN.
  • Test type handling and text columns on messy sample data, and record which columns need Data Dictionary overrides.
  • Keep the loader, CKAN and extension versions pinned so upgrades and reloads are repeatable inside your infrastructure.

How we hand over

  • Documented runbook covering job worker setup, API token handling, the read-only DataStore user and reload steps.
  • Test evidence for each loaded resource, including row counts and the DataStore query checks agreed in scope.
  • Walkthrough for your platform and security teams on reloads, monitoring and access settings.

How we support

  • Optional retainer covers upgrades, loader patches and CKAN release changes after go-live.
  • Re-test loader behavior after CKAN minor releases, since minor releases may include backwards-incompatible changes.
  • Ask for support terms in writing, including response expectations and what the retainer excludes.

Sources and further reading

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.