wenzhenghu opened a new issue, #59531:
URL: https://github.com/apache/doris/issues/59531

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Description
   
   | Operation Type | Table Type | Effect of `enable_file_cache` | Effect of 
`disable_file_cache` |
   | :--- | :--- | :--- | :--- |
   | **Write (Load)** | **Internal Table** | **None**<br>(Ignored) | **Controls 
Write-to-Cache**<br>(True = Do not write to cache<br>False = Write to cache) |
   | | **External Table** | **None**<br>(Ignored, writes directly to remote 
storage) | **None**<br>(Ignored, writes directly to remote storage) |
   | **Read (Query)** | **External Table** | **On/Off Switch**<br>(True = Use 
cache<br>False = Read directly from remote) | **Disposable Flag**<br>(Used when 
cache is enabled. Determines if data is "one-time use") |
   | | **Internal Table** | **Ineffective**<br>(Always uses cache if globally 
enabled in BE) | **Eviction Policy Control**<br>(True = Uses disposable queue 
[TTL/LRU]<br>False = Uses normal queue) |
   
   [2026-01-04 fe 
enable_file_cache和disable_file_cache对缓存读写操作影响分析.pdf](https://github.com/user-attachments/files/24420608/2026-01-04.fe.enable_file_cache.disable_file_cache.pdf)
   
   ### Solution
   
   The parameter enable_file_cacheis currently not utilized for internal 
tables; only datalake tables are making use of it. If internal tables could 
leverage this functionality, the role of disable_file_cacheshould be 
transferable to them as well.
   
   ### Are you willing to submit PR?
   
   - [x] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to