Saturday, 29 March 2014

Introduction to Oracle Concepts

This is a brief introduction to Oracle Concepts for the DBA.  Conceptually, you can think of an Oracle database as nothing more than a large electronic filing cabinet, a place to store and retrieve information. At the computer level, Oracle is a computer program that manages an electronic filing cabinet.

What is an Oracle Database?

A database is a collection of data. An Oracle database holds its data in a coordinated set of files stored on disk, including following types:
  • Parameter Files - The Oracle Parameter File (PFILE or SPFILE) holds initialization parameters which indicate where the control files are, how memory is allocated, how logging is performed, and other characteristics of the Oracle instance.
  • Control Files - The Control File stores information needed to verify that the database is consistent, including a list of all database files making up the instance and other important data.
  • Redo Log Files - The Redo Log files store a sequence of entries describing all actions taken against the database. This data is used to recover a database in the event of instance failure.
  • Data Files - The Data Files contain blocks of data which store database objects (e.g., tables, indexes, materialized views, etc.) in the database.
  • Temp Files - The Temp files contains data used temporarily including intermediate results, sort results and so forth.

Duties of Database Administrators

The principal responsibility of a database administrator (DBA) is to make enterprise data available to its users. DBAs must work closely with the developers to ensure that their applications make efficient use of the database, and with system administrators to ensure that physical resources are adequate and used efficiently.
Oracle DBAs are responsible for understanding the Oracle Database architecture and how the database works. DBAs can expect to perform the following tasks:
  • Installing, upgrading, and patching Oracle Database software
  • Designing databases, including identifying requirements, creating the logical design (conceptual model), and physical database design
  • Creating Oracle databases
  • Developing and testing a backup and recovery strategy, backing up Oracle databases regularly, and recovering them in case of failures
  • Configuring the network environment to enable clients to connect to databases
  • Starting up and shutting down the database
  • Managing storage for the database
  • Managing users and security
  • Managing database objects such as tables, indexes, and views
  • Monitoring and tuning database performance
  • Investigating, gathering diagnostic data for, and reporting to Oracle Support Services any critical database errors
  • Evaluating and testing new database features


The types of users and their roles and responsibilities depend on the database environment. A small database may have one DBA. A very large database may divide the DBA duties among several specialists, for example, security officers, backup operators, and application administrators.

Tools for Database Administrators

Oracle provides several tools for use in administering a database. This section describes some commonly used tools:
  • Oracle Enterprise Manager
  • SQL*Plus
  • Tools for Database Installation and Configuration
  • Tools for Oracle Net Configuration and Administration
  • Tools for Data Movement and Analysis

Saturday, 15 March 2014

Oracle 10g rac Administration

ORATC is a subsidiary of Pansoft Data Solutions, started in May 2010, At ORATC we offer high end training services on different modules.
Oracle Database Education at ORATC is a journey that adds value along the way, to the Oracle Consulting Community working with Oracle Partner Organizations, Partners, Customers and aspiring young consultants. Oracle consultants seeking knowledge at ORATC benefit from the experience of practicing Oracle consultants who take time out from their real life projects to impart training.
As a learning solutions provider for many of the industry's top vendors, such as Oracle Solaris, ORATC ,India is positioned to offer the latest authorized curriculum delivered by certified instructors to keep you on the cutting edge of technology. Whether you are searching for an answer for the complex training needs of a large, multi-location business, or an individual seeking the skills to excel in a new or expanding Oracle career path, ORATC, INDIA is your integrated learning solution.


WHAT YOU WILL LEARN
This course offers students an introduction to the general features and capabilities of Oracle Database 10g Release 2 for Oracle Real Application Clusters (RAC). Students learn how to install and administer OracleClusterware, Real Application Clusters, and Automatic Storage Management. Students also learn how to administer their Database in a Real Application Clusters environment using Enterprise Manager Grid Control. Increase your efficiency by learning how to configure and use database services as well as the Load Balancing Advisory in a RAC environment. Learn how to add and remove nodes in clusters and how to patch both Oracle Clusterware and Real Application Clusters software in a rolling fashion.
This course counts toward the Hands-on course requirement for the following certifications
  • Oracle Database 10g Administrator Certification
  • Oracle Database 10g: Real Application Clusters Administrator Certified Expert
  • Only instructor-led inclass or instructor-led online formats of this course will meet the Certification Hands-on Requirement. Self Study CD-Rom and Knowledge Center courses are excellent study and reference tools but DO NOT meet the Hands-on Requirement for certification.
  • Learn To:Install Oracle Clusterware and Real Application ClustersAdminister a RAC DatabaseAdminister Database Services in a RAC environmentAdminister Oracle ClusterwareAdd/Remove a node to/from a clusterPatch Oracle
  • Clusterware and RAC software in a rolling fashion

AUDIENCE

  • Data Warehouse Administrator
  • Database Administrators
  • Database Designers
  • Project Manager
  • Support Engineer
  • System Analysts
  • Technical Administrator
  • Technical Consultant

PREREQUISITES

  • Single-instance Oracle Database 10g Architecture and Experience

SUGGESTED PREREQUISITES

  • Oracle Database 10g: Administration Workshop I
  • Oracle Database 10g: Administration Workshop II
  • Oracle Enterprise Manager 10g Grid Control

COURSE OBJECTIVES

  • Identify Real Application Clusters components
  • Install, create, administer, and monitor a Real Application Clusters database
  • Use configuration and management tools for Real Application Clusters databases
  • Setup services for workloads management, and applications high availability
  • Develop a backup and recovery strategy for Real Application Clusters databases
  • Configure and monitor Oracle Clusterware resources
  • Review high availability best practices.


Saturday, 8 March 2014

Advantages & Disadvantages of Oracle SQL


Oracle SQL Developer is a free integrated development environment that simplifies the development and management of Oracle Database. SQL Developer offers complete end-to-end development of your PL/SQL applications, a worksheet for running queries and scripts, a DBA console for managing the database, a reports interface, a complete data modeling solution, and a migration platform for moving your 3rd party databases to Oracle.

Oracle SQL (structured query language) is a computer language that is designed to manage data stored in RDBMS (relational database management systems) databases. An RDBMS is a system of tables that store data and represents the relationships between them. SQL has various structural elements, including clauses, expressions, queries, statements and predicates. Oracle SQL is commonly used for the management of data stored in Oracle databases (also called Oracle RDBMS or simply Oracle).



Oracle SQL Developer is a free graphical tool for database development. With SQL Developer, you can browse database objects, run SQL statements and SQL scripts, and edit and debug PL/SQL statements. You can also run any number of provided reports, as well as create and save your own. SQL Developer enhances productivity and simplifies your database development tasks.

     Advantage: Centralized Management System and Control
  • Oracle SQL statements allow data to be controlled from a central tabular repository. A database administrator (DBA) is responsible to create users, assign privileges, add records, delete redundant information, modify existing data and process queries. This centrally stored data is shared and accessed by various applications. This eliminates data entry and data storage redundancy.

     Advantage: Standardization

  • A major advantage of Oracle SQL is its standardization and consistency among various different implementations. SQL was first standardized by ANSI (American Standards Institute) in 1986, and further ratified in 1987 by the International Organization for Standardization (ISO), which remains its standardization body.

            Disadvantage: Inability to Implement Recursive Processing
    • According to "SQL for Dummies," one of the major drawbacks of SQL is its incapability to execute recursive processing. Recursive processing is a type of computer function (or program) in which one of the steps of a program (or procedure) reruns the entire program (or procedure). SQL lacks looping constructs that are common in other high-level programming languages, such as for and what loops. It cannot repeat actions and there is no way to define repetitive looping constructs in SQL.

      Disadvantage: Incompatibility and Complexity

    • One of the major disadvantages of Oracle SQL is inconsistency and data incompatibility in the areas of time and date syntax, string concatenation and case sensitivity. The language is complex, with a keyword approach similar in structure to COBOL (common business-oriented language), with fewer syntax and grammar rules.

      Disadvantage: Limited Functionality

    • SQL is a domain specific or special-purpose language, and its use is limited to a specific program domain. SQL statements are operated on tables and sets of data, such as personnel databases and accounting spreadsheets. SQL is a declarative domain specific language that is limited to the tabular representation of data.