Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Database > Database Engines

    buzhug 1.6

    Download button

    No screenshots available
    Downloads: 840  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.7/5)
    18 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Pierre Quentel | More programs
    BSD License / FREE
    December 20th, 2009, 18:43 GMT
    ROOT / Database / Database Engines

     Read user reviews (0)  Refer to a friend  Subscribe

    buzhug description

    A fast, pure-Python database engine

    buzhug is a fast, pure-Python database engine, using a syntax that Python programmers should find very intuitive.

    The data is stored and accessed on disk (it is not an in-memory database) ; the implementation has been designed to make all operations, and especially selection, as fast as possible with an interpreted language.

    The database is implemented as a Python iterator, yielding objects whose attributes are the fields defined when the base is created ; therefore, requests can be expressed as list comprehensions or generator expressions, instead of SQL queries :

    for record in [ r for r in db if r.name == 'pierre' ]
    print record.name,record.age

    instead of
    cursor.execute("SELECT * IN db WHERE name = 'pierre'")
    for r in cursor.fetchall():
    print r[0],r[1]


    List comprehension is only one of the different ways to select records ; direct access by record identifier is almost immediate regardless of the size of the base, and the algorithms used in the select() method make selections extremely fast in most cases.

    buzhug supports concurrency control by versioning, cleanup of unused data when many records have been deleted, easy links between bases, adding and removing fields on an existing base, etc.

    Database speed comparisons are not easy to make. I made a limited benchmark using the same use cases as SQLite's author ; it shows that buzhug is much faster than other pure-Python modules (KirbyBase, gadfly) ; SQLite, which is implemented in C, is faster, but only less than 3 times on the average.

    buzhug is an Open Source software, published under the revised BSD licence.


    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    database engine | database server | Python database engine | buzhug | database | engine

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM