You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -114,3 +115,32 @@ Here are the [instructions](/configuration/configuration-settings#using-flags-an
114
115
115
116
116
117
<CommunityLinks/>
118
+
119
+
## Storage access timeout
120
+
Storage access errors can occur while preparing a query. Here are the storage access error messages you might encounter:
121
+
-[Shared access timeout](#shared-access-timeout)
122
+
-[Unique access timeout](#shared-access-timeout)
123
+
124
+
### Error messages
125
+
126
+
1.**Cannot access storage, unique access query is running. Try again later.**
127
+
2.**Cannot get unique access to the storage. Try stopping other queries that are running in parallel.**
128
+
129
+
### Understanding storage access timeout
130
+
131
+
Storage access timeouts occur during query preparation when the query execution engine cannot get the required type of access to the storage. There are two types of storage access:
132
+
133
+
-**Shared access:** Multiple queries can have shared access at the same time, but shared access cannot be granted while a query with unique access is running.
134
+
-**Unique access:** Only one query can have unique access at a time, and no other query can have any type of access during that period.
135
+
136
+
These timeouts prevent worker starvation and database blocking that could occur if queries were to wait indefinitely for storage access.
137
+
138
+
### Handling storage access timeout
139
+
140
+
When you encounter a storage access timeout:
141
+
142
+
1. Check for long-running queries that might be blocking storage access
143
+
2. Consider breaking down complex queries that require unique access into smaller operations
144
+
3. Retry the query after other queries have completed
145
+
4. If possible, schedule queries requiring unique access during periods of lower database activity
0 commit comments