Skip to content

O'Neil et al.'s Star Schema Benchmark: curated code

Notifications You must be signed in to change notification settings

MorphStore/StarSchemaBenchmark

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StarSchemaBenchmark

Build Status

This is a simple copy of the table generation code from O'Neil et al.'s Star Schema Benchmark as described in the following paper:

Patrick O'Neil, Elizabeth (Betty) O'Neil and Xuedong Chen. "The Star Schema Benchmark," Online Publication of Database Generation program., January 2007. http://www.cs.umb.edu/~poneil/StarSchemaB.pdf

Usage

    make
    
    (customer.tbl)
    dbgen -s 1 -T c
    
    (part.tbl)
    dbgen -s 1 -T p
    
    (supplier.tbl)
    dbgen -s 1 -T s
    
    (date.tbl)
    dbgen -s 1 -T d
    
    (fact table lineorder.tbl)
    dbgen -s 1 -T l
    
    (for all SSBM tables)
    dbgen -s 1 -T a

These commands should generate the following files: customer.tbl date.tbl lineorder.tbl part.tbl supplier.tbl

You can easily generate larger files by modifying the scale parameter (-s).

To generate the refresh (insert/delete) data set:

    dbgen -s 1 -r 5 -U 4

where "-r 5" specifies refreshin fact n/10000 "-U 4" specifies 4 segments for deletes and inserts. This will create the files create delete.[1-4] and lineorder.tbl.u[1-4] with refreshing fact 0.05%.

Suitability

This is strictly for research purposes.

About

O'Neil et al.'s Star Schema Benchmark: curated code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 95.5%
  • Objective-C 3.8%
  • Makefile 0.7%