- Newest
- Most votes
- Most comments
TimeOut exceptions (and OutofMemory exceptions, for that matter) are not the product of instance availability, but happen due to issues with the execution of a query.
TimeOut exceptions occur when the execution thread for a given query is not able to complete the execution of a query within the defined query timeout period (2 minutes, by default). This typically happens if you have a query that's trying to execute a more analytical type of query pattern. Neptune is designed for highly concurrent workloads with more transactional (OLTP) style queries (queries that are constrained to a small portion of the graph). If you need to execute analytical (OLAP) queries, you may want to investigate using the newer Neptune Analytics functionality.
OutOfMemory exceptions are not indicative of an instance running out of memory. OOM exceptions occur with the execution thread for a query runs out of allocated memory for that query thread. Within Neptune, we allocate approximately 2/3 of instance memory to buffer pool cache. The other 1/3 (minus what we need to execute the operating system on each instance) is divided up between the number of query execution threads (which the number of threads is equal to 2x the number of vCPUs on an instance).
Encountering either of these exceptions will not cause a cluster failover, as these are not the result of infrastructure becoming unavailable.
Relevant content
- asked a year ago
- Accepted Answerasked a year ago
- asked 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 4 years ago
- AWS OFFICIALUpdated 4 years ago