Skip to content

add method for quickly identify duplicates #34

Description

@webstergd

from DayHai:
for each object stored in the primary table, you can compute a hash of the content of this object and save it into another table CREATE TABLE (hash text PRIMARY KEY, object_id uuid);
To check if there is a duplicate of your object, just do a SELECT * FROM hash_table where hash = xxx

That should be way faster then out current method.

Activity

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