Apache Derby 1

Apache Derby

Original author(s) Cloudscape Inc (Later IBM)

Developer(s) Apache Software Foundation

Stable release 10.7.1.1 / December 15, 2010

Development status Active

Written in Java

Operating system Cross-platform

Type Relational Management System

License 2.0

Website http:/ / db. apache. org/ derby/

Apache Derby is a Java relational database management system that can be embedded in Java programs and used for online transaction processing. It has a 2 MB disk-space footprint.[1] Apache Derby is developed as an open source project under the Apache 2.0 licence. Derby was previously distributed as IBM Cloudscape. Sun distributes the same binaries as Java DB.[2]

Derby technologies

Derby Engine The core of the technology, Derby's database engine is a full functioned relational embedded database engine. JDBC and SQL are the programming APIs. It has IBM DB2 SQL syntax.

Derby Network Server The Derby network server increases the reach of the Derby database engine by providing traditional client server functionality. The network server allows clients to connect over TCP/IP using the standard DRDA protocol. The network server allows the Derby engine to support networked JDBC, ODBC/CLI, and PHP.

Embedded Network Server An embedded database can be configured to act as a hybrid server/embedded RDBMS; to also accept TCP/IP connections from other clients in addition to clients in the same JVM.[3]

Database Utilities • ij – a tool that allows SQL scripts to be executed against any JDBC database. • dblook – Schema extraction tool for a Derby database. • sysinfo – Utility to display version numbers and class path. Apache Derby 2

History Apache Derby originated at Cloudscape Inc, an Oakland, California, start-up founded in 1996 by Nat Wyatt and Howard Torf to develop Java database technology. The first release of the database engine, then called JBMS, was in 1997. Subsequently the product was renamed Cloudscape and releases were made about every six months. In 1999 Informix Software, Inc., acquired Cloudscape, Inc. In 2001 IBM acquired the database assets of Informix Software, including Cloudscape. The database engine was re-branded to IBM Cloudscape and releases continued, mainly focusing on embedded use with IBM's Java products and middleware. In August 2004 IBM contributed the code to the Apache Software Foundation as Derby, an incubator project sponsored by the Apache DB project.[4] In July 2005 the Derby project graduated from the and is now being developed as a sub-project of the DB Top Level Project at Apache. Prior to Derby's graduation from incubation, Sun joined the Derby project with an intent to use Derby as a component in their own products,[5] and with the release of Java 6 in December 2006, Sun started packaging Derby in the JDK branded as Java DB. In March 2007 IBM announced that they would withdraw marketing and support for the Cloudscape product, but would continue to contribute to the Apache Derby project.[6]

Comparison to other embedded SQL Java In terms of execution speed, Derby has not performed well in some comparisons to other embedded SQL databases such as the also free and open source H2 database.[7] [8] [9] Derby does not support Multiversion concurrency control (MVCC) while its main competitors HyperSQL and H2 support it.

References

[1] "The Apache DB Project" (http:/ / db. apache. org/ derby/ ). Apache.org. .

[2] Java DB - FAQs: "Is Java DB a fork of Apache Derby?" (http:/ / developers. sun. com/ javadb/ features/ faqs. jsp#1q2)

[3] see Embedded Server Example in (http:/ / db. apache. org/ derby/ docs/ 10. 4/ adminguide/ )

[4] "Why IBM is open sourcing Cloudscape as Derby" (http:/ / www. . com/ developerworks/ data/ library/ techarticle/ dm-0410prial/ ). IBM. .

[5] "Apache Derby graduates with Sun onboard" (http:/ / news. com. com/ Apache+ Derby+ graduates+ with+ Sun+ onboard/

2100-7344_3-5818473. html). CNET news.com. .

[6] "Changes in Cloudscape Availability and Support" (http:/ / www-1. ibm. com/ support/ docview. wss?rs=636& uid=swg21256502). IBM. .

[7] "Hsqldb vs Derby" (http:/ / icoloma. blogspot. com/ 2007/ 01/ -vs-derby. html). Ignacio Coloma. .

[8] "H2 Database Performance" (http:/ / www. h2database. com/ html/ performance. html). H2 Database. .

[9] "Benchmark for , hypersonic, derby" (http:/ / groups. google. com/ group/ h2-database/ browse_thread/ thread/ 55a7558563248148). H2 Database. .

Bibliography • Zikopoulo, Paul C.; Baklarz, George; Scott, Dan (November 6, 2005). Apache Derby -- Off to the Races: Includes

Details of IBM Cloudscape (http:/ / www. ibmpressbooks. com/ bookstore/ product. asp?isbn=0131855255) (First ed.). IBM Press. pp. 600. ISBN 0131855255

External links

• Apache Derby Project (http:/ / db. apache. org/ derby/ )

• IBM Cloudscape Site (http:/ / www-306. ibm. com/ software/ data/ cloudscape/ )

• Internals of Derby, An Open Source Pure Java Relational Database Engine (http:/ / db. apache. org/ derby/

binaries/ ApacheDerbyInternals_1_1. pdf) deployable in an embedded OSGi environment

Java DB Site (http:/ / developers. sun. com/ javadb/ ) Apache Derby 3

• Why IBM is open sourcing Cloudscape as Derby (http:/ / www-106. ibm. com/ developerworks/ db2/ library/

techarticle/ dm-0410prial/ ), IBM developerWorks site

• Apache Derby SMP scalability (http:/ / folk. ntnu. no/ andersmo/ derby_project_report. pdf)

• Apache Derby performance results in the JPA Benchmark (http:/ / www. jpab. org/ Derby. html) Article Sources and Contributors 4 Article Sources and Contributors

Apache Derby Source: http://en.wikipedia.org/w/index.php?oldid=404627177 Contributors: Absurdist, Aleksandara, Amorken, Aou, Bassailor, Bernt, Bxj, Cander0000, CanisRufus, Chas66, Chirags, Cristan, Dcsohl, Everyking, Faisal.akeel, Frap, Free Software Knight, HalfAngora, Karnesky, Kesla, Kuru, Limn, M, Mcaisse, Octahedron80, Peterl, Polylerus, Raysonho, Reedy, Rjwilmsi, Sappy, Schmatt, Shashark, Softwaresavant, SteveLoughran, TommyG, Tsriopensourceblueprints, Wuhwuzdat, Zanter, Zero0w, 63 anonymous edits Image Sources, Licenses and Contributors

Image:Derby Logo.png Source: http://en.wikipedia.org/w/index.php?title=File:Derby_Logo.png License: Apache Contributors: Faisal.akeel, MBisanz License

Creative Commons Attribution-Share Alike 3.0 Unported

http:/ / creativecommons. org/ licenses/ by-sa/ 3. 0/