Contributed by Calpont, InfiniDB Community Edition is an open source, scale-up analytics database engine for your data warehousing, business intelligence and read-intensive application needs. Enabled via MySQLTM and purpose-built for an analytical workload with column-oriented technology at its core, the multi-threaded capabilities of InfiniDB Community Edition fully encompass query, transactional support and bulk load operations.  So come on in, grab a download and get started.

             | 

Welcome, Guest
Username Password: Remember me

Source code tree organization
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Source code tree organization

Source code tree organization 2 years, 3 months ago #6

  • bdempsey
  • OFFLINE
  • Expert Boarder
  • Posts: 81
  • Karma: 7
If you're trying to find specific parts of InfiniDB in the source tree, this guide may help.

build - tools to help build InfiniDB
dbcon - most of the code for InfiniBD:
   ddlpackage - classes to parse DDL
   ddlpackageproc - classes to perform DDL
   dmlpackage - classes to parse DML
   dmlpackageproc - classes to perform DML
   doc - some historical documents
   execplan - classes to describe an execution plan from a SQL point of view
   ingres - WIP code to interface w/ Ingres
   joblist - classes that transform a SQL tree into IDB job instructions
   mysql - the MySQL Storage Engine API layer, also the patches to MySQL server
   plsql - WIP code to interface w/ Oracle
   sm - an abstraction layer for interfacing with ExeMgr
ddlproc - main service loop for DDL
dmlib - an abstraction layer to generate physical file names from OIDs
dmlproc - main service loop for DML
exemgr - main service loop for queries
mysql - mostly header files copied from MySQL
net-snmp - SNMP library
oam - OAM service library
oamapps - some OAM apps
primitives - most of the code to build PrimProc, the main block processor
snmpd - snmp utils
tools - tools to debug IDB
utils - utility classes
versioning - classes to help with MVCC
writeengine - classes that write data to disk

Re:Source code tree organization 1 year, 11 months ago #433

  • sakib
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
Hi,
Can you please help me to find source code that actually Read/Write disk space?

Thank you in advance for your help.

Thanks,
Sakib

Re:Source code tree organization 1 year, 11 months ago #434

  • davidhill
  • OFFLINE
  • Moderator
  • Posts: 554
  • Karma: 4
Thanks for downloading InfiniDB and checking it out.

There is a number of places within the code where disk read are performed based on there needs, but here is the primary areas where the writing of the database system files take place:

The WriteEngine code interfaces with the db files on behalf of DML/DDL and the bulk load program cpimport.

The primary functions employed by cpimport to write to the db files are:

O ColumnBuffer::writeToFile() in writeengine/bulk/we_colbuf.cpp
O DbFileOp::writeDBFileDict() in writeengine/shared/we_dbfileop.cpp

The primary functions employed by DML to insert rows to the db files are:

O DbFileOp::writeDBFileFbo() in writeengine/shared/we_dbfileop.cpp
O DbFileOp::writeDBFile() in writeengine/shared/we_dbfileop.cpp

David

Re: Source code tree organization 6 months, 1 week ago #2457

  • esspweb192
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
Your post really help to understand the source code.

Thanks
Last Edit: 6 months, 1 week ago by radams.
  • Page:
  • 1
Time to create page: 0.40 seconds