Reputation: 21
I cannot find such information anywhere in the documentation. I would like to figure out how the cache behaves when:
Upvotes: 0
Views: 886
Reputation: 7339
To answer the questions asked directly:
Upvotes: 4
Reputation: 1774
I think you are talking about the data cache(or SSD Cache or Local Disk cache). Think about it like this. A warehouse is a cluster of nodes. These nodes are nothing but the compute instances of the underlying cloud provider. For example if it is AWS, these nodes are EC2 instances. Each of these instances have SSD attached to it and the SSD caches some or whole of the table data when a query retrieves data from the remote storage(S3 in case of AWS). These cache is available till the warehouse is active. During that time any query which wants data from the same table can access the data from the SSD cache. But if the warehouse suspends, then next time when it resumes you may not get the same compute nodes attached, hence you may lose the data cache completely.
Upvotes: 0