Git Product home page Git Product logo

database-system-implemetation's Introduction

Readme

Assignment 4_1

Implemention of Statistics Class

TEAM:

Sharath Chandra Darsha UFID: 45194064

Suresh Koppisetty UFID: 18111766

Folder Structure:

./ ./README ./Makefile ./source/ ./bin/ ./bin/testcases/ ./DATA/10M/

Steps to compile:

starting from the root folder

  1. make clean // Clean any previously compiled code
  2. make all // Compile all the files necessary
  3. cd bin
  4. ./test [0-11] // to run the different queries in test.cc

Executable Files:

  1. gtesting.o
  2. test

Settings:

The following variables control the various file locations and they are declared in test.h (just after the #include header declarations): o dbfile_dir -- this is where the created heap db-files will be stored. By default, this is set to "" (thus all the heap dbfiles will be created in the "bin" directory). o tpch_dir -- this stores the directory path where the tpch-files can be found. The "/DATA/" directory already has the required table files generated by tpchgen and the path should be accessible by the program. We supplied only 10M data along with the code. o catalog_path -- this stores the catalog file path. By default this is set to "source" folder.

Results

sharath@sharath-Lenovo-Z40-70:~/bearded-octo-batman/bin$ ./test 0

Estimation Result: 800000 Correct Answer: 800000

sharath@sharath-Lenovo-Z40-70:~/bearded-octo-batman/bin$ ./test 1

Your estimation Result 857316 Correct Answer: 8.5732e+5

sharath@sharath-Lenovo-Z40-70:~/bearded-octo-batman/bin$ ./test 2

Estimation Result: 1.5e+06 Correct Answer: 1500000

sharath@sharath-Lenovo-Z40-70:~/bearded-octo-batman/bin$ ./test 3

Estimation Result: 6e+07 Correct Answer: 60000000.0

sharath@sharath-Lenovo-Z40-70:~/bearded-octo-batman/bin$ ./test 4

Estimation Result: 3200 Correct Answer: 3200

sharath@sharath-Lenovo-Z40-70:~/bearded-octo-batman/bin$ ./test 5

Estimation Result: 400081 Correct Answer: 400081

sharath@sharath-Lenovo-Z40-70:~/bearded-octo-batman/bin$ ./test 6

Estimation Result: 32000 Correct Answer: 32000

sharath@sharath-Lenovo-Z40-70:~/bearded-octo-batman/bin$ ./test 7

Estimation Result: 2.00041e+06 Correct Answer: 2000405

sharath@sharath-Lenovo-Z40-70:~/bearded-octo-batman/bin$ ./test 8

Estimation Result: 48000 Correct Answer: 48000

sharath@sharath-Lenovo-Z40-70:~/bearded-octo-batman/bin$ ./test 9

Estimation Result: 4 Correct Answer: 4

sharath@sharath-Lenovo-Z40-70:~/bearded-octo-batman/bin$ ./test 10

Estimation Result: 2.0004e+06 Correct Answer: 2000405

sharath@sharath-Lenovo-Z40-70:~/bearded-octo-batman/bin$ ./test 11

Estimation Result: 21432.9 Correct Answer: 21432.9

sharath@sharath-Lenovo-Z40-70:~/bearded-octo-batman/bin$

database-system-implemetation's People

Contributors

sharuu123 avatar

Stargazers

 avatar

Watchers

James Cloos 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.