lab_code: demo_017
title_en: Working with TiKV MVCC In-Memory Engine (v8.5+)
title_zh: 使用 TiKV MVCC 内存引擎 (v8.5+)
title_ja: TiKV MVCC インメモリエンジンを活用する (v8.5+)
title_ko: TiKV MVCC 인메모리 엔진 활용 (v8.5+)
description_en: "In this practice, participants will learn how to use TiKV MVCC In-Memory Engine (IME). This feature is primarily used to accelerate queries that need to scan a large number of MVCC historical versions, that is, the total number of versions scanned (total_keys) is much greater than the number of versions processed (processed_keys)."
description_zh: "在本实验中，参与者将学习如何使用 TiKV MVCC 内存引擎 (In-Memory Engine, IME)。TiKV MVCC 内存引擎 (In-Memory Engine, IME) 主要用于加速需要扫描大量 MVCC 历史版本的查询，即查询扫描的总共版本数量 (total_keys) 远大于处理的版本数量 (processed_keys)。"
description_ja: "本演習では、受講者は TiKV MVCC インメモリエンジン (IME) を学びます。この機能は、主に、多数の MVCC 履歴バージョン (つまりスキャンされたバージョンの合計数 ( total_keys ) が、処理されたバージョン数 ( processed_keys ) よりもはるかに大きいをスキャンする必要があるクエリを高速化するために使用されます。"
description_ko: "In this practice, participants will learn how to use TiKV MVCC In-Memory Engine (IME). This feature is primarily used to accelerate queries that need to scan a large number of MVCC historical versions, that is, the total number of versions scanned (total_keys) is much greater than the number of versions processed (processed_keys)."
splash_image_en: https://lab-static.pingcap.com/images/2025/9/3/d8d398fe6ee3702cd0e015ecc4db90ed69626096.png
splash_image_zh: https://lab-static.pingcap.com/images/2025/9/3/d8d398fe6ee3702cd0e015ecc4db90ed69626096.png
splash_image_ja: https://lab-static.pingcap.com/images/2025/9/3/d8d398fe6ee3702cd0e015ecc4db90ed69626096.png
splash_image_ko: https://lab-static.pingcap.com/images/2025/9/3/d8d398fe6ee3702cd0e015ecc4db90ed69626096.png
lab_level: Advanced
category_en:
  - Configuration
category_zh:
  - 配置
category_ja:
  - 設定
category_ko:
  - 설정
authors:
  - Dong Fei (CEG)
delivery_type: Self-Paced
tidb_environments:
  - TiDB Self-Managed
tidb_versions:
  - 8.5.1
target_audience:
  - Architect
  - DBA
  - DevOps
regions:
  aws:
    - oregon
    - tokyo
    - singapore
    - frankfurt
credits: 5
credit_redeemable: true
employee_only: false
estimated_duration_minutes: 60

topology:
  - role: monitor
    node_count: 1
    ssh_user: ec2-user
    web_ssh: true
    web_ssh_name: "TiUP Control Machine"
  - role: pd
    node_count: 3
  - role: kv
    node_count: 3
  - role: db
    node_count: 2

requirements:
  - type: CloudStack

bootstrap:
  - name: "prepare monitor"
    type: "ShellScript"
    target:
      - monitor1
    script: ./scripts/prepare-monitor.sh

features:
  enable_content_explain: false
