20151015 Local Economic Development 3rd World Forum Torino, Italy
APEX DBA 20151015 - HrOUG2015.hroug.hr/.../download/7284/131920/file/727_Kallman+APEX_DBA.… ·...
Transcript of APEX DBA 20151015 - HrOUG2015.hroug.hr/.../download/7284/131920/file/727_Kallman+APEX_DBA.… ·...
![Page 1: APEX DBA 20151015 - HrOUG2015.hroug.hr/.../download/7284/131920/file/727_Kallman+APEX_DBA.… · commitmentto*deliver*any*material,*code,*or*functionality,*and*should*notbe*relied*upon*](https://reader031.fdocuments.in/reader031/viewer/2022030419/5aa658957f8b9ab4788e5c0e/html5/thumbnails/1.jpg)
![Page 2: APEX DBA 20151015 - HrOUG2015.hroug.hr/.../download/7284/131920/file/727_Kallman+APEX_DBA.… · commitmentto*deliver*any*material,*code,*or*functionality,*and*should*notbe*relied*upon*](https://reader031.fdocuments.in/reader031/viewer/2022030419/5aa658957f8b9ab4788e5c0e/html5/thumbnails/2.jpg)
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Public
DBAs can use Oracle Application Express? Why?20. Jubilarna HROUG Konferencija October 15, 2015
Joel R. Kallman Director, Software Development Oracle Application Express, Server Technologies Division
![Page 3: APEX DBA 20151015 - HrOUG2015.hroug.hr/.../download/7284/131920/file/727_Kallman+APEX_DBA.… · commitmentto*deliver*any*material,*code,*or*functionality,*and*should*notbe*relied*upon*](https://reader031.fdocuments.in/reader031/viewer/2022030419/5aa658957f8b9ab4788e5c0e/html5/thumbnails/3.jpg)
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Safe Harbor Statement
The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.
![Page 4: APEX DBA 20151015 - HrOUG2015.hroug.hr/.../download/7284/131920/file/727_Kallman+APEX_DBA.… · commitmentto*deliver*any*material,*code,*or*functionality,*and*should*notbe*relied*upon*](https://reader031.fdocuments.in/reader031/viewer/2022030419/5aa658957f8b9ab4788e5c0e/html5/thumbnails/4.jpg)
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Joel R. Kallman • Director of Software Development, Database Server Technologies Division • Responsible for all product management and software development of Oracle Application Express • 19 year Oracle employee • Co-‐creator of Oracle Application Express • Actively developing Oracle Application Express since its creation in 1999
Brief Introduction -‐ @joelkallman
@joelkallman*
![Page 5: APEX DBA 20151015 - HrOUG2015.hroug.hr/.../download/7284/131920/file/727_Kallman+APEX_DBA.… · commitmentto*deliver*any*material,*code,*or*functionality,*and*should*notbe*relied*upon*](https://reader031.fdocuments.in/reader031/viewer/2022030419/5aa658957f8b9ab4788e5c0e/html5/thumbnails/5.jpg)
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | ‹#›
A DBA needs to know a lot…Security features of the Oracle Database
Transparent Data Encryption
Database Vault
Audit Vault
Database Firewall
Key Vault
Data Redaction
Data Masking
Auditing
![Page 6: APEX DBA 20151015 - HrOUG2015.hroug.hr/.../download/7284/131920/file/727_Kallman+APEX_DBA.… · commitmentto*deliver*any*material,*code,*or*functionality,*and*should*notbe*relied*upon*](https://reader031.fdocuments.in/reader031/viewer/2022030419/5aa658957f8b9ab4788e5c0e/html5/thumbnails/6.jpg)
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | ‹#›
Real Application Clusters
Data Guard
Active Data Guard
Golden Gate
Secure Backup
Online Reorganization
Edition-‐Based Redefinition
Flashback, Total Recall
Automated Rolling Upgrade of Database
A DBA has a lot of responsibility…High Availability features of the Oracle Database
Failover to the Cloud
![Page 7: APEX DBA 20151015 - HrOUG2015.hroug.hr/.../download/7284/131920/file/727_Kallman+APEX_DBA.… · commitmentto*deliver*any*material,*code,*or*functionality,*and*should*notbe*relied*upon*](https://reader031.fdocuments.in/reader031/viewer/2022030419/5aa658957f8b9ab4788e5c0e/html5/thumbnails/7.jpg)
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | ‹#›
A DBA needs to understand many things…High Performance features of the Oracle Database
Multi version read consistency
Row level locking
In-‐Memory
Compression
Partitioning
Hadoop, Big Data SQL, R
Cost based query optimizer
Scale-‐out with Oracle RAC
Exadata Smartscan & Infiniband
![Page 8: APEX DBA 20151015 - HrOUG2015.hroug.hr/.../download/7284/131920/file/727_Kallman+APEX_DBA.… · commitmentto*deliver*any*material,*code,*or*functionality,*and*should*notbe*relied*upon*](https://reader031.fdocuments.in/reader031/viewer/2022030419/5aa658957f8b9ab4788e5c0e/html5/thumbnails/8.jpg)
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | ‹#›
A DBA needs to constantly learn…Simplified consolidation and deployment with Oracle Multitenant
PDB Deployment
PDB Cloning
PDB Self Service App
PDB Migration
High Density Consolidation
Automated Provisioning and Configuration
PDB Resource Management
![Page 9: APEX DBA 20151015 - HrOUG2015.hroug.hr/.../download/7284/131920/file/727_Kallman+APEX_DBA.… · commitmentto*deliver*any*material,*code,*or*functionality,*and*should*notbe*relied*upon*](https://reader031.fdocuments.in/reader031/viewer/2022030419/5aa658957f8b9ab4788e5c0e/html5/thumbnails/9.jpg)
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
1. DBAs can understand APEX 2. DBAs can flourish with APEX!
Two Simple Messages…
![Page 10: APEX DBA 20151015 - HrOUG2015.hroug.hr/.../download/7284/131920/file/727_Kallman+APEX_DBA.… · commitmentto*deliver*any*material,*code,*or*functionality,*and*should*notbe*relied*upon*](https://reader031.fdocuments.in/reader031/viewer/2022030419/5aa658957f8b9ab4788e5c0e/html5/thumbnails/10.jpg)
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Oracle Application Express (APEX)Rapid web application development framework
Develop web-‐based apps, deliver via desktop or mobile
Visualize and maintain database data
Leverage common SQL skills, industry-‐leading database
capabilities
![Page 11: APEX DBA 20151015 - HrOUG2015.hroug.hr/.../download/7284/131920/file/727_Kallman+APEX_DBA.… · commitmentto*deliver*any*material,*code,*or*functionality,*and*should*notbe*relied*upon*](https://reader031.fdocuments.in/reader031/viewer/2022030419/5aa658957f8b9ab4788e5c0e/html5/thumbnails/11.jpg)
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Oracle Application Express
• No-‐cost fully supported feature • Any number of developers, apps, & end-‐users • Specialized Oracle Support Team • 11gR1, 11gR2, 12c • All DB editions: EE, SE, SE1, XE
• Included with Oracle Cloud Services • Schema and PDB services 5, 20, 50 GB • Dedicated DBaaS services • No cost evaluation http://apex.oracle.com
• Easy to install • Included by default with all editions of Oracle database
• Download latest release from http://otn.oracle.com/apex
No cost feature of the Oracle Database
![Page 12: APEX DBA 20151015 - HrOUG2015.hroug.hr/.../download/7284/131920/file/727_Kallman+APEX_DBA.… · commitmentto*deliver*any*material,*code,*or*functionality,*and*should*notbe*relied*upon*](https://reader031.fdocuments.in/reader031/viewer/2022030419/5aa658957f8b9ab4788e5c0e/html5/thumbnails/12.jpg)
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Oracle Application Express (APEX)3 Tier Architecture
Browser Mid Tier Database Tier
Web Logic Server
WLS
ORDS
Apache
OHS
Oracle APEX
Oracle Database
Schemas
![Page 13: APEX DBA 20151015 - HrOUG2015.hroug.hr/.../download/7284/131920/file/727_Kallman+APEX_DBA.… · commitmentto*deliver*any*material,*code,*or*functionality,*and*should*notbe*relied*upon*](https://reader031.fdocuments.in/reader031/viewer/2022030419/5aa658957f8b9ab4788e5c0e/html5/thumbnails/13.jpg)
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Single Database Instance / Multiple Workspaces
• Workspaces used to define application definitions / Schemas hold data • Typically 1-‐to-‐1 relationship between Workspaces and Schemas • SQL is parsed with the roles and responsibilities of the workspace schema (DB user)
![Page 14: APEX DBA 20151015 - HrOUG2015.hroug.hr/.../download/7284/131920/file/727_Kallman+APEX_DBA.… · commitmentto*deliver*any*material,*code,*or*functionality,*and*should*notbe*relied*upon*](https://reader031.fdocuments.in/reader031/viewer/2022030419/5aa658957f8b9ab4788e5c0e/html5/thumbnails/14.jpg)
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Simplistic Overview of an APEX Request
DB Session Pool
![Page 15: APEX DBA 20151015 - HrOUG2015.hroug.hr/.../download/7284/131920/file/727_Kallman+APEX_DBA.… · commitmentto*deliver*any*material,*code,*or*functionality,*and*should*notbe*relied*upon*](https://reader031.fdocuments.in/reader031/viewer/2022030419/5aa658957f8b9ab4788e5c0e/html5/thumbnails/15.jpg)
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Task # 1: Monitor Sessions
• Monitor the sessions and current activity in a database • GV$SESSION
![Page 16: APEX DBA 20151015 - HrOUG2015.hroug.hr/.../download/7284/131920/file/727_Kallman+APEX_DBA.… · commitmentto*deliver*any*material,*code,*or*functionality,*and*should*notbe*relied*upon*](https://reader031.fdocuments.in/reader031/viewer/2022030419/5aa658957f8b9ab4788e5c0e/html5/thumbnails/16.jpg)
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Task # 2: View Available Space
• Determine the amount of storage consumed and available space in the tablespaces • DBA_DATA_FILES DBA_SEGMENTS
![Page 17: APEX DBA 20151015 - HrOUG2015.hroug.hr/.../download/7284/131920/file/727_Kallman+APEX_DBA.… · commitmentto*deliver*any*material,*code,*or*functionality,*and*should*notbe*relied*upon*](https://reader031.fdocuments.in/reader031/viewer/2022030419/5aa658957f8b9ab4788e5c0e/html5/thumbnails/17.jpg)
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Task # 3: View Database Users
• View database users, and the amount of storage left in their default tablespace • DBA_USERS
![Page 18: APEX DBA 20151015 - HrOUG2015.hroug.hr/.../download/7284/131920/file/727_Kallman+APEX_DBA.… · commitmentto*deliver*any*material,*code,*or*functionality,*and*should*notbe*relied*upon*](https://reader031.fdocuments.in/reader031/viewer/2022030419/5aa658957f8b9ab4788e5c0e/html5/thumbnails/18.jpg)
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Task # 4: View Database Metrics
• Examine various performance statistics about your database • GV$SYSMETRIC_HISTORY
![Page 19: APEX DBA 20151015 - HrOUG2015.hroug.hr/.../download/7284/131920/file/727_Kallman+APEX_DBA.… · commitmentto*deliver*any*material,*code,*or*functionality,*and*should*notbe*relied*upon*](https://reader031.fdocuments.in/reader031/viewer/2022030419/5aa658957f8b9ab4788e5c0e/html5/thumbnails/19.jpg)
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Task # 5: View Table Statistics
• Display query optimizer statistics for tables • USER_TAB_STATISTICS
![Page 20: APEX DBA 20151015 - HrOUG2015.hroug.hr/.../download/7284/131920/file/727_Kallman+APEX_DBA.… · commitmentto*deliver*any*material,*code,*or*functionality,*and*should*notbe*relied*upon*](https://reader031.fdocuments.in/reader031/viewer/2022030419/5aa658957f8b9ab4788e5c0e/html5/thumbnails/20.jpg)
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
And a Bonus…
• Not only are you now a Web developer….
![Page 21: APEX DBA 20151015 - HrOUG2015.hroug.hr/.../download/7284/131920/file/727_Kallman+APEX_DBA.… · commitmentto*deliver*any*material,*code,*or*functionality,*and*should*notbe*relied*upon*](https://reader031.fdocuments.in/reader031/viewer/2022030419/5aa658957f8b9ab4788e5c0e/html5/thumbnails/21.jpg)
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Oracle Application Express
• Provide custom dashboard to a database • Develop simple custom user interface to complex database functionality (e.g., DBMS_NETWORK_ACL_ADMIN) • Provide limited access to database without providing full access to Enterprise Manager • Provide interface to performance views of database using any authentication method
Why?
![Page 22: APEX DBA 20151015 - HrOUG2015.hroug.hr/.../download/7284/131920/file/727_Kallman+APEX_DBA.… · commitmentto*deliver*any*material,*code,*or*functionality,*and*should*notbe*relied*upon*](https://reader031.fdocuments.in/reader031/viewer/2022030419/5aa658957f8b9ab4788e5c0e/html5/thumbnails/22.jpg)
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Oracle Application Express
• Every DBA knows SQL and uses SQL to monitor, diagnose, and administer a database. • Every DBA can exploit their knowledge and skills in Application Express. • Custom user interfaces can be easily created to help manage and monitor these databases.
Summary
![Page 23: APEX DBA 20151015 - HrOUG2015.hroug.hr/.../download/7284/131920/file/727_Kallman+APEX_DBA.… · commitmentto*deliver*any*material,*code,*or*functionality,*and*should*notbe*relied*upon*](https://reader031.fdocuments.in/reader031/viewer/2022030419/5aa658957f8b9ab4788e5c0e/html5/thumbnails/23.jpg)
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
Next Steps
• Oracle Technology Network http://otn.oracle.com/apex • Oracle Learning Library http://www.oracle.com/oll • APEX trial/evaluation site http://apex.oracle.com • Oracle Cloud http://cloud.oracle.com
Contacts, Collateral, Resources
![Page 24: APEX DBA 20151015 - HrOUG2015.hroug.hr/.../download/7284/131920/file/727_Kallman+APEX_DBA.… · commitmentto*deliver*any*material,*code,*or*functionality,*and*should*notbe*relied*upon*](https://reader031.fdocuments.in/reader031/viewer/2022030419/5aa658957f8b9ab4788e5c0e/html5/thumbnails/24.jpg)
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
![Page 25: APEX DBA 20151015 - HrOUG2015.hroug.hr/.../download/7284/131920/file/727_Kallman+APEX_DBA.… · commitmentto*deliver*any*material,*code,*or*functionality,*and*should*notbe*relied*upon*](https://reader031.fdocuments.in/reader031/viewer/2022030419/5aa658957f8b9ab4788e5c0e/html5/thumbnails/25.jpg)
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.
![Page 26: APEX DBA 20151015 - HrOUG2015.hroug.hr/.../download/7284/131920/file/727_Kallman+APEX_DBA.… · commitmentto*deliver*any*material,*code,*or*functionality,*and*should*notbe*relied*upon*](https://reader031.fdocuments.in/reader031/viewer/2022030419/5aa658957f8b9ab4788e5c0e/html5/thumbnails/26.jpg)