9ea820f008
into the Packages Collection. This package is meant to support data warehousing in a much more efficient manner than traditional RDBMSs. C-Store is a read-optimized relational DBMS that contrasts sharply with most current systems, which are write-optimized. Among the many differences in its design are: + storage of data by column rather than by row, + careful coding and packing of objects into storage including main memory during query processing, + storing an overlapping collection of column-oriented projections, rather than the current fare of tables and indexes, + a non-traditional implementation of transactions which includes high availability and snapshot isolation for read-only transactions, + and the extensive use of bitmap indexes to complement B-tree structures. Please note that the storage required for this package could be viewed as being quite extreme - the standard build and data occupies in excess of 20 GB, and that is all installed into ${PREFIX} at installation time.
73 lines
2 KiB
Makefile
73 lines
2 KiB
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2007/11/10 11:33:00 agc Exp $
|
|
|
|
DISTNAME= cstore0.2
|
|
PKGNAME= cstore-0.2
|
|
CATEGORIES= databases
|
|
MASTER_SITES= http://db.lcs.mit.edu/projects/cstore/
|
|
MASTER_SITES+= http://db.csail.mit.edu/data/
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} data4.tar.gz D6.data.ros.gz
|
|
|
|
MAINTAINER= agc@NetBSD.org
|
|
HOMEPAGE= http://db.lcs.mit.edu/projects/cstore/
|
|
COMMENT= Read-optimised column store relational DBMS
|
|
|
|
USE_TOOLS+= gmake perl
|
|
USE_LANGUAGES+= c c++
|
|
WRKSRC= ${WRKDIR}/cstore
|
|
|
|
REPLACE_PERL= Build/BSsrcs
|
|
|
|
SUBST_CLASSES+= prefix
|
|
SUBST_STAGE.prefix= post-patch
|
|
SUBST_FILES.prefix= Build/makefile.init
|
|
SUBST_SED.prefix+= -e 's|@PREFIX@|'${PREFIX:Q}'|g'
|
|
|
|
DATAFILES= D1.data.mini
|
|
DATAFILES+= D1.data.retsupp50sort
|
|
DATAFILES+= D1.shipdate.mini
|
|
DATAFILES+= D1.suppkey.mini
|
|
DATAFILES+= D10.data.ros
|
|
DATAFILES+= D10.data.wos
|
|
DATAFILES+= D2.data
|
|
DATAFILES+= D2.data.mini
|
|
DATAFILES+= D3.custkey.mini
|
|
DATAFILES+= D3.data.mini
|
|
DATAFILES+= D4.data
|
|
DATAFILES+= D4.data.mini
|
|
DATAFILES+= D5.data.mini
|
|
DATAFILES+= D6.data.ros
|
|
DATAFILES+= D6.data.wos
|
|
DATAFILES+= D7.data.ros
|
|
DATAFILES+= D7.data.wos
|
|
DATAFILES+= D8.data.ros
|
|
DATAFILES+= D8.data.wos
|
|
DATAFILES+= D9.data.ros
|
|
DATAFILES+= D9.data.wos
|
|
DATAFILES+= d1.lsuppkey.full
|
|
DATAFILES+= deltaPos.test
|
|
DATAFILES+= deltaPosTestBig2
|
|
DATAFILES+= lineitem.sorted.full
|
|
DATAFILES+= lshipdate.sorted.mini
|
|
DATAFILES+= lshipdate.sorted.tiny
|
|
DATAFILES+= supp.data
|
|
|
|
INSTALLATION_DIRS_FROM_PLIST= yes
|
|
|
|
post-extract:
|
|
cd ${WRKDIR} && mv ${DATAFILES} ${WRKSRC}/data
|
|
|
|
do-build:
|
|
cd ${WRKSRC}/src && ${SETENV} ${BUILD_ENV} ${MAKE} debug2
|
|
cd ${WRKSRC}/src && ./cstoreqptest 0 createData.cnf global.cnf
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/cstoreqptest ${PREFIX}/bin/cstoreqp
|
|
${INSTALL_DATA_DIR} ${PREFIX}/cstore/data
|
|
cd ${WRKSRC}/data && pax -rwpe . ${PREFIX}/cstore/data
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cstore
|
|
cd ${WRKSRC}/doc && pax -rwpe . ${PREFIX}/share/doc/cstore
|
|
|
|
.include "../../archivers/lzo/buildlink3.mk"
|
|
.include "../../databases/db4/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|