Teiid provides several capabilities for caching data including:
Code table caching
These techniques can be used to significantly improve performance in many situations.
With the exception of external materialized views, the cached data is accessed through the BufferManager. For better performance the BufferManager setting should be adjusted to the memory constraints of your installation. See the Cache Tuning for more on parameter tuning.