#community-help

Concerns about Custom id Prefix Impact on Speed

TLDR Morgan questions whether using a custom id starting with a p will affect speed. Kishore Nallan confirms it will not be an issue.

Powered by Struct AI

2

Oct 27, 2021 (27 months ago)
Morgan
Photo of md5-9af47d330848eae988a5f9cc03e413f1
Morgan
07:03 PM
We are trying to make up our own id in a collection It will be something look like this: pID:3f713ab6-a0b9-4e8e-9089-184c53d4c298 tID: 1 id: 1 so it will be very readable to our developers. And in our application, we will use that id to find the document and to upsert. My question is if we use that kind of id with leading letter always starts with p, will that affect the speed? Or do you recommend an id that starts with random character? Thank you!
Oct 28, 2021 (27 months ago)
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
01:44 AM
That won't be a problem, feel free to use that prefix.

2