Saturday, March 16, 2019

Some commands to work with lmdb



  • Get the number of records in lmdb: stat() returns a dictionary object:
    (https://stackoverflow.com/questions/34420375/count-number-of-records-in-lmdb-databse-with-python)
  • lmdb_env = lmdb.open(lmdb_file_name, readonly=True)
    print lmdb_env.stat()['entries']
    

  • s

No comments:

Post a Comment

Writing a post in Markdown in Blogger

Following articles are helpful. * [【令和最新版】Blogger で Markdown を用いて記事を書く方法](https://qiita.com/hoge_fu-ga/items/267ea5ad4f8c120eaeb8) * [Bl...