Re: Alternate for Varrays in Oracle
k. forgive my ignorance as I'm relatively new to MySQL, but have been doing heavy db development for quite a while.
How do you populate a temp table in the database from the application layer without incurring a network roundtrip for each row? Certainly doing a batch insert in java helps alleviate this some. But it's orders of magnitude different then sending arrays of values and letting the db engine then sync the data.
Unless mysql has a way to populate a temp table in one transaction efficiently?
The whole point of the question of how to pass an ARRAY of values in my head is because you have data that is not yet present in the database residing in your application layer, and you need to do some sort of processing on that in the database but don't want to have a statement fired for each row of data through the whole stack (app <---> database).
Subject
Views
Written By
Posted
2963
May 15, 2012 03:22AM
1329
May 15, 2012 11:26AM
1436
May 19, 2012 09:46PM
1404
May 20, 2012 04:27AM
Re: Alternate for Varrays in Oracle
1277
May 20, 2012 08:23AM
2076
May 20, 2012 11:18AM
1527
May 21, 2012 08:55AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.