Two-way sync
Changes in CockroachDB or Pigment instantly reflect in both systems. No stale data, no manual imports.
Keep CockroachDB and Pigment in sync without custom scripts. Cut weeks of integration work, eliminate silent data drift, and give your team a single, reliable source of truth.
Engineers need finance data more often than finance systems make it easy to get: for internal tools, reporting services, or logic that reacts to invoices and payments. Working through the vendor API means rate limits, pagination, and glue code that has to be maintained forever.
Stacksync mirrors Users and permissions, Applications, Metrics, Dimension lists from Pigment into Sequences, Changefeeds, Databases, Schemas in CockroachDB and keeps the two in sync bi-directionally and in real time. Your services read finance records with normal queries against CockroachDB, and rows your code writes or updates flow back into Pigment with validation, so the finance system stays the system of record.
Build dashboards and back-office tools directly on CockroachDB; Stacksync handles the API calls, rate limits, and retries against Pigment.
Updates written to the synced tables in CockroachDB propagate into Pigment, so automations can create or correct finance records without custom integration code.
Changes in Pigment appear in CockroachDB as row changes, so you can trigger downstream logic with the database tooling you already use.
Representative objects on each side — any object or custom field can map to any target. Schemas are auto-detected; types are converted between the two systems.
| CockroachDB objects | Pigment objects | How this pairing syncs | |
|---|---|---|---|
| Tables The core read/write target; rows sync bi-directionally with SaaS objects or other databases. | Tables Row-based transactional data loaded into models from source systems | Same entity on both sides — records pair one-to-one and field-level changes reconcile in both directions. | |
| Views Read-only projections used as curated sync sources. | Metrics Multidimensional values holding plans and actuals; the main target for inbound data | Views is specific to CockroachDB and Metrics to Pigment — each maps to any object or custom field on the other side. | |
| Indexes Secondary indexes that keep sync lookup queries fast on key columns. | Dimension lists Master data like accounts, products, or employees that metrics are sliced by | Indexes is specific to CockroachDB and Dimension lists to Pigment — each maps to any object or custom field on the other side. | |
| Sequences ID generators that matter when writes originate from an external system. | Scenarios Versions such as budget, forecast, and actuals that give exported figures their context | Sequences is specific to CockroachDB and Scenarios to Pigment — each maps to any object or custom field on the other side. | |
| Changefeeds Built-in CDC streams that emit row-level changes to external sinks. | Data imports Scheduled loads that bring actuals from ERPs, CRMs, and HRIS into the model | Changefeeds is specific to CockroachDB and Data imports to Pigment — each maps to any object or custom field on the other side. | |
| Databases Logical containers a sync connects to, addressed like PostgreSQL databases. | Users and permissions Access controls governing which model areas a sync can touch | Databases is specific to CockroachDB and Users and permissions to Pigment — each maps to any object or custom field on the other side. |
Each direction of the sync is driven by what the source system can signal and what the destination accepts — detection, delivery, and expected latency below.
DetectionChanges in CockroachDB are captured at the source via change data capture — no polling loop against its API. CDC via changefeeds, which stream row-level changes.
DeliveryEach detected change is written to Pigment through its API, with automatic retries and rate-limit backoff.
DetectionStacksync polls Pigment for changes on an incremental schedule, reading only records changed since the previous pass. No change feed.
DeliveryEach detected change is applied to CockroachDB as a row-level write, with types converted between the two schemas.
Real-time sync, workflow automation, event queues, EDI, and monitoring, for every CockroachDB–Pigment connection.
Changes in CockroachDB or Pigment instantly reflect in both systems. No stale data, no manual imports.
Trigger automated workflows whenever CockroachDB or Pigment data changes, update records, fire webhooks, or kick off sequences without brittle API scripts.
Handle millions of events per minute without losing a single CockroachDB or Pigment record.
Track your CockroachDB ⇄ Pigment sync health, view errors, and replay failed events in one click.
Transform legacy EDI complexity into simple database interactions between CockroachDB and Pigment.
Configure and sync within minutes, no code. Whether you sync 50k or 100M+ records, Stacksync handles the queues, infra, and plumbing. Integrations are non-invasive and need zero setup on your systems.
Authenticate CockroachDB and Pigment with each platform's native method — OAuth, API keys, or service accounts — plus secure options like SSH tunneling, IP whitelisting, and VPC peering.
Pick the CockroachDB and Pigment objects to sync — Stacksync auto-detects both schemas, including custom fields where the platform exposes them. Sync to existing tables, or let Stacksync create new ones with ideal data types.
Fields map automatically even when names and types differ. Stacksync handles transformation and type casting for you, zero configuration required.
Yes. Stacksync provides a managed, real-time two-way integration between CockroachDB and Pigment: authenticate both systems, choose the objects to sync (such as CockroachDB's Tables and Views), map fields visually, and changes propagate both ways in milliseconds — no code required.
Stacksync pricing is usage-based and starts at $1,000/month, including the managed CockroachDB and Pigment connectors, real-time two-way sync, monitoring, and support. That replaces building and maintaining a custom CockroachDB–Pigment integration in-house.
Yes — Stacksync ships production-grade connectors for both CockroachDB and Pigment. The connectors handle authentication, schema detection, rate limits, and retries; you configure the sync, and Stacksync operates it.
Change detection on CockroachDB: CDC via changefeeds, which stream row-level changes; polling as a fallback. On Pigment: No change feed; syncs run scheduled imports and exports. Each detected change propagates to the other side in milliseconds, with field-level conflict resolution and an inspectable event log.
On the Pigment side: Users and permissions, Applications, Metrics, Dimension lists, plus custom fields where Pigment exposes them. On the CockroachDB side: Sequences, Changefeeds, Databases, Schemas. Stacksync auto-detects both schemas and converts types between the two systems.
Yes. Each object mapping can be bidirectional or restricted to a single direction (both systems accept writes). Read-only mirrors, one-way pushes, and full two-way sync can be mixed in the same integration.
As a data company, we understand the importance of keeping your data secure. Stacksync is built with security best practices to keep your data safe at every layer, and is DPF-certified for US, EU, UK and CH data transfers.
Let your users access Stacksync from your centralized user management systems. Works with Okta, Azure, Google SSO and more.
Immediately get alerted about record syncing issues over email, Slack, PagerDuty and WhatsApp. Resolve issues from a centralized dashboard with retry and revert options.
Securely connects to your systems with:
Every pair below is a real-time, two-way sync. Search all 350 integrations available for CockroachDB and Pigment.