Professional Documents
Culture Documents
PAGE 1
About BIAS
Case study background
Problems faced with Large Oracle footprints
Best practices Managing Large Oracle footprints
Patching Management
Data Purging strategy
Proactive vs. Reactive
PAGE 2
Agenda
Who We Are
Founded in 2000
Distinguished Oracle Leader
PAGE 3
PAGE 4
Oracle created the OPN Specialized Program to showcase the Oracle partners who have achieved expertise in Oracle product areas and reached
specialization status through competency development, business results, expertise and proven success. BIAS is proud to be specialized in 33 areas of
Oracle products, which include the following:
Compliance
Incident Alerting vs. Long Term Incident Resolution
Monitoring Overload
Monitoring like its 1999 (shell and cron)
Communication and coordination among various
teams
Prioritization across various application teams
PAGE 5
Business Impact
Availability
Security
Risk
Operating costs
Man power
SLAs
Efficiency
PAGE 6
PAGE 7
PAGE 8
Tablespace Monitoring
40
Datafile sizing
20
20
15
10
PAGE 9
EXAMPLE
SELECT F.TABLESPACE_NAME,
TO_CHAR ((T.TOTAL_SPACE - F.FREE_SPACE),'999,999') "USED_MB",
TO_CHAR (T.TOTAL_SPACE, '999,999') "TOTAL_MB",
TO_CHAR ((ROUND (((T.TOTAL_SPACE - F.FREE_SPACE)/T.TOTAL_SPACE)*100)),'999') PERCENT_USED
FROM (SELECT TABLESPACE_NAME, ROUND (SUM (BLOCKS*(SELECT VALUE/1024
FROM V$PARAMETER
WHERE NAME = 'db_block_size')/1024)) FREE_SPACE
FROM DBA_FREE_SPACE
GROUP BY TABLESPACE_NAME) F,
(SELECT TABLESPACE_NAME, ROUND (SUM (BYTES/1048576)) TOTAL_SPACE
FROM DBA_DATA_FILES
GROUP BY TABLESPACE_NAME) T
WHERE F.TABLESPACE_NAME = T.TABLESPACE_NAME
AND F.TABLESPACE_NAME='SYSTEM';
TABLESPACE_NAME
USED_MB TOTAL_MB PERCENT_USED
-----------------------------------------------------------------------------------------------------SYSTEM
1,382
1,390
99
PAGE 10
EXAMPLE
SELECT F.TABLESPACE_NAME,
TO_CHAR ((T.ALLOC_MB - F.FREE_SPACE),'999,999') "USED_MB",
TO_CHAR (T.TOTAL_SPACE, '999,999') "TOTAL_MB",
TO_CHAR ((ROUND (((T.ALLOC_MB - F.FREE_SPACE)/T.TOTAL_SPACE)*100)),'999') PERCENT_USED
FROM (SELECT TABLESPACE_NAME, ROUND (SUM (BLOCKS*(SELECT VALUE/1024
FROM V$PARAMETER
WHERE NAME = 'db_block_size')/1024)) FREE_SPACE
FROM DBA_FREE_SPACE
GROUP BY TABLESPACE_NAME) F,
(SELECT TABLESPACE_NAME, SUM(BYTES)/1048576 "ALLOC_MB", ROUND (SUM ((CASE WHEN AUTOEXTENSIBLE = 'YES' THEN
GREATEST(BYTES, MAXBYTES) ELSE BYTES END)/1048576)) TOTAL_SPACE
FROM DBA_DATA_FILES
GROUP BY TABLESPACE_NAME) T
WHERE F.TABLESPACE_NAME = T.TABLESPACE_NAME
AND F.TABLESPACE_NAME='SYSTEM';
TABLESPACE_NAME
USED_MB TOTAL_MB PERCENT_USED
-----------------------------------------------------------------------------------------------------SYSTEM
1,382
32,768
4
PAGE 11
EXAMPLE
PAGE 12
PAGE 13
EXAMPLE 1
Inefficient method of sizing a datafile
Autoextensible YES vs. NO
PAGE 14
EXAMPLE 2
Efficient method of sizing a datafile
PAGE 15
Resolution:
Sizing - Generic vs. Application Specific
OEM can be helpful Use of Information Publisher growth reports on
regular intervals
Business Impact :
This approach reduces additional storage costs and improves efficiency of
database monitoring
PAGE 16
PAGE 17
Resolution:
Importance of OEM
Host and Database validation
Migration of crontab scripts
Improve metric thresholds and review often
Business Impact : This provides a more efficient
way of monitoring large oracle footprints
PAGE 18
PAGE 19
PAGE 20
PAGE 21
PAGE 22
PAGE 23
Some caveats
dbstart, dbshut and dbora scripts should be
always executable
Environment variables to be set properly
Dont forget to set the right entries in oratab
Be cautious while editing the startup/shutdown
scripts
Resolution: After fixing the scripts, we have
improved the availability of databases and thus
reducing operating costs as well
PAGE 24
PAGE 25
PAGE 26
PAGE 27
PAGE 28
PAGE 29
Category
Tablespace Monitoring
Datafile sizing
Patching Management
PAGE 30
Summary - Takeaways
Category
Tablespace Monitoring
20
Datafile sizing
PAGE 31
PAGE 32
Contact info:
Sri Vuyyuru
Email: sri.vuyyuru@biascorp.com
LinkedIn:
www.linkedin.com/in/srivuyyuru
Work: +1 770-685-6283
Cell: +1 404-398-5360
PAGE 33
QUESTIONS