Home > Ask the Oracle Experts > Database Design and Architecture Questions & Answers > What is the System Global Area (SGA)?
Ask The Oracle Expert: Questions & Answers
EMAIL THIS

What is the System Global Area (SGA)?

Brian Peasland EXPERT RESPONSE FROM: Brian Peasland

Pose a Question
Other Oracle Categories
Meet all Oracle Experts
Become an Expert for this site


Oracle tips, scripts, and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


>
QUESTION POSED ON: 09 August 2007
I've searched for more information about System Global Area (SGA) but I can't understand it. Can you tell me what is SGA and how I manage it? What is the importance of it? Thanks a lot.

>
EXPERT RESPONSE

The Oracle Concepts Guide contains a ton of information on how the Oracle database works, what its components are and some information on how to manage it. For more information on managing these concepts, see the Administrator's Guide. Both documents are ESSENTIAL reading for the Oracle DBA. I highly recommend that you read both of these cover to cover. And if you're like most of us, you will probably want to read these a couple of times as it might take a bit for things to sink in.

When you start an Oracle instance, Oracle allocates a portion of memory on the database server. This memory is shared by all users in the database. One portion of this memory is called the Buffer Cache. Before you can access any data, that data must be cached. Users do not access data directly on disk. The data is read into the cache and the users access the data from this memory structure. If another user wants to access this same data, the data may still be in the cache so that user does not have to wait to read that data from disk. It's already in memory! Both users share the Buffer Cache.

The System Global Area (SGA) is sometimes called the Shared Global Area. People can use the word "shared" here since the memory structures in the SGA are shared by every user in the database. As described above, the Buffer Cache is one shared component of the SGA. The SGA also includes the Shared Pool, the Redo Log Buffer and other fixed areas used by the Oracle database.

The Concepts Guide briefly discusses the SGA in Chapter 1 and goes into more depth in Chapter 8. Memory alone is not enough without processes interacting with those memory structures. Those processes are discussed in Chapter 9. The combination of the memory structures and the processes are called the Oracle "instance." Please, please read the Concepts Guide from front to back for more information.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
Database Design and Architecture
Should we worry about Oracle memory leaks on Windows?
How to disable Oracle constraints and triggers during an import in 10g
How to delete a partition on the F: drive with Oracle on Windows
What could be causing an SQL count 0 with a successful Oracle import?
What is a staging table, and how is the staging concept used in Oracle?
Tips for how to size an Oracle server
Oracle error 942 when exporting a schema
Do DDL statements roll back, and why?
Increasing Oracle storage capacity by moving to a new storage with minimum downtime
Using Undo Tablespaces vs. rollback segments in Oracle 9i, 10g

Oracle tutorials, tips and FAQs
How to create a database link in Oracle
Most clicked stories of 2007
How do I do that in Oracle?
Counting a row's NULL columns
How many redo log files?
How to start multiple instances in Oracle 10g
Is it possible to assign a role to a profile?
Difference between RECYCLEBIN and 'DROPPED' column
Functions of PFILE, SPFILE and INIT.ORA
How to create a database schema in Oracle?
Oracle tutorials, tips and FAQs Research

Oracle database design
Oracle database in the cloud floated at Harvard lab
Oracle OpenWorld 2008 Special Report
Weighing remote database administration pros and cons takes care
Oracle Database 11g makes waves at Burlington Coat Factory
How to create a database link in Oracle
Data modeling tools no substitute for hard work
How do I do that in Oracle?
The Oracle Database user's guide to Oracle OpenWorld 2007
Oracle OpenWorld 2007 Special Report
How many redo log files?

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
10g  (SearchOracle.com)
delimiter  (SearchOracle.com)
extent  (SearchOracle.com)
field  (SearchOracle.com)
flexfield  (SearchOracle.com)
foreign key  (SearchOracle.com)
Oracle  (SearchOracle.com)
row  (SearchOracle.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Oracle White Papers: Fusion Middleware
HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2003 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts