Académique Documents
Professionnel Documents
Culture Documents
2015
Silicon Secured Memory in SPARC
Unparalleled Security and Performance
for Oracle Database
Anthony Yznaga
Principal So@ware Engineer
Solaris PlaDorm Engineering
Ravi Thammaiah
Director of Development
Database Systems Technology
October 29, 2015
Copyright 2015, Oracle and/or its aliates. All rights reserved. | Oracle CondenMal Internal/Restricted/Highly Restricted
Program Agenda
1
Program Agenda
1
Program Agenda
1
version
64Bytes
version
64Bytes
version
64Bytes
version
64Bytes
version
64Bytes
version
64Bytes
version
64Bytes
version
64Bytes
Pointers
version
address
version
address
version
64Bytes
version
64Bytes
version
64Bytes
version
64Bytes
version
64Bytes
version
64Bytes
version
64Bytes
version
64Bytes
Pointers
version
address
address
Program Agenda
1
Copyright 2015, Oracle and/or its aliates. All rights reserved. | Oracle CondenMal Internal/Restricted/Highly Restricted
12
Copyright 2015, Oracle and/or its aliates. All rights reserved. |
libadimalloc
Drop-in replacement for the malloc(3C) family of funcMons
No recompile necessary
Link directly or load at run-Mme via LD_PRELOAD
See libadimalloc(3LIB)
Discover ADI
Enhancement of the Discover memory access checking toolset
Uses ADI for faster detecMon of heap memory violaMons
Collects and provides detailed informaMon to help resolve bugs found
ADI errors classied (buer overrun, use a@er free, etc)
AllocaMon and freed stack traces referencing source code
mmap(MAP_ADI)
memcntl(MC_ENABLE_ADI,
MC_DISABLE_ADI)
adi_set_enabled()
adi_get_enabled()
adi_version_max()
adi_version_nbits()
adi_blksz()
adi_set_version()
adi_get_version()
adi_clr_version()
adi_memset()
adi_set_precise()
adi_get_precise()
[ anon ]
Database Architecture
Database Architecture
MulM-process MulM-threaded Architecture
MulMple execuMon models
Dedicated Servers, Shared Servers, Pooled Servers
SPMT Single Process MulM Threaded, MPST MulM Process Single Threaded, MPMT MulM
Process MulM Threaded
CDB Pluggable Database
Memory
Shared memory
ASMM Automated Shared Memory Management
AMM Automated Memory Management
Memory Manager
Controls allocaMons across various SGA and PGA pools
Heap Manager
Component memory allocaMons
Shared Pool
Pools and Heaps
Sub heaps
AllocaMons
Fixed, variable, small, large
permanent, mark, free-able, recreate-able
Database ExecuMon
Hundreds of new features every release
Large binary
Trusted code
Database TesMng
Daily runs on test cloud
Stress and System tesMng
ConstrucMve and DestrucMve
Customer workloads
Memory debugging and proling tools
In-house, valgrind, forMfy
Memory CorrupMons
Memory Overwrites
Head or tail overwrites by n bytes
Stray Pointer
UniniMalized
Bad arithmeMc
Database diagnosMcs
On errors, asserts and excepMons
Extensive tracing and diagnosMcs
Stack dumps
Memory dumps
Hardest
problem
No performance degradaMon
On by default
Catch corrupMon at execuMon
Prevent corrupMon
Stores do not make it to memory
Classroom Training
Cloud
Learning SubscripMon
Technology
ApplicaMons
Training On Demand
Industries
educa>on.oracle.com
Copyright 2015, Oracle and/or its aliates. All rights reserved. |
Session Surveys
Help us help you!!
The organizing commi\ee would like to invite you to take a moment to
give us your session feedback. Your feedback will help us to improve your
conference.
Please be sure to add your feedback for your a\ended sessions by using
the Mobile Survey or in Schedule Builder.