Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Selecting from a large table on oracle from hana.

$
0
0

Hi Experts,

 

Here's the thing, I have a table on oracle database that I need to access from hana using a virtual table.

But this table is a bit large and it is partitioned on oracle db (500 000 records)

 

Now if i query it from oracle with a where condition that matches the partition criteria, the query takes around 1-2 second.

But on Hana the same query but with the table name replaced by its corresponding virtual table name takes like 20 seconds...

 

Can you explain why it is taking that long?

 

Although usually normal tables are pretty fast to select from hana to oracle using virtual tables.

Also note that if I create a view on oracle containing that query then query the view from hana it works just fine. (takes 1-2 seconds)

So could this be because Hana is ignoring the functionality of partitioned tables on oracle and Hence the bad performance?

 

Please advise.

 

Thanks,

 

Regards,


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>