Updated: 8/12/2025

  • Home
  • About
    • Welcome
    • Training / Consulting
    • History
    • Attribution
  • The gDS Facility
    • Disassembling DBMSs
    • gDS Overview
    • Working With gDS Tables
    • .dd File Format
    • gDS Generated Code
    • Managing Concurrency
  • Building Test Platforms
    • Development Phases
    • Interface To The SUT
    • Test Runs and Cycles
    • Screen Displays
    • Static/Dynamic Config.
    • Managing Concurrency
    • Additional Functionality
  • Case Studies & Code
    • Overview & TOC
    • Case Study 1
    • Case Study 2
    • Case Study 3
  • Webinars
    • Webinar Notes
  • More
    • Home
    • About
      • Welcome
      • Training / Consulting
      • History
      • Attribution
    • The gDS Facility
      • Disassembling DBMSs
      • gDS Overview
      • Working With gDS Tables
      • .dd File Format
      • gDS Generated Code
      • Managing Concurrency
    • Building Test Platforms
      • Development Phases
      • Interface To The SUT
      • Test Runs and Cycles
      • Screen Displays
      • Static/Dynamic Config.
      • Managing Concurrency
      • Additional Functionality
    • Case Studies & Code
      • Overview & TOC
      • Case Study 1
      • Case Study 2
      • Case Study 3
    • Webinars
      • Webinar Notes

  • Home
  • About
    • Welcome
    • Training / Consulting
    • History
    • Attribution
  • The gDS Facility
    • Disassembling DBMSs
    • gDS Overview
    • Working With gDS Tables
    • .dd File Format
    • gDS Generated Code
    • Managing Concurrency
  • Building Test Platforms
    • Development Phases
    • Interface To The SUT
    • Test Runs and Cycles
    • Screen Displays
    • Static/Dynamic Config.
    • Managing Concurrency
    • Additional Functionality
  • Case Studies & Code
    • Overview & TOC
    • Case Study 1
    • Case Study 2
    • Case Study 3
  • Webinars
    • Webinar Notes

Case Study 1

animalFarm_01 overview

The goal of this case study is to give the reader an initial look at Python code that uses the gDS functionality.


In order to run the code you must place it on a Linux (real or virtual) host.


  1. The example features three tables — gCounty, gFarm, and gAnimal. See the schema file "animalFarm_01.dd". 
  2. gFarms cite the gCounties they are located in. gAnimals cite the gFarms they exist on.
  3. The code starts by creating a few rows in the gCounty and gFarm tables using straight-line calls to the respective "AddARow" routines.
  4. The example then spawns a number of simultaneous processes. Each process inserts one gAnimal row into the gAnimal table under a system lock.
  5. After the processes are complete, the three tables are dumped to the screen and a short "report" is generated.
  6. Finally the user is able to select a gAnimal and print out the gFarm and gCounty it belongs to.

Testing Complex Systems

Powered by

This website uses cookies.

We use cookies to analyze website traffic and optimize your website experience. By accepting our use of cookies, your data will be aggregated with all other user data.

DeclineAccept