Two-way sync
Changes in Pigment or TiDB instantly reflect in both systems. No stale data, no manual imports.
Keep Pigment and TiDB 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 Data imports, Users and permissions, Applications, Metrics from Pigment into Tables, Views, Columns, Indexes in TiDB and keeps the two in sync bi-directionally and in real time. Your services read finance records with normal queries against TiDB, and rows your code writes or updates flow back into Pigment with validation, so the finance system stays the system of record.
Customers, invoices, and payments from Pigment live in TiDB as regular tables or collections your team can join, index, and query.
Build dashboards and back-office tools directly on TiDB; Stacksync handles the API calls, rate limits, and retries against Pigment.
Updates written to the synced tables in TiDB propagate into Pigment, so automations can create or correct finance records without custom integration code.
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.
| Pigment objects | TiDB objects | |
|---|---|---|
| Users and permissions Access controls governing which model areas a sync can touch | Columns MySQL-compatible types mapped to fields in the paired system. | |
| Applications Planning models organized by domain such as finance, sales, or workforce | Indexes Secondary indexes that keep incremental sync queries efficient. | |
| Metrics Multidimensional values holding plans and actuals; the main target for inbound data | Sequences Server-side ID generation relevant when external systems write rows. | |
| Dimension lists Master data like accounts, products, or employees that metrics are sliced by | Databases MySQL-style schemas addressed by any MySQL-compatible client. | |
| Tables Row-based transactional data loaded into models from source systems | Tables Row data stored in TiKV; the primary unit for reads, writes, and CDC. | |
| Scenarios Versions such as budget, forecast, and actuals that give exported figures their context | Views Logical views for shaping reads before syncing outward. |
Real-time sync, workflow automation, event queues, EDI, and monitoring, for every Pigment–TiDB connection.
Changes in Pigment or TiDB instantly reflect in both systems. No stale data, no manual imports.
Trigger automated workflows whenever Pigment or TiDB data changes, update records, fire webhooks, or kick off sequences without brittle API scripts.
Handle millions of events per minute without losing a single Pigment or TiDB record.
Track your Pigment ⇄ TiDB sync health, view errors, and replay failed events in one click.
Transform legacy EDI complexity into simple database interactions between Pigment and TiDB.
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 Pigment and TiDB 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 Pigment and TiDB 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 Pigment and TiDB: authenticate both systems, choose the objects to sync (such as Pigment's Users and permissions and Applications), map fields visually, and changes propagate both ways in milliseconds — no code required.
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.
Common patterns for Pigment and TiDB: Query finance data like any other data; Internal tools without API plumbing; Write back safely. Customers, invoices, and payments from Pigment live in TiDB as regular tables or collections your team can join, index, and query.
Pigment: REST-based import and export API. Authentication: API keys, issued separately for import and export. TiDB: MySQL wire protocol (SQL). Authentication: Database credentials (MySQL-compatible username/password). Stacksync manages authentication, retries, and rate limits on both sides.
Pigment: Scenario versioning (budget versus forecast versus actuals) is native to the model, so exports need a scenario context to be meaningful. TiDB: TiDB is MySQL-protocol compatible, so existing MySQL drivers, ORMs, and tools connect without modification. Stacksync's field mapping accounts for these differences between Pigment and TiDB without custom code.
Stacksync is SOC 2 Type II and ISO 27001 certified with HIPAA BAA support. Data is encrypted in transit, and a zero-persistent-storage architecture means Pigment and TiDB records are not retained after a sync operation.
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 386 integrations available for Pigment and TiDB.