GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Docs call schema operations "auto-transactional" and say not to wrap them; upstream says they are not transactional and should be batched in one transaction · Issue #21 · humemai/arcadedb-embedded-python

This repository was archived by the owner on Nov 21, 2026. It is now read-only.
This repository was archived by the owner on Nov 21, 2026. It is now read-only.

Docs call schema operations "auto-transactional" and say not to wrap them; upstream says they are not transactional and should be batched in one transaction #21

Copy link
Copy link
Closed
#22
Closed
Docs call schema operations "auto-transactional" and say not to wrap them; upstream says they are not transactional and should be batched in one transaction#21
#22
Copy link

Description

@tae898
tae898
opened on Sep 29, 2026
Issue body actions

The bindings docs (api/schema.md, api/transactions.md, the transactions guide, and comments across tests, examples, and doc code blocks: 50 places) say schema operations are "auto-transactional" and tell users not to wrap them in with db.transaction():. Upstream's answer on ArcadeData#8635 (fixed in ArcadeData#8657 for 26.10.1) is the other way round on both points: a schema statement is not transactional (it takes effect at once and a rollback does not undo it), and running many inside one transaction, or as one sqlscript, is the recommended way to create many types, because the schema is then written once when the transaction ends.

Measured on the laptop with the issue's repro on the published snapshot 66a82a8fd0 (Temurin 25 / 21): 30 types with a property and an index in one transaction cost 3.30 / 3.13 ms per type, against 14.6 / 15.0 ms for a single standalone CREATE DOCUMENT TYPE.

Activity

  1. tae898
    added a commit that references this issue on Sep 29, 2026

    bindings docs: schema statements apply immediately and are not transa…

    aeefada
  2. tae898
    closed this as completedin #22on Sep 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.