Skip to content
This repository was archived by the owner on Jun 27, 2025. It is now read-only.
This repository was archived by the owner on Jun 27, 2025. It is now read-only.

How to optimize the speed when I import a large data into pyrocksdb? #85

Open

Description

@xiaolinpan

When I import a large data into rocksdb, the speed is very slow. How can I optimize the speed?thank you!

Activity

  1. Jamiejoin commented on Nov 28, 2020

    @Jamiejoin

    Replace the hard disk with an SSD, and provide your rocksdb status log, search for some optimization solutions about delayed write and write blocking,If you are importing existing data to rocksdb, you can try to create an sst file to import

  2. ckingdev commented on Dec 19, 2020

    @ckingdev

    If you are doing an initial bulk load, insert the data in order, sorted by key. Sorting the data up front makes for much less work when loading.

    You can also create the SST files yourself- https://github.com/facebook/rocksdb/wiki/Creating-and-Ingesting-SST-files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions