on 08-25-2017 4:21 PM
Are there any options for quickly inserting millions of rows into a table? In Oracle the /*+ append */ hint was a method of directly inserting into a table without the overhead of transaction control features.
The data is selected from a very low latency on-premise remote MSSQL source.
HANA doesn't have the append hint as this is completely related to how Oracle primarily stores data (on disk). Even with Oracle DBs this hint is to be used with care as it effectively turns the table into a single session resource. It does however not bypass transaction control - else you wouldn't be able to rollback/commit those statements.
HANA doesn't do that. The insert times you report don't seem to be very fast, so I'd recommend checking what takes time here. Maybe the tables are really large already and performing intra-statement delta merges takes too much time.
Controlling delta merges during loading as well as partitioning the table could be effective measures to improve this. There had been quite a number of blogs and discussions around data loading into HANA here on SCN, so I recommend doing a little research on that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.