{
  "schemaVersion": 1,
  "slug": "amazon-neptune-graph-sessions",
  "locale": "zh",
  "pageClass": "entity",
  "entityType": "SoftwareApplication",
  "field": "technology",
  "title": "Amazon Neptune 图会话（Graph Sessions）",
  "subtitle": "Amazon Neptune Analytics 中可缩容至零的托管图计算模式，面向 AI 智能体和间歇性工作负载",
  "aliases": [
    "Neptune 图会话",
    "Amazon Neptune Analytics 图会话"
  ],
  "lead": {
    "definition": "Amazon Neptune 图会话（Graph Sessions）是 Amazon Neptune Analytics 的一种托管计算模式，由亚马逊云科技（AWS）于 2026 年 11 月 27 日正式推出。该模式用于运行规模较小的图，支持自动调整内存容量，在空闲 15 分钟后自动将计算资源缩容至零，并在下一条查询到达时自动恢复。预置型 Neptune Analytics 图至少需要 16 m-NCU，且专用计算资源持续运行。图会话的起始容量为 4 s-NCU 或 8 s-NCU，停止期间保留图数据、向量索引和配置。AWS 为 AI 智能体、GraphRAG 助手以及按租户划分或间歇运行的分析工作负载设计了此模式。",
    "answerSummary": "Amazon Neptune 图会话是 Amazon Neptune Analytics 于 2026 年 11 月 27 日推出的可缩容至零的图计算模式。起始容量为 4 s-NCU 或 8 s-NCU，内存可扩展至起始容量的两倍。会话空闲 15 分钟后自动停止计算，查询到达后不到 20 秒即可恢复，期间保留图数据和向量索引。",
    "keyFacts": [
      {
        "label": "正式可用日期",
        "value": "2026 年 11 月 27 日（AWS）",
        "ref": "s1"
      },
      {
        "label": "起始容量与扩展上限",
        "value": "4 s-NCU（最高 8 s-NCU）或 8 s-NCU（最高 16 s-NCU）",
        "ref": "s1",
        "asOf": "2026-11-30"
      },
      {
        "label": "自动停止与恢复",
        "value": "空闲 15 分钟后停止，创建约需 30 秒，恢复不到 20 秒",
        "ref": "s2",
        "asOf": "2026-11-30"
      },
      {
        "label": "支持的 AWS 区域",
        "value": "10 个区域（美国东部和西部、亚太地区、欧洲）",
        "ref": "s4",
        "asOf": "2026-11-30"
      },
      {
        "label": "区域默认配额",
        "value": "最多 25 个会话，同时运行的会话最多 10 个（可调整）",
        "ref": "s4",
        "asOf": "2026-11-30"
      }
    ]
  },
  "infobox": [
    {
      "label": "提供商",
      "value": "亚马逊云科技（Amazon Web Services，AWS）",
      "ref": "s1"
    },
    {
      "label": "所属服务",
      "value": "Amazon Neptune Analytics",
      "ref": "s2"
    },
    {
      "label": "发布日期",
      "value": "2026 年 11 月 27 日",
      "ref": "s6"
    },
    {
      "label": "容量单位",
      "value": "s-NCU（Neptune 会话容量单位）",
      "ref": "s1"
    },
    {
      "label": "自动停止前的空闲时长",
      "value": "连续 15 分钟无流量",
      "ref": "s3"
    },
    {
      "label": "图快照",
      "value": "图会话不支持图快照",
      "ref": "s4"
    },
    {
      "label": "配置参数",
      "value": "computeConfiguration（取代已弃用的 provisionedMemory）",
      "ref": "s6"
    }
  ],
  "sections": [
    {
      "id": "overview-and-architecture",
      "heading": "Amazon Neptune 图会话的架构与扩缩容",
      "bodyMd": "Amazon Neptune 图会话与预置型 Neptune Analytics 图使用相同的 Neptune Analytics 引擎、API、控制台和 AWS 身份与访问管理（IAM）权限，计算资源的分配和计费方式有所不同。[^s2][^s5] 开发者通过必填参数 `computeConfiguration` 选择预置型图或图会话。该参数于 2026 年 11 月 27 日引入，原有参数 `provisionedMemory` 同日被弃用。[^s5][^s6]\n\n每个图会话的初始工作内存为 4 s-NCU（Neptune 会话容量单位）或 8 s-NCU，最高可扩展至起始容量的两倍，即 4 s-NCU 会话最高可扩展至 8 s-NCU，8 s-NCU 会话最高可扩展至 16 s-NCU。[^s1] 据 AWS 介绍，创建图会话约需 30 秒，适用场景包括智能体工作负载、GraphRAG 助手，以及流量间歇出现或难以预测的按租户隔离的图。[^s1][^s2]"
    },
    {
      "id": "auto-stop-start-and-billing",
      "heading": "Amazon Neptune 图会话的自动停止、恢复与计费",
      "bodyMd": "Amazon Neptune 图会话自动管理计算资源的生命周期，无需手动调用启动或停止操作。[^s3] 会话运行期间以引擎的完整性能处理查询，并发布 Amazon CloudWatch 指标。计算费用按秒计收，依据实际使用的内存容量计算，计费容量最低为所选的起始容量。存储费用另计。[^s3]\n\n连续 15 分钟无流量后，会话自动停止，计算资源缩容至零。[^s1][^s3] 停止期间，AWS 保留会话的图数据、向量索引和配置，恢复时无需重新加载数据。账户只需支付保留数据的存储费用，停止期间不产生计算费用。[^s3][^s5] 新查询到达时，会话会在不到 20 秒内自动恢复。[^s2][^s5]"
    },
    {
      "id": "comparison-with-provisioned-graphs",
      "heading": "Amazon Neptune 图会话与预置型图的比较",
      "bodyMd": "AWS 文档从工作负载的连续性、最低容量及支持的功能等方面区分 Amazon Neptune 图会话与预置型 Neptune Analytics 图。[^s1][^s4][^s5]\n\n| 特性 | Neptune 图会话 | 预置型图 |\n|---|---|---|\n| 最低容量 | 4 s-NCU 或 8 s-NCU | 至少 16 m-NCU |\n| 计算资源运行方式 | 空闲 15 分钟后缩容至零，恢复不到 20 秒 | 专用计算资源持续运行，直到图被停止或删除 |\n| 适用工作负载 | AI 智能体、GraphRAG、按租户划分的工作负载、间歇性查询 | 全天候稳定运行的数据流水线、需要大量内存或对首次查询延迟有严格要求的工作负载 |\n| 图快照 | 不支持 | 支持（每个区域的默认配额为 50 个） |\n| 区域默认配额 | 会话总数最多 25 个，同时运行最多 10 个（可调整） | 最多 10 个预置型图（可调整） |\n\n截至 2026 年 11 月 30 日，Amazon Neptune 图会话已在 10 个 AWS 区域提供：`us-east-1`、`us-east-2`、`us-west-2`、`ap-south-1`、`ap-southeast-1`、`ap-southeast-2`、`ap-northeast-1`、`eu-central-1`、`eu-west-1` 和 `eu-north-1`。[^s4] 吞吐量随 vCPU 数量增加而提高，配置 4 个 vCPU 时约为每秒 40 个请求。如果账户达到同时运行的图会话配额上限（默认为 10 个），已停止的会话在查询到达时无法自动启动。[^s4]"
    },
    {
      "id": "scope-and-unconfirmed-details",
      "heading": "Amazon Neptune 图会话的资料范围与尚未确认的细节",
      "bodyMd": "本文所列的 Amazon Neptune 图会话规格来自 AWS 于 2026 年 11 月 27 日发布的公告，以及于 2026 年 11 月 30 日核实的 Neptune Analytics 用户指南。[^s1][^s2][^s3][^s4][^s5][^s6] 实际工作负载的总费用、独立的查询延迟基准测试结果，以及不同图规模下的确切恢复时间，尚未获得 AWS 文档之外的证实。[^s1][^s2]"
    }
  ],
  "faqs": [
    {
      "q": "Amazon Neptune 图会话与预置型 Neptune Analytics 图有何区别？",
      "a": "Neptune 图会话的起始容量为 4 s-NCU 或 8 s-NCU，空闲 15 分钟后自动停止计算，恢复不到 20 秒。预置型图的最低容量为 16 m-NCU，专用计算资源持续运行，并支持图快照。",
      "refs": [
        "s1",
        "s4",
        "s5"
      ]
    },
    {
      "q": "Neptune 图会话缩容至零时，图数据会丢失吗？",
      "a": "不会。会话在连续 15 分钟无流量后自动停止，AWS 会保留图数据、向量索引和配置，恢复时无需重新加载。停止期间仅收取存储费用。",
      "refs": [
        "s3",
        "s5"
      ]
    },
    {
      "q": "哪些 AWS 区域支持 Amazon Neptune 图会话？",
      "a": "截至 2026 年 11 月 30 日，Neptune 图会话已在 10 个区域提供：us-east-1、us-east-2、us-west-2、ap-south-1、ap-southeast-1、ap-southeast-2、ap-northeast-1、eu-central-1、eu-west-1 和 eu-north-1。",
      "refs": [
        "s4"
      ]
    },
    {
      "q": "Amazon Neptune 图会话有哪些配额？",
      "a": "每个区域的默认配额为会话总数最多 25 个，同时运行的会话最多 10 个。这些配额可以调整。达到同时运行的会话上限后，已停止的会话在查询到达时无法自动启动。",
      "refs": [
        "s4"
      ]
    }
  ],
  "claims": [
    {
      "text": "AWS 于 2026 年 11 月 27 日正式推出 Amazon Neptune 图会话。",
      "refs": [
        "s1",
        "s6"
      ]
    },
    {
      "text": "Neptune 图会话的起始容量为 4 s-NCU（最高可扩展至 8 s-NCU）或 8 s-NCU（最高可扩展至 16 s-NCU）。预置型图的最低容量为 16 m-NCU。",
      "refs": [
        "s1"
      ]
    },
    {
      "text": "创建 Neptune 图会话约需 30 秒。会话在连续 15 分钟无流量后自动停止，在查询到达后不到 20 秒内恢复。",
      "refs": [
        "s2",
        "s3"
      ]
    },
    {
      "text": "Neptune 图会话停止期间保留图数据、向量索引和配置，仅收取存储费用，不收取计算费用。",
      "refs": [
        "s3",
        "s5"
      ]
    },
    {
      "text": "截至 2026 年 11 月 30 日，Neptune 图会话已在 10 个 AWS 区域提供，且不支持图快照。每个区域的默认配额为会话总数最多 25 个、同时运行的会话最多 10 个，均可调整。",
      "refs": [
        "s4"
      ]
    }
  ],
  "timeline": [
    {
      "date": "2026-03-09",
      "text": "AWS 将 Amazon Neptune Analytics 的可用范围扩展至另外 14 个 AWS 区域。",
      "refs": [
        "s6"
      ]
    },
    {
      "date": "2026-10-30",
      "text": "AWS 为 Neptune Analytics 新增 bfs.path、Leiden 社区检测和特征向量中心性算法。",
      "refs": [
        "s6"
      ]
    },
    {
      "date": "2026-11-27",
      "text": "AWS 正式推出 Amazon Neptune 图会话，并引入 computeConfiguration 参数。",
      "refs": [
        "s1",
        "s6"
      ]
    }
  ],
  "sources": [
    {
      "key": "s1",
      "url": "https://aws.amazon.com/about-aws/whats-new/2026/11/amazon-neptune-graph-sessions-generally-available/",
      "tier": 3,
      "title": "Amazon Neptune introduces Neptune Graph Sessions, smaller graphs designed for agents that scale to zero and resume automatically",
      "publisher": "Amazon Web Services (AWS)",
      "publishedAt": "2026-11-27",
      "accessedAt": "2026-11-30"
    },
    {
      "key": "s2",
      "url": "https://docs.aws.amazon.com/neptune-analytics/latest/userguide/graph-sessions.html",
      "tier": 3,
      "title": "How Neptune Graph Sessions work - Neptune Analytics",
      "publisher": "Amazon Web Services (AWS)",
      "accessedAt": "2026-11-30"
    },
    {
      "key": "s3",
      "url": "https://docs.aws.amazon.com/neptune-analytics/latest/userguide/managing-sessions-auto-stop-start.html",
      "tier": 3,
      "title": "Automatic stop and start for Neptune Graph Sessions - Neptune Analytics",
      "publisher": "Amazon Web Services (AWS)",
      "accessedAt": "2026-11-30"
    },
    {
      "key": "s4",
      "url": "https://docs.aws.amazon.com/neptune-analytics/latest/userguide/analytics-limits.html",
      "tier": 3,
      "title": "Limits for Neptune Analytics - Neptune Analytics",
      "publisher": "Amazon Web Services (AWS)",
      "accessedAt": "2026-11-30"
    },
    {
      "key": "s5",
      "url": "https://docs.aws.amazon.com/neptune-analytics/latest/userguide/gettingStarted-graph-types.html",
      "tier": 3,
      "title": "Choosing a graph type: provisioned graphs and Neptune Graph Sessions - Neptune Analytics",
      "publisher": "Amazon Web Services (AWS)",
      "accessedAt": "2026-11-30"
    },
    {
      "key": "s6",
      "url": "https://docs.aws.amazon.com/neptune-analytics/latest/userguide/doc-history.html",
      "tier": 3,
      "title": "Changes and updates to Neptune Analytics - Neptune Analytics",
      "publisher": "Amazon Web Services (AWS)",
      "accessedAt": "2026-11-30"
    }
  ],
  "links": [],
  "sameAs": [
    "https://docs.aws.amazon.com/neptune-analytics/latest/userguide/graph-sessions.html"
  ],
  "disclaimer": null,
  "status": {
    "review": "awaiting_review",
    "provenance": "prefill",
    "autoWritten": true
  },
  "dateCreated": "2026-11-30",
  "dateModified": "2026-11-30",
  "_meta": {
    "canonicalUrl": "https://mimirwiki.com/zh/wiki/amazon-neptune-graph-sessions",
    "revision": {
      "sha256": "44d942e67ef8798504f03ea57ff616742524898de8714d9c45bafe7ed2cd3e8b",
      "short": "44d942e6",
      "hashedFields": "all fields except status and _meta, RFC 8785 canonical form"
    },
    "formats": {
      "md": "https://mimirwiki.com/zh/wiki/amazon-neptune-graph-sessions.md",
      "txt": "https://mimirwiki.com/zh/wiki/amazon-neptune-graph-sessions.txt",
      "json": "https://mimirwiki.com/zh/wiki/amazon-neptune-graph-sessions.json",
      "jsonld": "https://mimirwiki.com/zh/wiki/amazon-neptune-graph-sessions.jsonld"
    },
    "translations": {
      "en": "https://mimirwiki.com/wiki/amazon-neptune-graph-sessions",
      "ko": "https://mimirwiki.com/ko/wiki/amazon-neptune-graph-sessions",
      "ja": "https://mimirwiki.com/ja/wiki/amazon-neptune-graph-sessions",
      "zh": "https://mimirwiki.com/zh/wiki/amazon-neptune-graph-sessions",
      "es": "https://mimirwiki.com/es/wiki/amazon-neptune-graph-sessions",
      "de": "https://mimirwiki.com/de/wiki/amazon-neptune-graph-sessions",
      "fr": "https://mimirwiki.com/fr/wiki/amazon-neptune-graph-sessions",
      "pt": "https://mimirwiki.com/pt/wiki/amazon-neptune-graph-sessions",
      "ru": "https://mimirwiki.com/ru/wiki/amazon-neptune-graph-sessions",
      "it": "https://mimirwiki.com/it/wiki/amazon-neptune-graph-sessions",
      "hi": "https://mimirwiki.com/hi/wiki/amazon-neptune-graph-sessions",
      "ar": "https://mimirwiki.com/ar/wiki/amazon-neptune-graph-sessions"
    }
  }
}
