Presentation is loading. Please wait.

Presentation is loading. Please wait.

DB Libraries: An Alternative to DBMS By Matt Stegman November 22, 2005.

Similar presentations


Presentation on theme: "DB Libraries: An Alternative to DBMS By Matt Stegman November 22, 2005."— Presentation transcript:

1 DB Libraries: An Alternative to DBMS By Matt Stegman November 22, 2005

2 Database Choices DBMS –Oracle, MySQL, MS SQL Server, PostgreSQL DB Libraries –BDE, dbExpress, MS Jet, Berkeley

3 What’s the Difference? Entry point –DBMS works on client-server paradigm –App libraries work directly in your program Platform support –DBMS doesn’t care who the client is, so long as they speak the same language –App libraries must be supported on your platform Locking must be handled in application

4 Usage Considerations End-user installation –Will users need to setup and maintain a DBMS along with the application? Speed and scalability –DBMS designed for tons and tons of data, dynamic queries –Libraries often designed for smaller data sets, static queries Reusable code

5 Borland Database Engine Interface layer, supports simple databases or connection to DBMS Supports SQL queries BDE must be installed separately from the application Has a global system configuration Deprecated in favor of dbExpress, a more abstract interface layer

6 MS Jet Relational DB with SQL Available with Microsoft Visual Studio, Visual Basic for Applications Uses Data Access Objects (DAO) or ActiveX Data Objects (ADO) Feature set is comparable to DBMS

7 Berkeley DB No SQL! A database is a set of records, each record has a key and data How to store multiple fields? Use objects. Programmer must consider index method: BTree, hash, or list Wide platform support: C/C++, Java, Perl, PHP, Python, etc. on Windows, Linux, UNIX, Mac.

8 References “Beyond Relational Databases” http://www.acmqueue.com/modules.php?name=Content&pa=showpage&pid=299 “Microsoft Jet Database Engine Programmer’s Guide” http://www.microsoft.com/technet/prodtechnol/sql/70/proddocs/msjet/jetintro.mspx The BDE Support Page http://www.bdesupport.com/ “Getting Started with Berkeley DB” http://www.sleepycat.com/docs/gsg/CXX/BerkeleyDB-Core-Cxx-GSG.pdf http://www.sleepycat.com/docs/gsg/CXX/BerkeleyDB-Core-JAVA-GSG.pdf

9 Q & A


Download ppt "DB Libraries: An Alternative to DBMS By Matt Stegman November 22, 2005."

Similar presentations


Ads by Google