Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2800

Views with CACHE RETENTION

$
0
0

I am trying to create a view with cache retention. My ETL data load runs every 10 mins, during the data load, I want to show the old data (data before the data load).  According to the docs here, if I create a view with the following syntax, it should solve the problem

 

CREATE VIEW TEST_VIEW AS

SELECT * FROM TEST_TABLE

WITH CACHE RETENTION 600; --10 minutes

 

But when I try to insert a record in TEST_TABLE, it immediately reflects in the view.  What am I missing?


Viewing all articles
Browse latest Browse all 2800

Trending Articles