Code Monkey home page Code Monkey logo

adventureworks's Introduction

AdventureWorks Fact-Based examples

This repository showcases Infinuendo technologies applied to the well-known AdventureWorks example database designs published by Microsoft. The original files are published at http://msftdbprodsamples.codeplex.com/ and are subject to the Microsoft Public License (Ms-PL)

Directories

  • OLTP

    Online (normalised) versions of the database.

    • Original

    This directory contains a UTF-8 version of the original AdventureWorks 2008 OLTP schema as published at the above URL. The test data CSV files have been pushed down into the TestData subdirectory. Microsoft's schema diagrams are also republished.

    • New ER Schema diagrams for the original

    An alternate set of three schema diagrams for the original database, printable on A4 paper.

    • Database generated from the CQL version

    The file AdventureWorks.sql contains SQL for an operational (OLTP) schema, generated from the CQL using the ActiveFacts schema_compositor.

  • CQL

    The AdventureWorks schema reverse-engineered into the Constellation Query Language. This version can be processed using the [ActiveFacts]:(http://github.com/cjheath/activefacts) compiler and code generators afgen and schema_compositor.

    Colorized CQL makes it even easier to read.

    A browsable business glossary was generated from the CQL.

    This version does not contain the CQL for the seven XML document types, reverse-engineered from the XSD files that are embedded in the original schema - however this is also a logical part of such a reverse engineering exercise.

  • ORM2

    The AdventureWorks schema reverse-engineered as an Object Role Model. This schema is largely congruent with the CQL version, with the exception of using a different data type system. The NORMA source file is also available. Tasks in the Rakefile assist in detecting differences from the CQL version.

  • DataVault

    Data warehouses constructed using the Data Vault design approach of Dan Linstedt.

    • Dan's original Data Vault version

    Dan's original blog post and files are republished, because the originals can be hard to find. His schema diagram is included.

    • Hans Geurtsen's revision

    The original version was produced by a code generator that has some errors in the SQL Server version. These errors were corrected in a blog post by Hans Geurtsen, of which an English version is here courtesy of Google Translate.

    • Data Vault schema generated from CQL

    The file AdventureWorks.dv.sql contains SQL for a data vault schema, generated from the CQL using the ActiveFacts schema_compositor.

    This version is substantially similar to Dan Linstedt's version, but does not have the small errors that creep in whenever a human is "in the loop". This demonstrates the advantages of the machine-generated approach.

adventureworks's People

Contributors

cjheath avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.