- 3,707,910 Users
- 2,240,909 Discussions
- 7,839,920 Comments
Forum Stats
Discussions
Categories
- 17 Industry Applications
- 3.2K Intelligent Advisor
- 3 Insurance
- 689 On-Premises Infrastructure
- 230 Analytics Software
- 19 Application Development Software
- 1.7K Cloud Platform
- 700.4K Database Software
- 17.4K Enterprise Manager
- 4 Hardware
- 96 Infrastructure Software
- 62 Integration
- 44 Security Software
Query caching problem

I'm using Oracle database 19c. A query in a package returns 4 records. I added a 5th record to the table but the query still returns 4 records. I had to add a condition (and 1=1) to get the correct results so I guess it is a caching problem. I'm not using result_cache and the result_cache_mode is set to manual. Any idea how to solve this serious problem?
0
Answers
The two queries have different execution plans.:
So maybe this is an optimizer issue.