Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Confusion about rules for database update test #1622

Closed

Description

@denkab

http://frameworkbenchmarks.readthedocs.org/en/latest/Project-Information/Framework-Tests/#database-updates

In a way, rules 9 and 10 seem to be in conflict. It is very typical that individual updates in a batch for traditional RDBMS (and NoSQL is not different if similar optimization concepts are followed) can not be separated into individual transactions.

Possibly, a clarification and revision of existing code is needed to bring all implementations into compliance.

Activity

  1. added a commit that references this issue on May 25, 2015
  2. zapov commented on Jun 22, 2015

    @zapov
    Contributor

    It's also very typical to do selects in batches, at least on DB which support it, such as MS Sql Server. And is unfair to disallow patterns and frameworks which have workarounds on other DBs.
    I find it highly unlikley that the rules will be fixed, but at the very minimum tests should be renamed to multiple roundtrips instead of multiple queries. That should remove any confusion

  3. msmith-techempower commented on Aug 29, 2016

    @msmith-techempower
    Member

    The rules in question have been updated to better represent their meaning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions