Need Efficient Solution for Slow Collection Restoration in Qdrant #4257
Replies: 7 comments 11 replies
-
hey @ruben-quilez, how do you upload a snapshot? Do you upload it from your local machine or some server? |
Beta Was this translation helpful? Give feedback.
-
I confirm the same issue. |
Beta Was this translation helpful? Give feedback.
-
I confirm this: enabling api_key and tls, 2Gb of restoration takes about 20 minutes Please, Qdrant, take a look ! |
Beta Was this translation helpful? Give feedback.
-
@ruben-quilez Thank you for the code snippet. I've noticed that you explicitly pass headers = {
'api-key': self.api_key
}
files = {'snapshot': open(file_path, 'rb')}
response = requests.post(url, headers=headers, files=files, verify=False) I tried to reproduce your issue on our side. In my case everything works fast with or without TLS if I don't provide the header, but when I do the upload takes ages. It's not Qdrant's issue. The |
Beta Was this translation helpful? Give feedback.
-
hi @ruben-quilez , I am getting issue when i vector count goes above 300k+, it comes automatically to zero, without having any log on qdrant server, can you please tell me what is the size of your data ? and did you get any kind of this behaviour? and what is your docker compose configuration , if you can share will be very helpful |
Beta Was this translation helpful? Give feedback.
-
I use Qdrant Cloud GUI to upload snapshots, and it still very slow. Maybe provide a function that create split snapshot files (for example, 100MB a file)? Seems small files can be uploaded fast. |
Beta Was this translation helpful? Give feedback.
-
Hi @DavidOsparks yes, this is normal the Snapshot upload can appear to pause and it may take some time - provided there is sufficient memory it will upload in time |
Beta Was this translation helpful? Give feedback.
-
Hi!
I am currently using Qdrant for vector storage and have encountered a critical issue.
When I take a snapshot of a collection, the process is quick and the download is fast. However, when I attempt to upload and restore the collection, the process becomes extremely slow. For example, I tested this with a collection that is several gigabytes in size, and it took hours to complete the upload.
If for any reason (due to any problem), I need to recreate a collection, it takes an excessive amount of time, leaving my service unavailable for an unacceptably long period.
I have been following the documentation provided here: https://qdrant.tech/documentation/concepts/snapshots/. Is there any faster method available?
This is a critical issue for us, and without a resolution, it significantly undermines the reliability of Qdrant for our operations. I would greatly appreciate our solution to this problem.
Thank you!
Rubén
Beta Was this translation helpful? Give feedback.
All reactions