more

$value) { if (strpos($param, 'color_') === 0) { google_append_color($google_ad_url, $param); } else if (strpos($param, 'url') === 0) { $google_scheme = ($GLOBALS['google']['https'] == 'on') ? 'https://' : 'http://'; google_append_url($google_ad_url, $param, $google_scheme . $GLOBALS['google'][$param]); } else { google_append_globals($google_ad_url, $param); } } return $google_ad_url; } $google_ad_handle = @fopen(google_get_ad_url(), 'r'); if ($google_ad_handle) { while (!feof($google_ad_handle)) { echo fread($google_ad_handle, 8192); } fclose($google_ad_handle); } ?>

Monday, September 17, 2012

OBIEE WHAT DOES IT MEAN?

Oracle Business intelligence Enterprise edition (OBIEE)

 According to Oracle, Oracle Business Intelligence Enterprise Edition 11g (OBIEE) is a comprehensive business intelligence platform that delivers a full range of analytic and reporting capabilities. Designed for scalability, reliability, and performance, Oracle Business Intelligence Enterprise Edition 11g delivers contextual, relevant and actionable insight to everyone in an organization, resulting in improved decision-making, better-informed actions, and more efficient business processes. Oracle also provides the industry’s only multi-sourced BI applications, as well as market-leading performance management applications that are powered by this BI platform.

 That being said. Oracles BI strategy is simple they merged best in class enterprise bi platform with performance management applications from Hyperion , pre built analytic application that spans the operation business side intergrated into a uniform system !

 Business intelligence is on top of the CIO list. Today organizations are trying to recognize the value of consolidating business intelligence tools. Previously they had their data in disparate tools based on different departments.
 Oracles platform can access the data from heterogenous system in org and deliver it to the users. You can generate Management dashboards, reports, adhoc queries advanced OLAP analysis. Oracles intelligence platform has the major advantage of scalability, A
lot of bi tools out there evolved from client server system. Model once deploy everywhere

Thursday, June 7, 2012

LAUNCHING SOON! A NEW TUTORIAL On ORACLE DATABASE 11G OCA!


Get your OCA CERTIFICATION ITS EASY!

Thursday, April 12, 2012

HOW TO DOWNLOAD ORACLE 11G FOR FREE

Check but a free tutorial on how to download oracle for free

Monday, March 19, 2012

TYPES OF DATATYPES FOUND IN AN ORACLE DATABASE!



Types of Oracle Database Datatypes

  1. varchar2 this is the most common  datatype it allows you to store  alphanumeric characters. The length of varchar2 is 4000 bytes or characters. This was what set Oracle apart from other databases in prior years. While other databases had lengths up to 2000 Oracle had its character length set at 4000
  2. Number  datatype: allows you to store an interger as well as decimal values
  3. date datatype not to be confused with the time stamp datatype stores the date value - the default way of storing date in Oracle is DD-MON-YY
  4. Timestamp related to the date dataype but instead stoeres information witth a higher sense of precision and accuracy. It stores the date up to the second eg 14 -OCT-09 01.25.07.00002 PM
  5. Clob datatype - stores large objects that are over four gigabytes in size
  6. blob datatype allows for the storage of large binary objects a great example of this would be video.
Hope you enjoyed this post.

Sunday, March 18, 2012

WHAT IS THE SGA IN ORACLE AND WHAT IS IN IT??

Oracle memory is called the SGA: there are different components of the SGA. Every database will have a section within the memory (SGA) referred to as the database buffer cache!

 It is split up into little blocks in memory called the oracle data blocks. Each one of these blocks will be 8k in size.

There is an algorithm that gets applied to the database buffer pool, it is the LRU (least recently used).. As the blocks get touched they get placed toward the LRU to get written to disk, Oracle keeps the most used in memory for easier access.

Another area in the SGA is the Shared Pool which is used to reduce parsing- there are two sections within shared pool.

  1. Library Cache: Inside the library Cache, you have the actual text of the sql statement .You will also have as compiled section of the SQL code which is called META CODE. The third area you have in the library  is the execution plan. This shows how the query is going to retrieve the rows.
  2. The second piece of the shared pool is  the dictionary cache. It contains the names of objects that have been touched recently. Your privileges and rows is stored here too. So if the employee table has been accessed recently, it is placed in the shared pool
There are other pieces within the SGA. I will list two more in this post:
Most databases will have the JAVA pool in the SGA which stores your JAVA.

If you are using the RMAN utility in oracle you would want to configure your LARGE pool within the SGA.

HOW DO YOU CREATE THE ORACLE PASSWORD FILE?

Oracle password file  is created using a utility called ORAPWD! You will also use this utility to make changes.


Saturday, March 17, 2012

WHAT ARE YOUR ONLINE REDO LOGS?

An online redo log tracks all of your changes to your tables.  In order to get started, you need a minimum of  two to get started on your online database; this redo log group is like a recorder, that records changes going on in your oracle database. However, you will end up having more than one group. You could end up with three groups or more.

Oracle  recommends that you multiplex your redo logs. When this redo log gets filled oracle does what is called a check point and then it writes to the next group.

This redo logs are used for database recovery. When the final group fills up it goes back to the first and writes to the first group (basically overwriting what was currently in the first group); but if you are in archive log mode, when the first group fills the information is copied onto Archived redo logs (the default is no archive log mode which overwrites the data).

If you have not archived the first log and your directory is full and you are running on archive log mode. Your  database will hang.


Here is a basic definition of an oracle database


An oracle database is  defined as three types of files, control files, data files and the redo logs! Any questions.

THREE MOST IMPORTANT PARTS OF AN ORACLE DATABASE!

Before understanding the oracle database in depth, it is important to know the most important pieces in any database. This time we are discussing the oracle database.

  1. Storage - Think of it this way, your data needs to be stored in a table, which belongs to a logical area called table space and  a table space gets mapped to a physical file called a data file. (which essentially uses disk storage).
  2. Memory - This is called the System global Area (SGA) in Oracle.
  3. Processes - The third piece in an Oracle database is the disk processes.

Datafiles store tables, indexes and rollback segments (undo segments in 9i on wards) and temporary files. 

The most important logical  view for a DBA is the dba_data_files - this has information about the datafiles.

Another file that controls the structure of your database is your datafiles. It is recommended that you have at least 3 control files on sepererate disk drives. This shows how when your database got created etc All three control files need to look exactly alike.

There is a v$ that will tell you the path of your control file and this is the v$controlfiles.

Wednesday, February 1, 2012

TYPES OF DATABASE ADMINISTRATORS!

Here is breakdown structure of the various types of database administrators! Can you tell which one fits your personality?



  1. Systems or Operational DBA
  2. Architect
  3. Applications DBA
  4. Data DBA
  5. Internet DBA  also a web dba!

Tuesday, January 24, 2012

HOW THE DBA EVALUATES HARDWARE!

The DBA evaluates hardware resources  by checking whether or not there are enough disk drives available to install the oracle database software. 






What exactly does this mean, but first off, welcome you have just gotten hired as the new Database Administrator. Your first task as directed  in this small shop is to install the newly acquired oracle database software. What do you need to do? You are given a server and told go ahead and get started.

Thursday, January 19, 2012

WHO IS THE ORACLE DBA?

This is my first major post before delving into what exactly the Oracle DBA is required to do. Let us first simplify who an Oracle DBA is and what roles and responsibilities come with the position.

photo myfootpath


  1. An database administrator (DBA) is the one who administers the Oracle database server.
  2. Responsibilities may vary depending on the size of the company the Oracle DBA works for. For instance,  a small company in most cases might have just one Oracle Database Administrator who administers the database for applications and users. While in a Major company, what you would find are several people tasked as Database Administrators with different areas of specialization.
Now here is a list depicting the roles and responsibilities of the DBA

Sunday, January 15, 2012

WHAT KIND OF A DBA ARE YOU?

So earlier today I took a test on basically figuring out what kind of DBA I am and here is the result!


The scientist DBA is brilliant and sometimes shy, hates disorder, chaos and conundrums, and greatly enjoys diving into the internals of their database.

The scientist DBA tends to have a love of music and gravitates towards degrees in “pure” majors such as History, English, Math, or Physics.
Scientist DBAs usually keeps their offices neat and orderly, with everything in its proper place.   Their motto is “Prove it,” and they love to try out their database hypotheses on their test systems. 
  • Attention to detail — Scientist DBAs like order in every area of their lives and their database is no exception. Every tablespace and table must stay optimized, and the scientist DBA gets visibly disturbed when a table takes too many extents or when a tablespace becomes fragmented. They miss nothing, and pride themselves on their close attention to every detail of their database.
  • High professional standards — The scientist DBA believes that a database can be described with mathematical equations and every assertion about database behavior can be proven with experimentation. They sometimes require all developers to “prove” their changes in the test database, before allowing changes in production. The scientist DBA hates “rules-of-thumb” and revels in finding exceptions to any general assertion about database behavior.
  • Highly reliable — Scientist DBAs spend their days in the test systems, posing hypotheses and cranking out scripts to “prove” their theories before making changes to their production system. The scientist DBA is very careful and meticulous and will always justify every database change (often with extraordinary detailed experimental evidence) before changing their production database.
  • Extremely eloquent — Some, (but not all) of the scientist DBAs can be identified by their grandiloquent prose. These DBAs love to use obscure words and complex verbal syntax, and normally keep an Oxford English Dictionary (OED) close at-hand. They love puns and double entendres, and enjoy using obsolete words that have not been popular since the early 1800s.

Not bad so here is what this blog will focus on Database Adminstration and of course other Oracle tools you might find exciting; so welcome to the oracle virtual Classroom