मुख्य सामग्री पर जाएँ
Skillpedia
डेटाबेस41k · #6971

tuning-incremental-sync-config

यह क्या करती है

यह स्किल एजेंट को PostHog वेयरहाउस से पहले से जुड़ी टेबल की सिंक सेटिंग बदलने देती है। यह उन लोगों के लिए है जिनकी टेबल बहुत बार, बहुत धीमी गति से, या गलत ट्रैकिंग फ़ील्ड के साथ सिंक होती है।

कब इस्तेमाल करें

  • ✓जब आप किसी टेबल को पूरे रीफ़्रेश से इंक्रीमेंटल सिंक पर बदलना चाहें।
  • ✓जब कोई टेबल बहुत धीमी या बहुत बार सिंक हो और आप उसका शेड्यूल बदलना चाहें।
  • ✓जब स्रोत टेबल बदल गई हो और उसकी सिंक सेटिंग भी अपडेट होनी हो।

Skill का लिंक

https://github.com/PostHog/posthog/blob/master/products/warehouse_sources/skills/tuning-incremental-sync-config/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/PostHog/posthog/blob/master/products/warehouse_sources/skills/tuning-incremental-sync-config/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“कृपया मेरी orders टेबल को सिर्फ़ नई पंक्तियाँ सिंक करने पर बदलिए और शेड्यूल ऐसा कीजिए कि वह दिन में एक बार चले।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट टेबल की मौजूदा सेटिंग पढ़ता है और आपके माँगे गए बदलाव लागू करता है। ज़्यादातर बदलाव अगले सिंक से लागू हो जाते हैं, लेकिन प्राइमरी की बदलने जैसे कुछ बदलावों में डेटा खराब होने से बचाने के लिए अतिरिक्त सावधानी चाहिए।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Tuning incremental sync config

A sync's configuration lives on the ExternalDataSchema and can be changed any time via external-data-schemas-partial-update. Most changes are non-destructive (take effect on the next sync), but a few (switching sync_type, changing primary keys) require careful handling to avoid corrupting the synced data.

When to use this skill

  • The user wants to change how an already-connected table is synced
  • A diagnosis flagged the incremental field or primary key as wrong
  • The table is syncing too often / not often enough
  • Switching an incremental table to CDC (or vice versa)
  • The source table was changed on the other side (new columns, dropped columns) and the sync config needs to catch up

If the user is setting up a brand-new source, use setting-up-a-data-warehouse-source instead — configuration is chosen at creation time there.

Available tools

Tool Purpose
external-data-schemas-retrieve Current sync_type, incremental_field, PKs, sync_frequency
external-data-schemas-incremental-fields-create Refresh candidate incremental fields from the live source
external-data-schemas-partial-update Apply the config change
external-data-schemas-reload Trigger a sync with the new config
external-data-schemas-resync Wipe and re-import from scratch when the change invalidates existing data
external-data-schemas-delete-data Drop the synced table while keeping the schema entry
external-data-sources-check-cdc-prerequisites-create Pre-flight Postgres CDC (only when switching to/from CDC)
external-data-sources-webhook-info-retrieve Current webhook state (when switching to/from sync_type=webhook)
external-data-sources-create-webhook-create Register a webhook after switching a schema to sync_type=webhook
external-data-sources-update-webhook-inputs-create Rotate a webhook signing secret
external-data-sources-delete-webhook-create Unregister webhook when switching schemas off sync_type=webhook

The fields you can tune

From the partial-update endpoint:

Field Values Notes
sync_type full_refresh, incremental, append, cdc, webhook Source must support the target type — check via incremental-fields
incremental_field Column name from the source Must appear in incremental_fields list for the schema
incremental_field_type datetime, date, timestamp, integer, numeric, objectid Must match the column's real type
primary_key_columns Array of column names Required for CDC. Used for upsert dedup on incremental
cdc_table_mode consolidated, cdc_only, both Only meaningful when sync_type=cdc
sync_frequency 5min, 15min, 30min, 1hour, 6hour, 12hour, 24hour, 7day, 30day, never How often the table syncs. CDC: how often changes load, 7day max
sync_time_of_day HH:MM:SS When sync_frequency is daily/weekly-scale
should_sync true / false
अक्सर पूछे जाने वाले सवाल

क्या सिंक सेटिंग बदलने से मेरा डेटा मिट जाएगा?

ज़्यादातर बदलाव सुरक्षित हैं और अगले सिंक में लागू होते हैं। कुछ बदलावों को पहले से सिंक हुए डेटा को नुकसान से बचाने के लिए सावधानी से संभालना पड़ता है।

क्या मैं किसी टेबल को change data capture मोड पर बदल सकता हूँ?

हाँ। यह स्किल इंक्रीमेंटल और change data capture सिंक मोड के बीच बदलाव को कवर करती है।

क्या इसे नए स्रोत के लिए इस्तेमाल करना चाहिए?

नहीं। नए स्रोत की सेटिंग सेटअप के समय चुनी जाती है, इसलिए वहाँ सोर्स सेटअप वाली स्किल सही है।

जानकारी

लेखक का मूल विवरण

Change the sync configuration of an existing data warehouse schema — switch sync_type, pick a different incremental_field, set primary_key_columns, choose cdc_table_mode, or change sync_frequency. Use when the user asks "switch my orders table from full refresh to incremental", "this table is syncing too slowly / too frequently", "I need to pick a different incremental column", "set up CDC for this Postgres table", or when diagnosis of a failing sync pointed to an incremental-field or PK misconfiguration.

repo: PostHog/posthog

लोकप्रियता

GitHub स्टार
41k
रैंकिंग में स्थान
#6971
लाइसेंस
—
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

depot-ci

41k

यह आपके एजेंट को Depot CI वर्कफ़्लो सेट अप करने, चलाने और माइग्रेट करने में मदद करती है, साथ ही रन के लॉग पढ़ने में।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

depot-container-builds

41k

यह आपके एजेंट को Depot के रिमोट बिल्डर पर Docker इमेज बनाने में मदद करती है, जिसमें मल्टी-प्लेटफ़ॉर्म इमेज और बिल्ड सुधार शामिल हैं।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

depot-github-runners

41k

यह आपके एजेंट को GitHub Actions जॉब Depot के मैनेज्ड रनर पर ले जाने, रनर का साइज़ और लेबल चुनने, और रनर सेटअप की समस्याएँ ठीक करने में मदद करती है।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

editing-agents-md

41k

यह आपके एजेंट को तय करने में मदद करती है कि कोई नियम AGENTS.md या CLAUDE.md में जाए या नहीं, और उसे ऐसे लिखे कि फ़ाइल भारी न हो।

AI और एजेंटएजेंट

मिलती-जुलती skills