How Not to Build an Oracle Application (Top Ten List of Things NOT to DO) Kerry Osborne
description
Transcript of How Not to Build an Oracle Application (Top Ten List of Things NOT to DO) Kerry Osborne
![Page 1: How Not to Build an Oracle Application (Top Ten List of Things NOT to DO) Kerry Osborne](https://reader035.fdocuments.in/reader035/viewer/2022081514/56813e35550346895da81aad/html5/thumbnails/1.jpg)
How Not to Build an Oracle Application(Top Ten List of Things NOT to DO)
Kerry OsborneSenior Oracle Guy
Blog: kerryosborne.oracle-guy.com
![Page 2: How Not to Build an Oracle Application (Top Ten List of Things NOT to DO) Kerry Osborne](https://reader035.fdocuments.in/reader035/viewer/2022081514/56813e35550346895da81aad/html5/thumbnails/2.jpg)
Who am I?I added this slide because everyone else had
one!
Started working with Oracle in 1983 Developer and DBA and Trainer Became a consultant around 1987 Started a little company, grew it, shrunk it, sold it Started another little company …
Never worked directly for Oracle Not certified in anything Don’t even know what the Oak Table is?
![Page 3: How Not to Build an Oracle Application (Top Ten List of Things NOT to DO) Kerry Osborne](https://reader035.fdocuments.in/reader035/viewer/2022081514/56813e35550346895da81aad/html5/thumbnails/3.jpg)
Basis for this talk?My Totally Unscientific Survey
Hundreds of Oracle projects Hundreds of Oracle professionals Selective memory (I don’t remember all of them)
You can observe a lot just by watching. ~ Yogi Berra
![Page 4: How Not to Build an Oracle Application (Top Ten List of Things NOT to DO) Kerry Osborne](https://reader035.fdocuments.in/reader035/viewer/2022081514/56813e35550346895da81aad/html5/thumbnails/4.jpg)
1. Hire Developers that Don’t Know SQL Get good XYZ programmers – let the DBA’s tune
the SQL
Top 10 List - Things Not To Do
![Page 5: How Not to Build an Oracle Application (Top Ten List of Things NOT to DO) Kerry Osborne](https://reader035.fdocuments.in/reader035/viewer/2022081514/56813e35550346895da81aad/html5/thumbnails/5.jpg)
2. Write a db access layer to isolate the developers
Now your in the tool business!
Top 10 List - Things Not To Do
![Page 6: How Not to Build an Oracle Application (Top Ten List of Things NOT to DO) Kerry Osborne](https://reader035.fdocuments.in/reader035/viewer/2022081514/56813e35550346895da81aad/html5/thumbnails/6.jpg)
3. Generate a new session for every sql statement
10,000 traces in a single batch window
Top 10 List - Things Not To Do
![Page 7: How Not to Build an Oracle Application (Top Ten List of Things NOT to DO) Kerry Osborne](https://reader035.fdocuments.in/reader035/viewer/2022081514/56813e35550346895da81aad/html5/thumbnails/7.jpg)
Top 10 List - Things Not To Do
4. Issue a commit after every statement (even better – do it more often than that)
JDBC, ODBC – have a built in option to commit after each statement – autocommit
Log File Sync – turned out to be the number one event at one client
![Page 8: How Not to Build an Oracle Application (Top Ten List of Things NOT to DO) Kerry Osborne](https://reader035.fdocuments.in/reader035/viewer/2022081514/56813e35550346895da81aad/html5/thumbnails/8.jpg)
Top 10 List - Things Not To Do
5. Don’t allow Cost Based Optimizer to do it’s job Use Rule Based Hint everything Use bad statistics
![Page 9: How Not to Build an Oracle Application (Top Ten List of Things NOT to DO) Kerry Osborne](https://reader035.fdocuments.in/reader035/viewer/2022081514/56813e35550346895da81aad/html5/thumbnails/9.jpg)
Top 10 List - Things Not To Do
6. Use an unpopular tool/language Get one that no one has experience with Or better yet, write your own
![Page 10: How Not to Build an Oracle Application (Top Ten List of Things NOT to DO) Kerry Osborne](https://reader035.fdocuments.in/reader035/viewer/2022081514/56813e35550346895da81aad/html5/thumbnails/10.jpg)
Top 10 List - Things Not To Do
7. Don’t use tools you already own Spend a lot of money on a sexy tool Spend a lot of time learning how to use it Use it for everything
![Page 11: How Not to Build an Oracle Application (Top Ten List of Things NOT to DO) Kerry Osborne](https://reader035.fdocuments.in/reader035/viewer/2022081514/56813e35550346895da81aad/html5/thumbnails/11.jpg)
Top 10 List - Things Not To Do
8. If it isn’t fast enough, throw hardware at it I suggest starting with disk Then CPU’s Then memory
![Page 12: How Not to Build an Oracle Application (Top Ten List of Things NOT to DO) Kerry Osborne](https://reader035.fdocuments.in/reader035/viewer/2022081514/56813e35550346895da81aad/html5/thumbnails/12.jpg)
Top 10 List - Things Not To Do
9. Don’t Worry About Concurrency Oracle is really good at it So why should you worry
![Page 13: How Not to Build an Oracle Application (Top Ten List of Things NOT to DO) Kerry Osborne](https://reader035.fdocuments.in/reader035/viewer/2022081514/56813e35550346895da81aad/html5/thumbnails/13.jpg)
Top 10 List - Things Not To Do
10. Do everything one row at a time Why do something once When you can do it 100 times