Logo Data Skew And Sharing Performance

Data Skew And Sharing Performance

Cộng đồng
PranavNagrecha
data-skew-and-sharing-performance

Diagnose and mitigate Salesforce data skew — ownership skew (single user owns >10,000 records) and parent-child skew (>10,000 children under one parent) — that cause sharing recalculation slowness, group membership lock errors, and record-level locking failures. Covers lookup skew and UNABLE_TO_LOCK_ROW, Defer Sharing Calculation (deferGroupMembership / deferSharingRules in Sharing.settings), ownership bucket groups, Controlled by Parent OWD, Bulk API serial vs parallel concurrency for skewed loads, and the documented load ordering for roles, groups and sharing rules. NOT for planning and batching a recalculation job — use data/sharing-recalculation-performance. NOT for designing the sharing model itself — use admin/sharing-and-visibility.

Tổng quan

Nhà phát hànhPranavNagrecha
Kho mãAwesomeSalesforceSkills
Tên kỹ năngdata-skew-and-sharing-performance
Sao
26
Bản fork
5
Tệp đi kèm
7
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 7 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được PranavNagrecha công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Data Skew And Sharing Performance trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/admin/data-skew-and-sharing-performance
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/PranavNagrecha/AwesomeSalesforceSkills.git /tmp/AwesomeSalesforceSkills
mkdir -p .claude/skills
cp -r /tmp/AwesomeSalesforceSkills/skills/admin/data-skew-and-sharing-performance .claude/skills/data-skew-and-sharing-performance
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Data Skew And Sharing Performance trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Data Skew And Sharing Performance ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Data Skew And Sharing Performance với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Data Skew and Sharing Performance

Use this skill when users report slow sharing recalculations, group membership lock errors, or degraded performance when updating records owned by a small number of users or parented under a single account. This skill diagnoses ownership skew and parent-child skew and recommends targeted mitigations.


Before Starting

Gather this context before working on anything in this domain:

  • Identify which objects are suspected: note API names and approximate record counts.
  • Find the ownership distribution: run a report grouped by Record Owner on the suspect object, sorted descending. Flag any user or queue owning more than 10,000 records of a single object.
  • For parent-child skew: run a report on the child object grouped by parent (Account, Case, etc.). Flag any parent that has more than 10,000 children.
  • For lookup skew: group the object by each custom lookup field's value, not just by parent. Flag any single target record that most records point at, and record whether that object takes concurrent high-volume inserts or updates — concurrency is what turns lookup skew into lock failures.
  • Know the current OWD for affected objects: Private OWD combined with a role hierarchy amplifies recalculation cost.
  • Know whether the org uses sharing rules sourced from roles or public groups — these are the triggers for recalculation fan-out.

Questions to Ask Before Configuring

Ask these before the change window is booked. Every one of them has a documented behaviour behind it, and skipping any one produces a remediation that deploys cleanly and still takes the org down.

AskWhy it mattersWhat a good answer adds
"What is the top owner's record count, and does that user hold a role today?"Removal from a role costs the same recalculation as addition; the LDV guide's ceiling is "Avoid having any user own more than 10,000 records" (ldv.txt L1033)The ownership row of the skew plan, and whether the fix is buckets or role removal
"Is the write volume against the skewed parent or lookup concurrent, or does one job own the window?"Lookup skew with low concurrency causes no locking at all — concurrency is the diagnosis, the count is only the symptomA remediate/monitor decision, so effort goes to the skew that is actually failing
"What manual shares, sharing rules, and Apex-managed shares exist on the child object today?""Controlled by Parent" removes every independent child grant, and manual shares can't be retrieved or deployed (api_meta.txt L129249)The access-loss inventory that has to be re-granted, and whether the OWD change is viable at all
"Has Support enabled Defer Sharing Calculation in this org, and who holds the permission?"The feature is off by default and needs a Support case (api_meta.txt L127000) — a deploy of deferGroupMembership into an unprovisioned org is a no-opA booked lead time, or a plan that does not depend on deferral
"Which API is the load using — Bulk API 2.0 or Bulk API v1?"Bulk API 2.0's concurrencyMode is "Reserved for future use… only parallel mode is supported" (api_asynch.txt L3050) so serial is unavailable thereThe right API chosen before the runbook is written, not after the first lock failure
"Can the load file be sorted by parent id before submission?""group records by the field ParentId in the same batch to minimize locking conflicts" (ldv.txt L894) is cheaper than serial mode and costs no throughputA sort step in the ETL that removes most contention without slowing the job
"Is this a first load into an empty org, or remediation of a live one?"Public Read/Write during initial load to skip sharing computation (ldv.txt L852) is only available to the first case; live orgs get deferral and sequencing insteadThe correct branch of the load-ordering plan in references/metadata-examples.md § 7

What a proper configuration adds over just reassigning the records: the ownership buckets, sharing rules, OWD and indexed load keys deploy as reviewed metadata with a suspend-and-resume pair around them, the load runs in an API and concurrency mode that can actually honour the lock constraints, and the post-change queries prove that group membership landed and implicit parent shares went away — instead of a green deploy over four empty groups.


Core Concepts

Ownership Data Skew

Ownership data skew occurs when a single user or queue owns more than 10,000 records of a single object. This is the most common performance trap for orgs that park records under a catch-all user (e.g., an "Unassigned Leads" queue or a single integration user that owns all migrated records).

Why it causes problems: When a user moves in the role hierarchy — or is added to or removed from a public group that is the source of a sharing rule — Salesforce must update the sharing table entries for every record that user owns. With 50,000 records owned by one user, a single role change triggers 50,000 sharing table recalculations. This can produce long-running background jobs, "Group membership operation already in progress" errors, and lock contention that blocks other sharing operations.

The 10,000-record threshold: Salesforce documents this explicitly in the Designing Record Access for Enterprise Scale guide, and the Best Practices for Deployments with Large Data Volumes guide states the same ceiling as a general best practice: under the goal "Avoiding sharing computations", the practice is "Avoid having any user own more than 10,000 records." (ldv.txt L1033). Below 10,000 records per owner, most sharing operations complete quickly. Above this threshold, any change that triggers recalculation for that owner becomes a risk. Treat it as a guideline, not an enforced cap — the platform does not block ownership above it.

Parent-Child Data Skew

Parent-child data skew occurs when a single parent record (typically an Account) has more than 10,000 child records (Contacts, Cases, Opportunities, or other related objects). This is often seen in "catch-all" accounts created to park unassociated contacts from marketing imports.

Why it causes problems: Salesforce maintains implicit sharing — when a user gains access to a child record (e.g., a Contact), the system automatically grants that user read access to the parent Account. When that user later loses access to the child, Salesforce must scan all other children of that parent to determine whether the implicit parent share should be retained or removed. With 300,000 contacts under one account, this scan becomes expensive and can cause lock contention and performance degradation on every access change operation.

The implicit sharing chain: This is not just a bulk data load problem — even a single-record update that changes ownership of a child record will trigger this scan if the parent is highly skewed. The implicit share is visible in the share table: AccountShare.RowCause value ImplicitParent means "The User or Group has access because they're the owner of or have sharing access to records related to the account, such as opportunities, cases, contacts, contracts, or orders." (object_reference.txt L17743). Note that ImplicitParent, Manual, and Owner shares "are compressed into one record with the highest level of access" (object_reference.txt L17816), so counting share rows understates how many grants were evaluated.

The documented mitigation is arithmetic, not architecture: "Distribute child records so that no parent has more than 10,000 child records. For example, in a deployment that has many contacts but does not use accounts, set up several dummy accounts and distribute the contacts among them." (ldv.txt L1052–L1056). The related-list rendering symptom is a documented case study of the same cause, and the interim relief there was the Enable Separate Loading of Related Lists setting, which lets the account detail render while the related list query is still running (ldv.txt L1173–L1177) — relief, not a fix.

Lookup Skew

Salesforce's Large Data Volumes module defines data skew as "more than 10,000 child records are associated with the same parent record within an org" and names three variants — account data skew, ownership skew, and lookup skew: "a very large number of records are associated with a single record in the lookup object." Lookup skew is the variant most often left out of a skew audit.

Why it causes problems: This is a write-time problem, not a query-time one. "Every time a record is inserted or updated, Salesforce must lock the target records that are selected for each lookup field; this practice ensures that, when the data is committed to the database, its integrity is maintained." Concurrent DML against records sharing one lookup target therefore serialises on that target row and fails with UNABLE_TO_LOCK_ROW, the API status code for "A deadlock or timeout condition has been detected." If one record in a batch can't be locked, the entire batch fails, and the error message carries the IDs of the records that could not be locked, when available.

Lock duration is your own code: "Locks are held the entire time your custom code is executing," so triggers, flows, and roll-ups firing on the child object widen the window in which a competing transaction collides.

Skew alone is not the diagnosis: "Lookup skew under certain usage patterns may not cause any problem at all." A concentrated lookup with low concurrent write volume is fine. Confirm concurrency before remediating.

Group Membership Locking

Salesforce uses table-level locks to protect the integrity of group membership data during updates. When a role change, sharing rule recalculation, or user provisioning operation holds these locks for a long time (driven by data skew), other concurrent operations — such as admins updating user roles or integration processes provisioning new users — will fail with "could not obtain lock" or "Group membership operation already in progress."

Granular locking (enabled by default): Salesforce enables granular locking by default, which allows some concurrent group operations when there is no hierarchical relationship between the affected roles or groups. However, operations like role reparenting still block most other group updates, regardless of granular locking.

Peak-risk windows: These errors are most likely during organizational realignments (end-of-quarter, end-of-year) when many account assignments and role changes happen simultaneously.


Common Patterns

Pattern 1 — Distribute Ownership to Reduce Skew

When to use: You have identified a user or queue that owns more than 10,000 records. You cannot redesign the data model but can re-distribute ownership.

How it works:

  1. Identify the top-skewed owners using a record count report grouped by owner.
  2. Reassign records in batches — avoid bulk-reassigning all records at once, which itself triggers recalculation. Use Apex batch jobs or Data Loader scheduled in off-peak hours.
  3. For "parking lot" users (integration users, unassigned queues), create multiple queues and distribute records across them to keep each under 10,000.
  4. If the parking-lot user must retain ownership (business requirement), remove them from all roles. A user with no role cannot trigger role-hierarchy-based sharing recalculations. As documented in the Designing Record Access for Enterprise Scale guide: place these users in a role at the very top of the hierarchy and never move them, or remove them from the role hierarchy entirely.

Why not a single catch-all user: Every time that user is added to or removed from a public group, or their role changes, the entire set of owned records must be recalculated.

Pattern 2 — Break Up Skewed Parent Accounts

When to use: A single Account has more than 10,000 child records (Contacts, Cases, etc.) — typically from a marketing import or a "catch-all" account pattern.

How it works:

  1. Identify skewed accounts using a SOQL count query: SELECT AccountId, COUNT(Id) FROM Contact GROUP BY AccountId HAVING COUNT(Id) > 10000
  2. Create segmentation accounts (e.g., by region, import batch, or lifecycle stage) to split the children.
  3. Re-parent children in batches to keep each account below 10,000 children.
  4. Where possible, configure child object OWD as "Controlled by Parent" — this disables implicit parent sharing and eliminates the scan-on-access-change entirely. Only use this when the child's sharing model can truly follow the parent.

Why not keep one large parent: Every access change to any of the children forces Salesforce to scan all sibling records to maintain implicit sharing integrity.

Pattern 3 — Sequence Maintenance Operations to Avoid Lock Contention

When to use: You have ongoing integrations or batch processes that update role/group structure concurrently, causing lock errors.

How it works:

  1. Schedule role hierarchy and public group maintenance processes in non-overlapping time windows.
  2. Add retry logic to integrations: if a "lock" error is returned, wait and retry — do not surface it immediately as a hard failure.
  3. Reorganise the batches before reaching for serial mode: "group records by the field ParentId in the same batch to minimize locking conflicts" (ldv.txt L894–L896). The Bulk API guide's own preference is to "Avoid processing data in serial mode unless you know that parallel mode would otherwise result in lock timeouts and you can't reorganize your batches to avoid locks" (api_asynch.txt L4993–L4995).
  4. If serial concurrency is genuinely needed, use Bulk API v1 and set JobInfo.concurrencyMode to Serial. Bulk API 2.0 cannot do this — its concurrencyMode is "Reserved for future use… Currently only parallel mode is supported… The mode isn't user configurable." (api_asynch.txt L3050–L3054). Salesforce names four operations as likely to need it: creating users, updating ownership for records with private sharing, updating user roles, and updating territory hierarchies (api_asynch.txt L5010–L5015) — a skew remediation is mostly the middle two.
  5. Avoid running user provisioning at the same time as deployments that update group membership or include Apex tests that modify sharing structures.

Decision Guidance

SituationRecommended ApproachReason
Single user owns >10,000 records, user has a roleDistribute ownership across multiple users/queuesRole presence makes any role change trigger fan-out recalculation
Single user owns >10,000 records, business requires single ownerRemove user from role hierarchyNo role = no role-based sharing recalculation triggered
Account has >10,000 child records, child sharing can follow parentSet child OWD to "Controlled by Parent"Disables implicit sharing scan entirely
Account has >10,000 child records, child needs independent sharingSplit children across multiple parent accountsKeeps implicit sharing scan bounded per parent
Concurrent inserts/updates fail with UNABLE_TO_LOCK_ROW on a low-cardinality custom lookupDistribute across more lookup values first; leave the field blank where it does not apply rather than pointing records at a catchallThe lookup target row is locked per DML — fewer records per target means less contention, and distribution is reversible
Lookup values are few, static, and the target object holds no other data anyone readsReplace the lookup with a picklistRemoves the target-record lock entirely; generally not available if the lookup records carry additional fields and other data
Lock errors during end-of-quarter role updatesSequence operations in non-overlapping windows + add retry logicLocks are held briefly but amplified by concurrent volume
New data import would create skewDistribute across multiple owners/parents during importPrevention is cheaper than remediation

Recommended Workflow

  1. Measure all three skews before naming one. Run the three GROUP BY diagnostics and the GROUP BY ROLLUP distribution query in references/metadata-examples.md § 6 — by OwnerId, by parent id, and by each custom lookup field. Record the counts in templates/data-skew-and-sharing-performance-template.md and save the same numbers as skew-plan.json for the checker.

  2. Weight each hit by write concurrency, then classify. A lookup target holding 900,000 rows on an object nobody writes concurrently is a finding, not an incident. Use the Decision Guidance table below to pick the pattern per hit, and check the count against the optimizer's selectivity thresholds in references/metadata-examples.md § 6 to see whether reads are affected too or only writes.

  3. Answer the Questions to Ask above before designing. In particular, confirm whether Defer Sharing Calculation exists in the org and which Bulk API the load uses — both change the shape of the plan, and both have weeks-long lead times if the answer is no.

  4. Write the metadata, not just the advice. Build the Sharing.settings suspend/resume pair, bucket Group files, per-bucket SharingRules, sharingModel changes and External Id load keys from references/metadata-examples.md §§ 1–5. Every bucket group needs a paired GroupMember load step — group membership does not travel with the metadata.

  5. Lint the package and the plans. Run python3 scripts/check_data_skew_and_sharing_performance.py --manifest-dir <dir> --skew-plan skew-plan.json --job-plan bulk-job-plan.json. It flags parents and owners over the guide's ceiling, bucket groups with no membership step (whether the group is used by a sharing rule or by a queue's queueMembers), criteria rules filtering on fields that carry no index, and Bulk jobs set to parallel against a skewed target. Exit code reflects severity, not raw finding count: it exits 1 only on an ERROR-class finding (unparseable metadata, a named --skew-plan/--job-plan file that is missing, or a Bulk API 2.0 job pinned to concurrencyMode=Serial) or when --manifest-dir does not exist; a clean run that is all INFO/WARN — e.g. every bucket group already referenced by a queue — prints its findings and exits 0. Pass --strict in a gate that should also fail on WARN.

  6. Sequence the execution in the documented order. Follow the load-ordering table in references/metadata-examples.md § 7 — roles, then record data, then groups and queues, then sharing rules one at a time — with deferral suspended around it and the resume as its own deploy.

  7. Verify with the post-change queries, then walk the Review Checklist. EntityDefinition for the OWD, GroupMember counts per bucket, and AccountShare grouped by RowCause to confirm ImplicitParent shares actually went away. Record deviations and their business reason in the template.


Review Checklist

Run through these before marking work in this area complete:

  • No single user or queue owns more than 10,000 records of any single object.
  • No single Account (or other parent) has more than 10,000 child records in any child object.
  • No custom lookup field concentrates the bulk of an object's records on one or two target records where concurrent write volume is high.
  • "Parking lot" users that must hold large record counts are placed outside the role hierarchy (no role assigned) or at the top of the hierarchy and never moved.
  • Child objects where sharing can follow the parent are configured as "Controlled by Parent" OWD.
  • Integration processes that update role/group structure include retry logic for lock errors.
  • Bulk reassignment operations are batched in off-peak windows, not run in one large transaction.
  • Sharing recalculation background jobs are monitored after any large role or ownership change.
  • Defer Sharing Calculation is confirmed provisioned in this org (it needs a Support case) before any runbook step depends on it, and the resume is a deployable Sharing.settings file rather than a Setup click.
  • Every bucket Group deployed has a paired GroupMember load step, and the post-deploy membership count query returns non-zero for each bucket.
  • includeRecordsOwnedByAll is set explicitly on every new criteria-based sharing rule — it cannot be edited after creation.
  • Any load needing serial concurrency is a Bulk API v1 job; the file is sorted by parent id; and no Bulk API 2.0 job in the plan claims concurrencyMode: Serial.
  • python3 scripts/check_data_skew_and_sharing_performance.py --manifest-dir <dir> --skew-plan skew-plan.json --job-plan bulk-job-plan.json has been run (add --strict where WARN-class findings must also block) and every finding is either fixed or recorded with a reason.

Salesforce-Specific Gotchas

The three that catch practitioners most often. references/gotchas.md carries eleven, including the ones that only surface at deploy time — deferral that was never provisioned, "serial mode" that ran in parallel, and bucket groups that deploy empty.

  1. Removing a user from a role can be as expensive as adding them — The recalculation runs in both directions. If a user with 80,000 records is removed from a sharing-rule source group, all 80,000 records must be evaluated. Many admins are surprised that "un-assigning" a role is not a fast operation.

  2. Implicit sharing scans happen on child-record access loss, not just batch loads — A single record update that changes the owner of one Contact under a 500,000-contact Account will trigger a full implicit-sharing scan on that account. This is not a bulk-only problem.

  3. "Controlled by Parent" removes implicit sharing — but also all independent access grants — Setting a child object to "Controlled by Parent" eliminates the implicit sharing scan, but it also means you can no longer share individual child records directly. All access to children is inherited from the parent. Admins who switch to this OWD mid-implementation often break existing manual shares or sharing rules on the child object.


Output Artifacts

ArtifactDescription
Data Skew Diagnosis ReportSummary of skewed objects, owners, and parent accounts with record counts and risk classification
Mitigation PlanPrioritized list of actions: ownership redistribution, parent splitting, OWD changes, and sequencing guidance
Ongoing Health ChecklistRepeatable checklist to catch new skew before it causes production problems

Reference Files

FileRead it when
references/metadata-examples.mdWriting the deployable artifacts — the Sharing.settings suspend/resume pair, bucket Group files, per-bucket SharingRules, sharingModel and External Id field XML, the package.xml and sf deploy sequence, the diagnostic and post-change queries with the optimizer's selectivity thresholds, and the Bulk API load-ordering plan
references/gotchas.mdSomething deployed green and behaved wrong — deferral that never engaged, "serial mode" that ran in parallel, bucket groups that grant nothing, an index Support says already exists, a sharing-rule setting that will not edit, or a failed batch that half-committed
references/examples.mdSizing a remediation end to end — the integration-user ownership skew and the catch-all account, each with the numbers, the fix, and why it works
references/well-architected.mdJustifying a tradeoff (ownership distribution vs integration simplicity, Controlled by Parent vs independent child sharing) or locating the official source behind a claim in this skill
references/llm-anti-patterns.mdReviewing skew advice an AI assistant produced, especially "just reassign the records" or a diagnosis that names only two skew types
templates/data-skew-and-sharing-performance-template.mdRunning workflow steps 1–2 — the ownership, parent, and lookup measurement tables and the mitigation plan
scripts/check_data_skew_and_sharing_performance.pyWorkflow step 5, before every deploy and before every skewed load. Exits 1 on ERROR-class findings only (parse failures, a missing named --skew-plan/--job-plan, Bulk API 2.0 + concurrencyMode=Serial) or a missing --manifest-dir; INFO/WARN print but exit 0 — pass --strict to fail on WARN too

Related Skills

  • admin/sharing-and-visibility — Use for designing the overall sharing model (OWD, roles, sharing rules). This skill handles performance problems that arise from an existing sharing model, not model design.
  • data/soql-query-optimization — Use when query performance is the problem. Data skew affects sharing maintenance, not SOQL query plans directly.
  • data/sharing-recalculation-performance — Use when the recalculation job itself has to be planned and batched. This skill diagnoses the skew that makes the job expensive; that skill runs the job.
  • architect/large-data-volume-architecture — Use for the wider LDV design question (skinny tables, divisions, archival, data tiering) when skew is one symptom of a data-volume problem rather than the whole problem.
  • data/bulk-api-and-large-data-loads — Use when the load mechanics themselves are the work: batch sizing, PK chunking, job monitoring, and error reconciliation.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Data Skew And Sharing Performance làm được gì?

Diagnose and mitigate Salesforce data skew — ownership skew (single user owns >10,000 records) and parent-child skew (>10,000 children under one parent) — that cause sharing recalculation slowness, group membership lock errors, and record-level locking failures. Covers lookup skew and UNABLE_TO_LOCK_ROW, Defer Sharing Calculation (deferGroupMembership / deferSharingRules in Sharing.settings), ownership bucket groups, Controlled by Parent OWD, Bulk API serial vs parallel concurrency for skewed loads, and the documented load ordering for roles, groups and sharing rules. NOT for planning and b...

Vì sao nên dùng Data Skew And Sharing Performance trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Data Skew And Sharing Performance là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Data Skew And Sharing Performance trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/admin/data-skew-and-sharing-performance. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Data Skew And Sharing Performance?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Data Skew And Sharing Performance với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Data Skew And Sharing Performance với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Data Skew And Sharing Performance có miễn phí không?

Kỹ năng này được PranavNagrecha phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇