Axa Assurance Maroc - Insurer Innovation Award 2024
Exadata Consolidation in Retail Oracle OpenWorld
1. A RedStack Technology Company
Jason Arneil
Solutions Architect
Exadata Consolidations:
Lessons From Retail
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
2. It was the best of times,
it was the worst of times…
C. Dickens, A tale of Two Cities
t was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
3. +44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
jarneil.wordpress.com
@jarneil
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
4. sve.to
t was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
202cm – 6 feet 7 17/32
@sgyurov
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
5. +44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Customers
Some of our
Customers
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
6. 25% of men buy their
underwear at Retailer A
t was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
7. 1 in ever 8 pounds spent
in UK is with Retailer B
t was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
8. +44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
9. +44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
29.2
47.9
60
50
40
30
20
10
0
SPEC CPU2006
IBM X4
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
10. +44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
SPEC CPU2006/License Core Factor
29.2
95.8
120
100
80
60
40
20
0
IBM X4
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
11. t was the best of times, it was the worst of times, it was Capacity P tlhae angen of iwnisdgom, it was the age of foolishness
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Agenda
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
12. t was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
13. +44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Agenda
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
14. t was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Consolidation
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
15. +44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Capacity Planning
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
16. Migrate
Capacity
Plan
t was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Consolidation
Check
Reality
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
17. +44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Consolidation
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
18. t was the best of times, it was the worst of times, it was Instance C thae agge ionf wgisdom, it was the age of foolishness
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Consolidation
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
19. t was the best of times, it was the worst of times, it was cpu_co tuhe naget of wisdom, it was the age of foolishness
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Consolidation
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
20. t was the best of times, it was the worst of times, it was resource_man thae agge eof rwi_sdopml, iat wnas the age of foolishness
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Consolidation
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
21. t was the best of times, it was the worst of times, it was resmgr: cpu q thue aage nof twiusdomm, it was the age of foolishness
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Consolidation
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
22. t was the best of times, it was the worst of times, it was oversubs thcer agieb ofe wisdom, it was the age of foolishness
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Capacity Planning
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
23. t was the best of times, it was the worst of times, it was Huge Pa thge aeges of wisdom, it was the age of foolishness
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Consolidation
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
24. t was the best of times, it was the worst of times, it was the age of vm.nr_hugepag wiesdosm, it was the age of foolishnessb
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Consolidation
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
25. t was the best of times, it was the worst of times, it was use_large_pa thge aege sof= wiosdonm,l ity was the age of foolishness
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Consolidation
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
26. scan listener
+
t was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Consolidation
services
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
27. dbms_stats.gather_system_stats(‘EXADATA’)
t was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
28. “Lack of Exadata specific stats can lead to less
performant optimizer plans.”
t was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
29. “Note this best practice is not a general
recommendation to gather system statistics
in Exadata mode for all Exadata
environments”
t was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
30. t was the best of times, it was the worst of times, it was parallel_force_ lthoe acgea ofl w=istdormu, ite was the age of foolishness
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Consolidation
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
31. parallel_force_local=TRUE
sessions queuing
t was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness
parallel slave sessions
queuing
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
DEFAULT_MAINTENANCE_PLAN
resmgr: cpu quantum
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
32. Be prepared
t was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
33. Don’t discount
politics
t was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
34. Exadata
friendly
t was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
35. t was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
36. t was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
37. Plans Change
t was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
38. 0:43:12
0:36:00
0:28:48
DL980
t was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
0:21:36
0:14:24
0:07:12
0:00:00
1 2 3 4 5 6 7 8 9 10 11 12
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
Report Duration
Report Number
39. 14:24:00
12:00:00
9:36:00
7:12:00
DL980 + Exadata
t was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
4:48:00
2:24:00
0:00:00
1 2 3 4 5 6 7 8 9 10 11 12
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
Report Duration
Report Number
40. 0:43:12
0:36:00
0:28:48
DL980 + Exadata
t was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
0:21:36
0:14:24
0:07:12
0:00:00
1 2 3 4 5 6 7 8 9 10 11 12
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
Report Duration
Report Number
41. t was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
42. Garbage in…
t was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
43. t was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
44. It’s a
Journey
t was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
45. +44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Q & A
Oracle EMEA Database Partner of the Year • Oracle Partner of the Year 2010 & 2012 & 2013 • Oracle Engineered Systems Partner of the Year
2014
Hinweis der Redaktion
First thing to do upfront before even buying the exadata
Is capacity planning
There are really 3 variables you need to ensure that you have enough capacity to cope with the demand for
DISK
CPU
MEMORY
Proper planning and prepartion prevents poor performance
We get handed something like that
I would not have access
Strongly advise mapping out how the capacity of your exadata’s will be carved up
will show an example of this later
You need to get an idea of how much resources your databases are using BEFORE moving to Exadata
Then MAP out how those resources will be distributed on your exadata
Feeding into the mapping is the design patterns
In both retailers all databases are created as a minimum 2-node RAC cluster
DR is provided for by Dataguard
Oracle Sun Database Machine Setup/Configuration Best Practices (Doc ID 1274318.1)
Oracle Sun Database Machine Setup/Configuration Best Practices (Doc ID 1274318.1)
Oracle Sun Database Machine Setup/Configuration Best Practices (Doc ID 1274318.1)
Since 11gR2 there is a parameter parallel_force_local and is default false
QC may decide to run parallel slaves on multiple instances
Setting it to true will restrict the slaves to operate the same instance
We found that the hard way – N+1, database services, session queuing
Parameter has been introduced in 11gR2 to allows parallel queries to run on multiple RAC nodes.
For example QC may decide to run some of the parallel slaves across the other nodes.
Once set to TRUE it will limit the parallel slaves to the same instance where QC resides.
Been amazed at how un prepared large retailers have been
Retailer B had an agreesive timeline from delivery to going live – maybe not for gung ho americans
They had 12 weeks from delivery to go live
First database to be migrated was calculating the prices for the stores, one of the biggest db
Jason almost got a heart attack
running on a big box, 80 cores/160 threads and has 81% DB CPU
1TB RAM, FusionIO
As you can see it was doing 90k executions
It had OLTP style workload and we didn’t expect much FTS
The customer was running 11.2.0.3 and we migrated to 11.2.0.4
Customer was expecting not much to be changed and db will run the same way
Each bar is a different report
Y axis is a time in seconds, the longest was running for 30 seconds
And then we moved to Exadata ….
The red bars are running on Exadata and you can barely see the blue ones
Not the best selling solution or good start for the consolidation project
Remember we gather stats for any new or existing database and said that’s maybe not applicable for each database
The simple solution to that was to delete (not gather) exadata stats
After that a couple of baselines and sql profile thing look much better
Make sure you’ve got AWR repository retention set to at least a month. We had to import baselines for reports which we run just once or twice.
There was one report which was still running for 3hrs and we couldn’t do anything. It turns out that it has been like that for years but the operators are killing the job each night.