Skip to content

Commit

Permalink
chore: Added caveats to using UUIDs for document ids
Browse files Browse the repository at this point in the history
  • Loading branch information
tazarov committed May 17, 2024
1 parent 82a0370 commit d7cc059
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/core/document-ids.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ collection.add(ids=[uuid.uuid4() for _ in range(len(documents))], documents=my_d

!!! tip "Storage Overhead"

UUIDs are 128 bits long, which can be a lot of overhead if you have a large number of documents. If you are concerned about storage overhead, you may want to consider a different ID strategy.
UUIDs are 128 bits long, which can be a lot of overhead if you have a large number of documents. If you are concerned
about storage overhead, you may want to consider a different ID strategy.

### Hashes

Expand Down

0 comments on commit d7cc059

Please sign in to comment.