Tokyo Cabinet

  • 1,305 views
Uploaded on

tokyo cabinet database overview

tokyo cabinet database overview

More in: Technology , Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,305
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
7
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. or LOL
  • 2. Tokyo
  • 3. Cabinet
  • 4.  
  • 5. Runs in... Runs on Linux, Solaris, Mac OS X
  • 6. tokyo cabinet storage
    • <key, value> database manager DBM
    Persisted in file system Tokyo Cabinet <k, v> <k, v>
  • 7. Why Tokyo?
    • space efficiency : small database file size.
    • time efficiency : fast processing speed.
    • parallelism : high performance in multi-thread environment.
    • usability : simple API’s.
    • 64-bit architecture : enormous memory space and database file are available.
    • No-SQL 
  • 8.
    • Database Structures:
    - Hash - B+ Tree - Fixed-Length - Table
  • 9. Hash Database
  • 10. B+ Tree Database
    • slower than hash database 
    • Logical sorted (Last Recent Used)
    • Stands in a Hash Database
  • 11. Fixed-length Database
    • natural number keys
    • extremely fast
  • 12. Table Database
    • expresses a structure like a table of relational database.
    • column based
    • flexible structure
    • query mechanism
    • column indexes
  • 13.  
  • 14. Tokyo Cabinet is 31 times faster than MySQL!
    • Total time used to write 10000 records and retrieve them back Tokyo Cabinet: 18.87s MySQL: 562.21s
  • 15. Advantages Disadvantages NO-SQL Windows platform is not supported Speed not durable (isn’t crash safe) high scalability: No actual limit size of a database file (to 8 exabytes) LOCK ( only one transaction can be activated with the database at the same time) Tokyo Cabinet is written in the C language, and provided as API of C, Perl, Ruby, Java, and Lua. high concurrency Write-ahead logging: (log transaction status-> succeeded, half-succeeded, or failed)
  • 16. Thank You!