Pump up the Volume!                                                            The APEX Data Loader Inside Out            ...
About Roel               • Director of APEX Evangelists NL               • 20+ years of Oracle Experience               • ...
A Small Ad...                               Copyright © 2012 Apex Evangelists                                     http://a...
How To Get Data Into The Database?                                    DBA   Developer   End User                     ETL T...
Data Load Wizard - Wizard               • Plain Insert               • Tweak User Experience               • Add Lookups  ...
Plain Insert                            DEMONSTRATION                                            Copyright © 2012 Apex Eva...
7Thursday, November 29, 12   7
8Thursday, November 29, 12   8
9Thursday, November 29, 12   9
10Thursday, November 29, 12   10
11Thursday, November 29, 12   11
12Thursday, November 29, 12   12
13Thursday, November 29, 12   13
14Thursday, November 29, 12   14
15Thursday, November 29, 12   15
16Thursday, November 29, 12   16
17Thursday, November 29, 12   17
18Thursday, November 29, 12   18
19Thursday, November 29, 12   19
20Thursday, November 29, 12   20
21Thursday, November 29, 12   21
Tweak user experience                            DEMONSTRATION                                                    Copyrigh...
23Thursday, November 29, 12   23
24Thursday, November 29, 12   24
25Thursday, November 29, 12   25
Add lookups                            DEMONSTRATION                                            Copyright © 2012 Apex Evan...
27Thursday, November 29, 12   27
28Thursday, November 29, 12   28
29Thursday, November 29, 12   29
So “Insert New Value” only works with auto generated keys!        (it does insert a record with ST = NULL...)        So yo...
Add transformations                            DEMONSTRATION                                                  Copyright © ...
32Thursday, November 29, 12   32
Only columns that are uploaded can be transformed...      33Thursday, November 29, 12                                     ...
Add concurrency                            DEMONSTRATION                                              Copyright © 2012 Ape...
35Thursday, November 29, 12   35
Does NOT work when you update the UK (First/Last Name)                                              -> will do an insert  ...
Under the covers                                               Copyright © 2012 Apex Evangelists                          ...
Collections Used               • After “Data Load Source”                            •   CLOB_CONTENT                     ...
One-to-many Mapping               • Sales sheet                     • Customers                     • Products            ...
Conclusions                                          Copyright © 2012 Apex Evangelists                                    ...
Conclusions               • Data Load Wizard - Wizard is easy to use for an APEX Developer               • Data Load Wizar...
Q A                             &                                  Copyright © 2012 Apex Evangelists                      ...
roel@apex-evangelists.com                            http://apex-evangelists.com                                   Copyrig...
Upcoming SlideShare
Loading in …5
×

Pump up the volume - The APEX DataLoader inside out

4,123 views

Published on

Since APEX 4.1 we've got the built-in feature of the Data Loader. This feature isn't widely used yet and that is a shame. In this session you will learn all the nifty features of this particular piece of APEX functionality. Afterwards you will be able to use it yourself, making your life a lot easier and your users a lot happier.

Published in: Technology
9 Comments
1 Like
Statistics
Notes
No Downloads
Views
Total views
4,123
On SlideShare
0
From Embeds
0
Number of Embeds
7
Actions
Shares
0
Downloads
57
Comments
9
Likes
1
Embeds 0
No embeds

No notes for slide

Pump up the volume - The APEX DataLoader inside out

  1. 1. Pump up the Volume! The APEX Data Loader Inside Out Roel Hartman Copyright © 2012 Apex Evangelists http://apex-evangelists.comThursday, November 29, 12 1
  2. 2. About Roel • Director of APEX Evangelists NL • 20+ years of Oracle Experience • “RoelH” in the APEX Forum • Presenter at KSCOPE, OOW, Collaborate, DOAG, UKOUG, ... • Oracle ACE Director • Blog @ http://roelhartman.blogspot.com • Twitter : @RoelH Copyright © 2012 Apex Evangelists http://apex-evangelists.com 2Thursday, November 29, 12 2
  3. 3. A Small Ad... Copyright © 2012 Apex Evangelists http://apex-evangelists.com 3Thursday, November 29, 12 3
  4. 4. How To Get Data Into The Database? DBA Developer End User ETL Tools Data Pump SQL Loader External Tables UTL_FILE XLS Upload File Upload Data Load Wizard Websheets Copyright © 2012 Apex Evangelists http://apex-evangelists.com 4Thursday, November 29, 12 4
  5. 5. Data Load Wizard - Wizard • Plain Insert • Tweak User Experience • Add Lookups • Add Transformations • Add Concurrency • Under the Covers Copyright © 2012 Apex Evangelists http://apex-evangelists.com 5Thursday, November 29, 12 5
  6. 6. Plain Insert DEMONSTRATION Copyright © 2012 Apex Evangelists http://apex-evangelists.com 6Thursday, November 29, 12 6
  7. 7. 7Thursday, November 29, 12 7
  8. 8. 8Thursday, November 29, 12 8
  9. 9. 9Thursday, November 29, 12 9
  10. 10. 10Thursday, November 29, 12 10
  11. 11. 11Thursday, November 29, 12 11
  12. 12. 12Thursday, November 29, 12 12
  13. 13. 13Thursday, November 29, 12 13
  14. 14. 14Thursday, November 29, 12 14
  15. 15. 15Thursday, November 29, 12 15
  16. 16. 16Thursday, November 29, 12 16
  17. 17. 17Thursday, November 29, 12 17
  18. 18. 18Thursday, November 29, 12 18
  19. 19. 19Thursday, November 29, 12 19
  20. 20. 20Thursday, November 29, 12 20
  21. 21. 21Thursday, November 29, 12 21
  22. 22. Tweak user experience DEMONSTRATION Copyright © 2012 Apex Evangelists http://apex-evangelists.com 22Thursday, November 29, 12 22
  23. 23. 23Thursday, November 29, 12 23
  24. 24. 24Thursday, November 29, 12 24
  25. 25. 25Thursday, November 29, 12 25
  26. 26. Add lookups DEMONSTRATION Copyright © 2012 Apex Evangelists http://apex-evangelists.com 26Thursday, November 29, 12 26
  27. 27. 27Thursday, November 29, 12 27
  28. 28. 28Thursday, November 29, 12 28
  29. 29. 29Thursday, November 29, 12 29
  30. 30. So “Insert New Value” only works with auto generated keys! (it does insert a record with ST = NULL...) So you have to manage that using triggers... 30Thursday, November 29, 12 30
  31. 31. Add transformations DEMONSTRATION Copyright © 2012 Apex Evangelists http://apex-evangelists.com 31Thursday, November 29, 12 31
  32. 32. 32Thursday, November 29, 12 32
  33. 33. Only columns that are uploaded can be transformed... 33Thursday, November 29, 12 33
  34. 34. Add concurrency DEMONSTRATION Copyright © 2012 Apex Evangelists http://apex-evangelists.com 34Thursday, November 29, 12 34
  35. 35. 35Thursday, November 29, 12 35
  36. 36. Does NOT work when you update the UK (First/Last Name) -> will do an insert (or when you delete the record -> will do an insert) 36Thursday, November 29, 12 36
  37. 37. Under the covers Copyright © 2012 Apex Evangelists http://apex-evangelists.com 37Thursday, November 29, 12 37
  38. 38. Collections Used • After “Data Load Source” • CLOB_CONTENT • PARSE_COL_HEAD • SPREADSHEET_CONTENT • After “Data / Table Mapping” • LOAD_COL_HEAD • LOAD_CONTENT • NOT_LOAD_CONTENT • After “Data Validation” • FIN_LOAD_CONTENT Copyright © 2012 Apex Evangelists http://apex-evangelists.com 38Thursday, November 29, 12 38
  39. 39. One-to-many Mapping • Sales sheet • Customers • Products • Orders • Order Items • Use view + Instead of Triggers Copyright © 2012 Apex Evangelists http://apex-evangelists.com 39Thursday, November 29, 12 39
  40. 40. Conclusions Copyright © 2012 Apex Evangelists http://apex-evangelists.com 40Thursday, November 29, 12 40
  41. 41. Conclusions • Data Load Wizard - Wizard is easy to use for an APEX Developer • Data Load Wizard is easy to use for an End User • Data Load Wizard is for 1:1 mappings to Tables • Table Lookups + Manage Concurrency are nice features • Easy Transformation Rules are ... easy • Complex Transformation Rules are ... complex & limited • Better use View with Instead Of Triggers • Supports one-to-many mapping Copyright © 2012 Apex Evangelists http://apex-evangelists.com 41Thursday, November 29, 12 41
  42. 42. Q A & Copyright © 2012 Apex Evangelists http://apex-evangelists.com 42Thursday, November 29, 12 42
  43. 43. roel@apex-evangelists.com http://apex-evangelists.com Copyright © 2012 Apex Evangelists 43Thursday, November 29, 12 43

×