Problem solve Get help with specific problems with your technologies, process and projects.

Allocating shared pool size, db_block_size, etc.

How do I allocate shared pool size, db block size, db block buffers, log buffers and space for a tablespace?

How to configure all of the aspects of the System Global Area (SGA) is not an easy topic to discuss. At least not in this forum. The first thing to do is to make an educated guess as to what you think these parameters need to be. Then, using performance tuning guidelines, you check out your database's performance and adjust these parameters accordingly. Oracle does give some suggestions in a default INIT.ORA file depending on whether you think your database will be small, medium, or large. If you feel you can not make an educated guess for these parameters, feel free to start with Oracle's suggestions.

As for the db_block_size parameter. A good rule of thumb is that for OLTP databases, use an 8K block size. For datawarehouses, use the largest block size your OS will support.

Your tablespaces need to be sized to hold all of your data, including expected growth. This can be determined mostly by loading a sample subset of data and then extrapolating a good tablespace size.

For More Information

  • What do you think about this answer? E-mail the editors at editor@searchDatabase.com with your feedback.
  • The Best Oracle Web Links: tips, tutorials, scripts, and more.
  • Have an Oracle or SQL tip to offer your fellow DBAs and developers? The best tips submitted will receive a cool prize. Submit your tip today!
  • Ask your technical Oracle and SQL questions -- or help out your peers by answering them -- in our live discussion forums.
  • Ask the Experts yourself: Our SQL, database design, Oracle, SQL Server, DB2, metadata, object-oriented and data warehousing gurus are waiting to answer your toughest questions.

Dig Deeper on Oracle database design and architecture

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.