Swap Space Query for Oracle 11.1.0.6 installation - why so much?
In process of installing 11.1.0.6 DB on RHE Ver 4 with 8GB of RAM. The installation notes state that for platforms of between 2-8GB of RAM - the swap file should be set to the same as the RAM. Is it not the case that the more RAM you have, the less swap space that should be needed since Oracle has more memory to work with. With the 11.1.0.6 installation for platforms of between 2 and 8GB, it appears that the bigger the RAM there is available the more swap space is required - Why is this the case?
What are the implications of using say a 2GB swap file with the 8GB or RAM I have available?
Thanks
I was confident that the docs were correct - I guess I was looking to understand why the more RAM you had available up to 8GB, the more swap space that was required - basically to understand the underlying logic of this setup?
Similar Messages
-
V890 ran out of swap space cause for Oracle Database curruption.
We have Oracle running on V890 which was crashed due to low swap space and didn't find any hardware issue with the server.
Even after database crash 7gb is showing in use.
and there is absolute no use of swap space on this server
bash-3.00# uname -a
SunOS oracle-a01-00 5.10 Generic_127127-11 sun4u sparc SUNW,Sun-Fire-V890.
last pid: 18804; load avg: 0.05, 0.05, 0.04; up 16+18:16:30 08:19:11
95 processes: 94 sleeping, 1 on cpu
CPU states: 99.9% idle, 0.0% user, 0.1% kernel, 0.0% iowait, 0.0% swap
Memory: 32G phys mem, 25G free mem, 56G total swap, 56G free swap.
Can someone help us to find root cause for this issue???
Thanks
RaviSorry this took so long. Here is part of the alert log. I am sorry it is so long. This sequence is repeated over and over again. I am only guessing, but does the fourth to last line suggest that one of the redo files is corrupted, again, because the machine ran out of space?
ORA-600 signalled during: alter database open...
Mon Sep 19 10:48:48 2005
Restarting dead background process QMN0
QMN0 started with pid=12
Mon Sep 19 10:54:51 2005
Restarting dead background process QMN0
QMN0 started with pid=12
Dump file d:\oracle\admin\orcld\bdump\alert_orcld.log
Mon Sep 19 10:42:49 2005
starting up 1 shared server(s) ...
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
Mon Sep 19 10:42:51 2005
alter database mount exclusive
Mon Sep 19 10:42:56 2005
Successful mount of redo thread 1, with mount id 2931047851
Mon Sep 19 10:42:56 2005
Database mounted in Exclusive Mode.
Completed: alter database mount exclusive
Mon Sep 19 10:42:56 2005
alter database open
Mon Sep 19 10:42:57 2005
Beginning crash recovery of 1 threads
Mon Sep 19 10:42:57 2005
Started redo scan
Mon Sep 19 10:43:00 2005
Errors in file d:\oracle\admin\orcld\udump\orcld_ora_2652.trc:
ORA-00600: internal error code, arguments: [kcratr1_lostwrt], [], [], [], [], [], [], [] -
Can anyone tell me how to check how much of swap space using by oracle on solaris 5.10. Oracle version is 10.2.0.4
free -m
above will report how swap is being used, but not broken down by process/user
I don't know how to obtain swap space by individual user. -
Hello Experts,
I'm tryng to develop my first application for EP (v7 SP12) with NWDS (without NWDI).
This application has to read and write data in the EP DB (oracle v10).
I'm using:
<u>a Dictionary Project</u> (define the DB Tables)
<u>a Java Project</u> (define class as DAO, DBManager etc)
<u>a Library Project</u>
<u>an EJB Project</u>
<u>an EAR Project</u>
With these projects I can deploy a <u>webService</u> in my EP server.
BUT I have some problem with a query that I'm tryng to sent to my DB through a DAO Class called by my WebService.
The query is simple and correct but it does not work...
This is the error message returned (the query id in bold)
(column names: GIORNO, NOMEDITTA, NOMEAREA, NOMESETTORE)
<i>HTTP/1.1 500 Internal Server Error
Connection: close
Server: SAP J2EE Engine/7.00
Content-Type: text/xml; charset=UTF-8
Date: Fri, 21 Sep 2007 14:29:57 GMT
Set-Cookie: <value is hidden>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>java.sql.SQLException: com.sap.sql.log.OpenSQLException: The SQL statement <b>"SELECT NOMESETTORE, MIN(? - "GIORNO") AS GIORNI FROM SRS_DATEINFORTUNI WHERE NOMEDITTA = ? AND NOMEAREA= ? GROUP BY NOMESETTORE ORDER BY NOMESETTORE"</b> <u>contains the syntax error[s]: - 1:25 - the arithmetic expression >>? - "GIORNO"<< contains a host variable (parameter marker)</u></faultstring><detail><ns1:getGiorniSettori_com.akhela.giorniSenzaInfortuni.ejb.exception.GiorniSenzaInfortuniException xmlns:ns1='urn:GiorniSenzaInfortuniWSWsd/GiorniSenzaInfortuniWSVi'></ns1:getGiorniSettori_com.akhela.giorniSenzaInfortuni.ejb.exception.GiorniSenzaInfortuniException></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope></i>
The variable '?' is the today date, the difference <b>"(?-GIORNO)"</b> is an int..
Moreover in my DAO class the query is <b>"SELECT NOMESETTORE, MIN(? - GIORNO) AS GIORNI FROM SRS_DATEINFORTUNI WHERE NOMEDITTA = ? AND NOMEAREA= ? GROUP BY NOMESETTORE ORDER BY NOMESETTORE</b>", instead in the error message is reported <b>MIN(? - "GIORNO")</b>...
We have tryed also with alternative query, for example we used <b>"MIN(SYSDATA - GIORNO)"</b> but <b>SYSDATA</b> was interpreted as column name and not found....
Any help???
Best RegardsHi, I found something about the Host Variable (http://help.sap.com/saphelp_nw70/helpdata/en/ed/dbf8b7823b084f80a6eb7ad43bdbb9/content.htm), there explain that if you want to use an host variable you have to put ':' as prefix..
My problem is that <u>I need to extract the minimum of the subtraction between two dates:</u>
Query <b>MIN(? - GIORNO)</b> --> <i>Error: the arithmetic expression >>? - "GIORNO"<< contains a host variable (parameter marker)</i>
So I tried to use the ':' as indicated in the manual..
<b>MIN:(? - GIORNO)</b> --> - <i>SQL syntax error: the token ":" was not expected here
- expecting LPAREN, found ':'</i>
<b>MIN(:(? - GIORNO))</b> --> <i>- 1:25 - Open SQL syntax error: :PARAMETER not allowed
- 1:26 - SQL syntax error: the token "(" was not expected here
- 1:26 - expecting ID, found '('</i>
Then I tried to avoid the MIN() function and I tried to do just the subtraction:
<b>? - GIORNO</b> --><i> - 1:21 - the arithmetic expression >>? - "GIORNO"<< contains a host variable (parameter marker)</i>
<b>:(? - GIORNO)</b> --> <i>- 1:21 - Open SQL syntax error: :PARAMETER not allowed
- 1:22 - SQL syntax error: the token "(" was not expected here
- 1:22 - expecting ID, found '('</i>
<b>'2007-09-24' - GIORNO</b> --> <i>- 1:34 - SQL syntax error: first argument of operator "-" must be a number, date/time or interval
- 1:43 - SQL syntax error: arguments of operator "-" do not have correct types
- 1:43 - SQL syntax error: derived columns in SELECT list with AS must be values</i>
<b>GIORNO - GIORNO</b> --> <i>- 1:21 - the group by list and the select list are inconsistent: the column >>"GIORNO"<< is neither grouped nor aggregated
- 1:30 - the group by list and the select list are inconsistent: the column >>"GIORNO"<< is neither grouped nor aggregated</i>
Why these parts of query are not accepted???
I don't understand why... I hope you can help me.
Best Regards
Alessandro -
Hi Everyone,
I want oracle query with which we can retrieve information about oracle RAC.
This information is, No of Clusters, Db instances...
Which Tables i can query for this information?
Thank You In Advance...
RoshanHi,
I think you would mean active instances on your cluster....
Query v$active_instances
04/05/[email protected]=287> select * from v$active_instances;
INST_NUMBER INST_NAME
1 rac1:ORCL1
2 rac2:ORCL2
2 rows selected.
Regards,
Rodrigo Mufalani
http://mufalani.blogspot.com -
What is the password for 'oracle' user created during XE installation?
Hi,
What is the password for 'oracle' user automatically created when XE is installed?
I installed XE on Linux and it's created under 'oracle' user, but I don't know 'oracle' password. So, I cannot stop TNS listener.
During configuration, it prompted me to enter SYS and SYSADMIN password but it didn't ask me to enter 'oracle' user password.
Please let me know or point me to the document.
Thanks,
NHi Jari,
I tried your suggestion, but it didn't work unfortunately.
When I type (sudo su -oracle) as follows, it still prompts the password. When I hit Enter key w/o anything, it seems to proceed and the prompt shows up in the following line. So, I thought it was successful, but when I checked 'whoami', it's not logged in as 'oracle'.
So, I created the password for 'oracle' and logged in as 'oracle' using a new password. Then, I stopped TNS listener to uninstall XE.
It would be nice if it's documented in XE document somewhere... since it's created by XE installation, I assumed some kind of default password was used.
Thanks,
N -
Equivlent CASE WHEN query for Oracle 8.05
Is there a way to construct a query similar to the statement below in Oracle version 8.05?
SELECT ename, CASE WHEN empid>10000 THEN 'Old Timer' ELSE 'New Comer' END
FROM employees;
I would like to use a single select query to handle such situations. Thanks for any suggestions.
Rogersql>select empid,
2 decode(sign(10001 - empid), 1, 'Newcomer', 'Oldtimer') description
3 from foo
4 order by empid;
EMPID DESCRIPT
9999 Newcomer
10000 Newcomer
10001 Oldtimer
10002 Oldtimer -
Hi,
Is there an Oracle equivilent to the LIMIT query ?
Basically, I want to limit the number of rows retrieved.
Thanks in advance!
JD.SELECT * FROM BigTable WHERE ROWNUM<=10as a follow up question can you use that for any
other type of query then SELECT? in MySQL forexample
you can use LIMIT on DELETE and UPDATE as well as
SELECT. Not as far as I know.
also another stupid question perhaps but theROWNUM
variable... Is it specific to the query/cursor orthe
table.?It must be used with care. For instance order by
occurs after the limit is applied.
One can use subqueries to get around the above though.thank you for the info... that is quite different then in operation to MySQL LIMIT (which is applied last after ORDER etc.) although that is expected in this case since it's part of the WHERE clause.. i guess that also means that HAVING will happen after as well? -
Query for oracle 9i and 10g on same box
HI
All,
I have oracle 9i installed on one box it has
oracle home /u01/app/oracle/product/9.2.0
and i am gonna install oracle 10g on different home /u01/app/oracle/product/10.2.0
Do I need to specify different location for OraInventory?
so what else I need to take care?
Thanks,
VishalSo there should not be a problem if it is the same
orainventory location for both 9i and 10g right.There should be no problem.
can you throw more focus on below ?
When managing different oracle versions on the same
box you should take care of environment variables to
properly point to each ORACLE HOME and PATH, and
ensure different ports do not conflict.
For instance, you should use the Listener of the latest release on the server (in this case 10g) to services all the databases on that box 9both 9i and 10g).
When you want to startup and shutdown 9i database, you do not want to shutdown a 10g database by mistake. Hence, setting things like ORCLE_HOME and ORACLE_SID.
Also, Oracle Server make use of libraries. You do not want to mix up 9i and 10g libraries. hence take care when you set things like PATH, LD_LIBRARY_PATH etc
The same applies to all Environment variables you want to set on the server that has different oracle releases. You just need to ensure that when you logon, your variables are set correctly for the intended oracle release before you do anything. -
Execute query for oracle forms tab pages
Hi Guru's,
Please help me how to work on execute query with forms tab pages. I have created three tabs like A, B & C in one canvas.
I have three tables and I have created three tabs in one canvas. And there is no master detail relationship with these three tables.
I have written the code in form level - when-new-form-instance like do_key('execute_query') but when i see at run time its executing for first tab A not for tab B or tab c.
How to get the data or execute the data in tab B and tab C.
Thanks
RS1- create a block blk_1 add items item_1,Item_2 and Item_3.
2- create main canvas main_canvas. type Content.
3- create tabcanvas TABCANVAS . Type Tab
4- Create tabpages tb_1,tb_2 and tb_3.under tabcanvas
5- create stack1,stack2 and stack3.type stack.
6- put Item_1,Item_2 and Item_3 under stack1,stack2 and stack3.
add when tabpage change trigger.
Declare
V_TapPage_Name VarChar2(100);
Begin
Show_View('TABCANVAS');
V_TapPage_Name := Get_Canvas_Property('TABCANVAS',TOPMOST_TAB_PAGE);
If V_TapPage_Name = 'TP_1' Then
Go_Item('Blk_1.ITEM_1');
Show_View('STACK1');
Hide_View('STACK2');
Hide_View('STACK3');
ElsIf V_TapPage_Name = 'TP_2' Then
Go_Item('Blk_1.ITEM_2');
Show_View('STACK2');
Hide_View('STACK1');
Hide_View('STACK3');
ElsIf V_TapPage_Name = 'TP_3' Then
Go_Item('Blk_1.ITEM_3');
Show_View('STACK3');
Hide_View('STACK1');
Hide_View('STACK2');
End If;
End;
Edited by: kingadmin on 20/04/2011 02:15 ص
Edited by: kingadmin on 20/04/2011 02:16 ص -
Executing Native SQL query for oracle
Hi,
I want to run following native sql query but it is giving me error ora:933,
DATA: BEGIN OF WA,
TSP_NAME(255) TYPE C,
PER_USAGE(10) TYPE C,
END OF WA.
EXEC SQL PERFORMING loop_output.
select t.tablespace_name,'(' || TO_CHAR(ROUND(100*(NVL(b.bytes,0)/NVL(a
.bytes,0)))) || '%)' "TSUsed%" from dba_tablespaces t,
( select tablespace_name, sum(bytes)/1024/1024 bytes
from dba_data_files group by tablespace_name) a,
( select e.tablespace_name, sum(e.bytes)/1024/1024 bytes
from dba_extents e group by e.tablespace_name ) b,
( select f.tablespace_name, sum(f.bytes)/1024/1024 bytes
from dba_free_space f group by f.tablespace_name ) c
where t.tablespace_name = a.tablespace_name(+) and
t.tablespace_name = b.tablespace_name(+) and
t.tablespace_name = c.tablespace_name(+) into :wa.
ENDEXEC.
Please provide me the soln
Regards,
Bharat MistryORA-00933: SQL command not properly ended.
Try:
EXEC SQL PERFORMING loop_output.
select
into :wa
ENDEXEC.
(No "." at the end). If that doesn't work, try ending it with a ";"
Rob -
Query for oracle form executable
1)How can we run executable (Forms & Reports) generated by Form & reports utilities of Internet Developers Suit in two tier architecture.
2)We want to keep all executables at a particular location on our local server and run these from client’s (computer). I mean to say that run time engine for forms and reports to install at client withour using OAS.
3) How can we run the OC4J instance at client site? Although we do not want to install full IDS on client computer in two tier architectureAd 1). For production purposes you have to run your forms trough OAS (it's a licence thing, not a techie thing)
Ad 2). You could do some magic with network shares, etc. but again, see point 1
Ad 3). You don't want to run a OC4J instance for production purposes, since you cannot control client settings, etc.
So, in short: just buy the license for OAS and setup a proper server. -
Problem on Creating a Swapfile for adding swap space
Folks,
Hello. I am using Oracle Linux 5.6. At this time, the Linux swap space is 0 KB by using the command:
[root@rac1 /]# grep SwapTotal /proc/meminfo
I need 150MB swap space to install Oracle Database. I create the swap space using the following commands:
Step 1:
[root@rac1 /]# dd if=/dev/zero of=/swapfile bs=1024 count15360 hit enter
Output: 153600 to records in
153600 to records out
157286400 bytes(157MB) copied, 3.3835 seconds, 46.5MB/s.
Step 2:
[root@rac1 /]# mkswap /swapfile hit enter
Output: Command not found.
Step 3:
[root@rac1 /]# swapon /swapfile hit enter
Output: Command not found.
Step 4:
[root@rac1 etc]#vi fstab
Add this line into the file: /swapfile swap swap defaults 0 0
Save and close the file fstab.
Step 5:
Reboot Oracle Linux 5.6 and run this command:
[root@rac1 /]# grep SwapTotal /pro/meminfo
Output: SwapTotal: 0 KB
As you see above, swap space is not added. I think the problem is that the commands "mkswap /swapfile" and "swapon /swapfile" are not executed.
My question is : Do any folk understand how to add the swap space successfully ?When you execute a program, the command shell will walk through the locations specified by $PATH environment variable in order to find it. The "./" path is the current working directory and should not be in the $PATH environment to make sure applications are run only from locations defined by $PATH and not the current working directory. You can bypass this behavior iif you specify the full absolute path to the program at the command prompt, e.g. cd /sbin, ./mkswap or /sbin/mkswap. Other programs and administration tasks will use Linux utilities located in /sbin without specifying the full path and will not work if /sbin is not part of your PATH environment.
You may have seriously screwed up your system because your root account contains /home/ora11g/bin, which is normally defined by .bash_profile located in the user account's home directory. Before analyzing your login scripts, I suggest you post the output of the following command:
cat /etc/passwd -
Solaris: The System does not have the required swap space
I'm trying to install Oracle onto Solaris 9. The installation check fails with the error
The System does not have the required swap space.
I've read the install Guide I get the following when I do the memory checks
bash-2.05# /usr/sbin/prtconf | grep "Memory size"
Memory size: 1024 Megabytes
bash-2.05# /usr/sbin/swap -s
total: 767688k bytes allocated + 117080k reserved = 884768k used, 379040k available
The install guide doesn't say how to increase the Swap Space. I would like to increase the Swap Space just for the duration of the installation. From the install guide I'll need a Swap Space of 1.5 times the Ram on the machine so I'll need 1.5GB Swap Space. Can someone help me out with the required syntax to increase the Swap File Size?Found something on the web that did the trick. Create a few files and then add to your swap.. In case it's of interest to anyone else here's what I had to do
swap -l (lists files in swap)
mkdir /tmp/swap/ (create dir for file to add to swap)
mkfile tmp/swap/swap11 (create file for swap)
swap -a tmp/swap/swap11 (add file to swap)
swap -l (check files in swap) -
Minimum System Requirement for Oracle 12c Database Installation
Hi,
Can Anybody please tell me the minimum requirement ti install Oracle 12c Database On Virtual Box.
Regards...
AsitEnterprise Edition 6.4 GB
Standard Edition 6.1 GB
Standard Edition One 6.1 GB
This are the pure hdd requirements.
Then it's 1 GB of space in the /tmp directory.
Minimum: 1 GB of RAM
Recommended: 2 GB of RAM or more.
Swap Space Requirement for Linux:
Between 1 GB and 2 GB.
1.5 times the size of the RAM
Between 2 GB and 16 GB
Equal to the size of the RAM
More than 16 GB
16 GB
Maybe you are looking for
-
i tried to upgrade my iphone 4 to ios5 yesterday in the installation process my iphone stopped process and the actuall phone itself has frozen what is showing is the music note icon over a CD disc icon with an arrow pointing upwards and a picture
-
Error when starting UI for first time (Identity Management 7.1)
Hello. I've installed Identity Management 7.1 on top of a fresh Netweaver 7.0 (patch 17) Now,I want the UI up and going. I've used the SAP-NW_IdM_IC_Install_IdMUI_7-1.pdf document as reference for setup. I can't find anything missing but still i get
-
I recently bought an iPhone 4 that was actually working with my current 10.4.11 OS system transfering video and photos. Then suddenly Apple realized I had an Iphone and demanded I download the latest iTunes. I've been using iTunes 8.0 for a very lon
-
Hi all, i want to make a price variance report, can some body help me on this thanks
-
How do I get an icon glossary.
I have no idea what some of the icons mean. Is there any way to get text instead of icons, and if not where do I get an icon glossary.