I have on a AIX 4.3.3 system two SAP instance both with Oracle 220.127.116.11. One of these instances is a development...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
instance. My problem is that the development instance is very slow. I need to know the process to figure out how much memory an Oracle database uses to run. This is important for me because I tried to divide as much as I can the memory resource of the AIX system to improve the performance of one SAP instance. In detail, this is my situation: instance 1 SAP and Oracle database 1, instance 2 SAP and Oracle database 2.
You can get a start on determining how much memory is used by your instance by selecting from the v$sga data dictionary view:
SELECT * FROM v$sga; Returns: NAME VALUE -------------------- ---------- Fixed Size 75804 Variable Size 78835712 Database Buffers 101113856 Redo Buffers 77824This will show you how much memory is allocated to the System Global Area.
You can determine the amount of memory needed/used for current sessions as follows:
SELECT sum(se.value)||' Bytes' "Total memory for all sessions" FROM v$sesstat se, v$statname n WHERE n.statistic# = se.statistic# AND n.name = 'session pga memory'; Returns: Total memory for all sessions -------------------------------- 4174892 BytesYou can get more detailed but these two queries should give you a pretty good estimating point. Hope this helps!
For More Information
- Dozens more answers to tough Oracle questions from Karen Morton are available.
- 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.
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.