You are on page 1of 9

CNXSoft – Embedded Software Development » Da...

http://www.cnx-software.com/2011/02/28/database...

CNXSoft – Embedded Software Development
Software development cycle, linux programming, hardware development…. Home About

Home > Linux, Software management > Databases for Linux Embedded Systems: Berkeley DB and SQLite

Databases for Linux Embedded Systems: Berkeley DB and SQLite
February 28th, 2011 cnxsoft Leave a comment Go to comments
MSP430 Compiler & Tools C/C++ compiler, Jtag/Fet debugger complete dev tools and more ...
www.iar.com IBM.com/OSA

IBM - Banco de Dados IBM DB2 + Power 7 com Investimento até 75% menor que o Banco Oracle! Cloud server hosting From 14 € per month. 24/7 support. Get your Cloud server in 1 minute!

Cloudee.eu

Embedded systems often need to use database to store contact information, EPG data and more. Many Linux systems use MySQL, however such a large database management system may not always be appropriate for embedded systems. Hence, there are lightweight database management systems implementation that are especially suited to embedded systems by their binary footprint, memory footprint and CPU requirements. If you want to develop in C in Linux and your requirement is to have no (or little) license to pay in your application, you could consider Oracle Berkeley DB or SQLite among others. Oracle Berkeley DB (previously Sleepycat Berkeley DB) is described as follows:

Berkeley DB enables the development of custom data management solutions, without the overhead traditionally associated with such custom projects. Berkeley DB provides a collection of well-proven building-block technologies that can be configured to address any application need from the hand-held device to the datacenter, from a local storage solution to a world-wide distributed one, from kilobytes to petabytes.

1 of 9

11/22/2011 02:07 PM

Available as a single ANSI-C source-code file that you can easily drop into another project. Java/JNI. Use for any purpose.CNXSoft – Embedded Software Development » Da. Simple. and durable (ACID) even after system crashes and power failures. Supports terabyte-sized databases and gigabyte-sized strings and blobs. isolated. Comes with a standalone command-line interface (CLI) client that can be used to administer SQLite databases.5..5. SQLite is described as follows: SQLite is a software library that implements a self-contained.. TCL bindings included. The latest version is SQLite 3.25).7. Perl. Python. RECNO storage C++. transactional SQL database engine. zero-configuration. The source code for SQLite is in the public domain. http://www. Easy to port to other systems. QUEUE. and Windows (Win32 and WinCE) are supported out of the box. Zero-configuration – no setup or administration needed. serverless. Self-contained: no external dependencies. C#. … Java Direct Persistence Layer (DPL) API Java Collections API Replication for High Availability The latest stable version is Berkeley DB 11gR2 (11. easy to use API.. Small code footprint: less than 325KiB fully configured or less than 190KiB with optional features omitted.cnx-software. Well-commented source code with 100% branch test coverage. SQLite is the most widely deployed SQL database engine in the world. Sources are in the public domain. HASH. Faster than popular client/server database engines for most common operations. 2 of 9 11/22/2011 02:07 PM .. Written in ANSI-C. Implements most of SQL92. (Features not supported) A complete database is stored in a single cross-platform disk file. Bindings for dozens of other languages available separately. Berkeley DB has the following characteristics: Written in C Software Library Key/value API SQL API by incorporating SQLite BTREE. Cross-platform: Unix (Linux and Mac OS X).1.com/2011/02/28/database. OS/2. SQLite has the following features: Transactions are atomic.2. consistent.

Whether you choose one of the other you’ll have to consider: 1. Berkeley DB supports SQL thru SQLite. Software management Tags: Linux. http://www. (2000 USD one-time fee payable to hwaci).cnx-software. in most cases you would probably go with SQLite unless you need encryption. In the next posts.. sqlite 3 of 9 11/22/2011 02:07 PM . There are many parameters to consider. In the later case. oracle.. has a low memory footprint (190KB minimal / 325 KB full features) and is open source (GPL License) . database..com/2011/02/28/database. hwaci. Berkeley also have a XML (C++) and Java Edition. However. I’ll explain how to cross-compile SQLite and Berkeley DB for ARM and MIPS targets. but generally.. some extensions are not open source and require a license such as SQLite Encryption Extension. 2. do not want to pay the 2000 USD license fee and your code can be open-sourced.CNXSoft – Embedded Software Development » Da. 1 0 Share Categories: Linux. SQLite support SQL natively. Berkeley DB is probably the best choice. berkeley db. has a low memory footprint (350KB minimal config) a has a dual license GPL/Commercial.

Name (required) E-Mail (will not be published) (required) Website Subscribe to comments feed Low Cost Freescale i..cnx-software. No trackbacks yet..com Small. http://www. 1.moxa. Embedded Computer www.MX53 (Cortex A8) Development Board Freescale Home Energy Gateway Reference Platform RSS Twitter 4 of 9 11/22/2011 02:07 PM ..CNXSoft – Embedded Software Development » Da. LAN. more Comments (0) Trackbacks (0) Leave a comment Trackback 1. No comments yet. rugged Moxa computers for industrial use.com/2011/02/28/database.. RS-485.

com/2011/02/28/database.. http://www..0 (Honeycomb) Video Preview Tags Android archos arm augmented reality beagleboard bsp ces 2011 cortex cross-compilation development board ics devkit digital signage elce 2011 freescale gingerbread google honeycomb pandaboard intel kernel linaro Linux media player mips nfc nvidia open source stb tablet texas instruments tutorial ubuntu programming qemu qualcomm samsung smart tv standard xp sdk set-top box sigma designs smartphone windows embedded windows Categories AMD Fusion G-Series (13) Android (188) Atmel AT91SAM3 (2) 5 of 9 11/22/2011 02:07 PM .. Translator Random Posts Developing Embedded Linux Devices Using the Yocto Project .cnx-software.CNXSoft – Embedded Software Development » Da..ELCE 2011 Delete Old Revisions to Reduce Time to First Byte for Wordpress Blogs How to Write and Submit a Linux Kernel Patch OMAP3 / OMAP4 Based Android Reference Designs for Smartphones and Tablets Android 3.

MX (17) Graphics (19) Hardware (125) Intel Atom (6) Intel CE41xx (5) Linux (212) Linux 2.. http://www.6 (90) Linux 3.com/2011/02/28/database.CNXSoft – Embedded Software Development » Da..0 (15) Marvell Armada (2) NVidia Tegra 2 (15) NVidia Tegra 3 (5) Processors (37) Programming (79) Qualcomm APQ8x60 (2) Qualcomm MSM722x (6) Qualcomm Snapdragon MSM7x30 (4) Qualcomm Snapdragon MSM8x55 (7) Qualcomm Snapdragon MSM8x60 (12) Qualcomm Snapdragon QSD8x50 (6) Qualcomm Snapdragon S4 (2) Rockchip RK29XX (8) ST Ericsson Nova A9500 (8) Samsung Exynos (10) Samsung SOPC100 (2) Sigma Designs EM862X (10) Sigma Designs SMP863X (11) Sigma Designs SMP865X (12) Sigma Designs SMP891X (1) Software management (61) Telechips TCC880X (1) Telechips TCC890X (3) Testing (31) Texas Instruments AM387X (1) Texas Instruments OMAP 3 (22) Texas Instruments OMAP 4 (29) Texas Instruments OMAP 5 (3) Texas Instruments Sitara (4) Uncategorized (16) 6 of 9 11/22/2011 02:07 PM ..cnx-software.. Atmel AT91SAM9 (3) Audio (6) Broadcom BCM 7XXX (1) Chrome OS (7) Chromium OS (7) Cirrus Logic EP93XX (3) Conexant CX927x5 (2) Cypress PSoC (1) Freescale Kinetis (1) Freescale i.4 (23) Linux 2.

Video (94) Windows 8 (9) ZiiLABS ZMS (4) Categories Android Audio Chrome OS Chromium OS Graphics Hardware Linux Processors Programming Software management Testing Uncategorized Video Windows 8 Blogroll Currency Crisis French Translation Investment Ideas Thai Translation CNXSoft Archives November 2011 (57) October 2011 (76) September 2011 (65) August 2011 (43) May 2011 (3) April 2011 (24) March 2011 (25) February 2011 (22) January 2011 (32) December 2010 (25) November 2010 (28) October 2010 (5) September 2010 (8) August 2010 (8) July 2010 (11) June 2010 (6) May 2010 (6) April 2010 (5) 7 of 9 11/22/2011 02:07 PM . http://www...CNXSoft – Embedded Software Development » Da...cnx-software.com/2011/02/28/database.

3.AppUp show at Sprint conference part 1 Meshcentral...com NY-Rochester.. I've attended a webinar entitled “Harness the power and flexibility of the Midgard architecture for Embedded GPUs” presented Steve Steele..10 Alexey Smirnov on Qemu Linaro Versatile Express Image on Ubuntu 10. If you are a Sr. March 2010 (5) February 2010 (7) Misc Investment Ideas Recent Comments cnxsoft on Qemu Linaro Versatile Express Image on Ubuntu 10..com -.... […] Intel Releases Embedded Software Development Tools Update › IT .. […] Intel Releases Embedded Software Development Tools Update Intel today released the Intel® Embedded Software Development Tool Suite 2. […] . http://www. ... Job Description: Position requires the following of the ... Animatics Corp.. […] Principal Embedded Software Engineer WiFi .CNXSoft – Embedded Software Development » Da. […] 8 of 9 11/22/2011 02:07 PM .gl/juUjL Show 10 . please read on! Based in beautiful Selma. Product Manager at ARM Media Processing Division and sponsored by EETimes.. communications and control systems for power utilities in North America. Intel today released the Intel® Embedded Software Development Tool Suite 2.cnx-software.. […] Sr..Python) is required to develop embedded software for a range of wireless chips for a leading leading chip set designer in the Telecoms . is the . […] CNXSoft – Embedded Software Development » Android Variants . which supports the latest Intel® Atom™ processor-based platforms and optimizations.. Embedded Software Engineer – C Programming. we are one of the nation's leading providers of automotive instrumention ... […] Embedded Software Engineer | irishengineeringdirectory.. Join the Animatics Engineering team as an Embedded Software Engineer and be a major contributor to the research and development of our next generation of integrated servo motors. NY-Hauppauge.Embedded C Description: An experienced Principal Embedded Engineer (WiFi ... DSP ..3.10 cnxsoft on Beagleboard Emulator in Ubuntu with Qemu Gustav on Beagleboard Emulator in Ubuntu with Qemu Siva Prakash on Technologies and Techniques to Accelerate Embedded Development Embedded Software News CNXSoft – Embedded Software Development » Midgard ...3 http://goo. TX.com/2011/02/28/database. TI F2808.Embedded C Perl . Embedded Software Engineer Company specializes in instrumentation.. […] Intel Releases Embedded Software Development Tools Update . TX-Selma. Embedded Software Engineer with C programming and TI F2808 experience.. This release updates all key software components in the .. Intel® Embedded Software Development Tool Suite 2. ....

2011 Ice Cream Sandwich review via SlashGear November 22. 2011 Verizon finally announces a date for the Samsung… Illusion November 22. http://www.com/2011/02/28/database. 2011 November 22.cnx-software.1 and CSS 3.Flightglobal Jobs Embedded Software ArchitectIn view of strengthening the team. 2011 Nvidia video shows off Ice Cream Sandwich running on Transformer Prime November 22. Performance Optimization WordPress Plugins by W3 EDGE Switch to our mobile site 9 of 9 11/22/2011 02:07 PM .. 2011 Meta Register Log in Entries RSS Comments RSS WordPress.CNXSoft – Embedded Software Development » Da.1401308622 ...org Top WordPress Copyright © 2009-2011 CNXSoft – Embedded Software Development Theme by NeoEase. my client is looking for an "Embedded Software Architect"Your role: […] Opportunity at West Wireless Health Institute » Viterbi Career Toolbox The Embedded Software Engineer will be responsible for Embedded Software design and coding in advanced microprocessor based products and systems. 2011 Ice Cream Sandwich gets dedicated search button mod November 22. Valid XHTML 1.. 2011 Official Asus Eee Pad Transformer Prime TF201 Page is Live November 22. 2011 And then there was the Facebook phone November 22. This position is responsible for different aspects of new wireless.. 2011 Android gets AirPlay-like streaming via xBounds November 22. 2011 Galaxy Nexus could be at Best Buy November 27. mobile and . 2011 Motorola DROID Receives Security Fix November 22. Embedded Software Architect . […] Android Community TouchPad firesale gives HP the #2 spot in US tablet sales November 22..