Your SlideShare is downloading. ×
0
Tokyo Cabinet
Tokyo Cabinet
Tokyo Cabinet
Tokyo Cabinet
Tokyo Cabinet
Tokyo Cabinet
Tokyo Cabinet
Tokyo Cabinet
Tokyo Cabinet
Tokyo Cabinet
Tokyo Cabinet
Tokyo Cabinet
Tokyo Cabinet
Tokyo Cabinet
Tokyo Cabinet
Tokyo Cabinet
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Tokyo Cabinet

1,410

Published on

tokyo cabinet database overview

tokyo cabinet database overview

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,410
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
10
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 <ul><li>&lt;key, value&gt; database manager DBM </li></ul>Persisted in file system Tokyo Cabinet &lt;k, v&gt; &lt;k, v&gt;
  • 7. Why Tokyo? <ul><li>space efficiency : small database file size. </li></ul><ul><li>time efficiency : fast processing speed. </li></ul><ul><li>parallelism : high performance in multi-thread environment. </li></ul><ul><li>usability : simple API’s. </li></ul><ul><li>64-bit architecture : enormous memory space and database file are available. </li></ul><ul><li>No-SQL  </li></ul>
  • 8. <ul><li>Database Structures: </li></ul>- Hash - B+ Tree - Fixed-Length - Table
  • 9. Hash Database
  • 10. B+ Tree Database <ul><li>slower than hash database  </li></ul><ul><li>Logical sorted (Last Recent Used) </li></ul><ul><li>Stands in a Hash Database </li></ul>
  • 11. Fixed-length Database <ul><li>natural number keys </li></ul><ul><li>extremely fast </li></ul>
  • 12. Table Database <ul><li>expresses a structure like a table of relational database. </li></ul><ul><li>column based </li></ul><ul><li>flexible structure </li></ul><ul><li>query mechanism </li></ul><ul><li>column indexes </li></ul>
  • 13. &nbsp;
  • 14. Tokyo Cabinet is 31 times faster than MySQL! <ul><li>Total time used to write 10000 records and retrieve them back Tokyo Cabinet: 18.87s MySQL: 562.21s </li></ul>
  • 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-&gt; succeeded, half-succeeded, or failed)
  • 16. Thank You!

×