About 10g DB
Dear all,
I set up 10g DB in my XP windows and want to know how to manually start my DB after I've set Oracle NT service startup type to 'Manual' and deselected 'Startup instance when service is started' within 'Oracle instance startup/shutdown options' by 'Oracle administration assistant for windows'. Thks.
Rgds,
Edward Chan
s
Have you tried opening the Windows Service dialog, right-clicking on the database service and selecting Start? What about from the command line:
c:\%ORACLE_HOME%\bin\sqlplus
connect / as sysdba
startup
Alison
Similar Messages
-
My iphone has recently loss about 10G of memmory. I check through settings/general/usage, all apps I had add up to less than 2G. I used to be able to take around 2hrs of video as I like to record down whatever happening in front of my car when I'm driving. I delete the videos everyday ifn nothing special. It seems that lately when I deleted the videos, they're not removed from the phone's memmory.
I check form setting/general/usage : all my apps add up to less than 2G. In itune, it shows all memmary is under the catagory "other". Is there any way I can access this "other" memmory to see what's in it and delete the things I don't want to regain the loss memmory?
ThanksYou could always try restoring, although maybe someone else on here has a better idea.
Hopefully by posting this, it will bump up and someone with more iPhone troubleshooting experience might chime in.
As for the videos - interesting! Do you have the iPhone on one of those window holders, or do you hold it in your hand since that might ironically distract you, unless you've gotten very good at it! -
Hi All,
I am wondering is any one out there has the same problem with me. I have one same schema on both 9i and 10g. The sql statement runs fine with 9i instance but not with 10g. Especially for those sql statement that has sub query in where clause. What I found out from 10g explain plan is that optimizer create a view for this sub query and it is the most killing part. Any suggestion or comments are welcome.Hi,
there are three points you should try:
1.) Did you gather system statistics? 9i does not use them if there are not present, but 10g uses default values. But gathering system stats does not invalidate the plan in the shared pool. You will have to execute
alter system flush shared_poolor simply do some DDL to one of the objects used in your table. If a table is eg. defined with noparallel simply execute
alter table xy noparallelThis will not change the table but every statement using this table will be hard parsed again.
Now gather system statistics using:
begin
dbms_stats.gather_system_stats('start');
end;You should do this when you db is under normal workload. After a couple of time(hours) stop it:
dbms_stats.gather_system_stats('stop');2. Are you able to rewrite the sqls using subquery factoring? Does the plan change?
3. Try changing the statistics using the dbms_stats.set_table_stats and dbms_stats.set_column_stats procedure. Start with very low or high values.
Dim -
Question to Oracle about 10g RAC
Hi:
Does Oracle had installed 10gRAC on Redhat3.0AS either using ocfs or raw successful before the software got released?It is indeed successful. We've installed 10g RAC with ocfs/ASM on different storage devices such as SAN's and SCSI disk arrays .
-
Hi,
As we did in ealier version 6i we can save the report output in text csv format.
Same thing can we done in 10g reports?
Thanks a lotYes via DELIMITED or DELIMITEDDATA desformats, except you have a new format called SPREADSHEET which maintains more formatting for excel.
-
What is your favourite/ the best feature(s) new to Oracle 10g?
I heard the 'g' stands for Grid. Has anyone taken advantage of the grid features?This may help;
http://www.oracle.com/technology/pub/articles/10gdba/index.html
In release 2 you gotta love DBMS_UTILITY.FORMAT_ERROR_BACKTRACE and DML Error Logging if you're a developer. -
To learn more about 10g Express
Should I read the manuals for 10 g standard edition ?
I read the documents for 10g express, but its not enough.
There are manuals missing.
Where do i get all the necessary books o manuals ?The XE manuals reference the Oracle Database 10g Release 2 manuals, which is a significantly larger manual set. The idea is that you read the XE manuals, and for further clarification (if necessary), follow the links that will take you to related topics in the larger manual set. If you do want to just read the Oracle Database 10g Release 2 manuals, you can find them online at http://www.oracle.com/pls/db102/homepage
-
Question about 10g EM w/ 2 databases
I've got 2 databases on one machine. How is EM supposed to be configured properly to see both of them?
Right now I've got 2 directories under $ORACLE_HOME/<hostname>_<SID>, one per SID.Add the service names to OEM. You have to look for that option.
Joel Pérez -
Using sqlerrm in insert statement in 10g
Hi,
I do not have 10g to test the following snippet, which tries to use sqlerrm in an insert statement:
-- start testcase
drop table tbl;
drop table err;
create table tbl (x number);
create table err (a number, b varchar2(4000));
declare
n_tmp tbl.x%type;
begin
select x into n_tmp from tbl;
exception
when others then
-- the line below works in 9i
-- dbms_output.put_line('Sqlerrm: '||sqlerrm);
-- but the insert statement doesn't work in 9i, how about 10g ?
insert into err(a,b) values (1,sqlerrm);
commit;
end;
declare
n_tmp tbl.x%type;
begin
select x into n_tmp from tbl;
exception
when others then
-- the line below works in 9i
-- dbms_output.put_line('Sqlerrm: '||sqlerrm);
-- the insert statement works in 9iR2 but the error message is
-- not the one sought, how about 10g ?
insert into err(a,b) values (1,sys.standard.sqlerrm);
commit;
end;
/Can someone test it on any release/edition of 10g please ?
The tests on 9iR2 below behave predictably:
SQL>
SQL> @ver
BANNER
Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
PL/SQL Release 9.2.0.8.0 - Production
CORE 9.2.0.8.0 Production
TNS for Solaris: Version 9.2.0.8.0 - Production
NLSRTL Version 9.2.0.8.0 - Production
SQL>
SQL>
SQL> -- start testcase
SQL> drop table tbl;
Table dropped.
SQL> drop table err;
Table dropped.
SQL>
SQL> create table tbl (x number);
Table created.
SQL> create table err (a number, b varchar2(4000));
Table created.
SQL>
SQL> declare
2 n_tmp tbl.x%type;
3 begin
4 select x into n_tmp from tbl;
5 exception
6 when others then
7 -- the line below works in 9i
8 -- dbms_output.put_line('Sqlerrm: '||sqlerrm);
9 -- but the insert statement doesn't work in 9i, how about 10g ?
10 insert into err(a,b) values (1,sqlerrm);
11 commit;
12 end;
13 /
insert into err(a,b) values (1,sqlerrm);
ERROR at line 10:
ORA-06550: line 10, column 36:
PL/SQL: ORA-00984: column not allowed here
ORA-06550: line 10, column 5:
PL/SQL: SQL Statement ignored
SQL>
SQL> --
SQL> declare
2 n_tmp tbl.x%type;
3 begin
4 select x into n_tmp from tbl;
5 exception
6 when others then
7 -- the line below works in 9i
8 -- dbms_output.put_line('Sqlerrm: '||sqlerrm);
9 -- the insert statement works in 9iR2 but the error message is
10 -- not the one sought, how about 10g ?
11 insert into err(a,b) values (1,sys.standard.sqlerrm);
12 commit;
13 end;
14 /
PL/SQL procedure successfully completed.
SQL>
SQL> select * from err;
A B
1 ORA-0000: normal, successful completion
SQL>
SQL>The behavior of the second pl/sql block was mentioned by Nicolas:
Re: INSERT INTO ..VALUES (SQLERRM, SQLCODE, SYSDATE) doesn't work?
Is there any change in 10g ?
Thanks in advance,
pratz
(Sorry, the hyperlink is getting modified automatically; remove the backslash ("\") immediately before the ampersand ("&") character.)
Message was edited by:
pratzSame in 10.2.0.3.0
SQL*Plus: Release 10.1.0.4.2 - Production on Thu Jan 24 11:55:53 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL> drop table tbl;
Table dropped.
SQL>
SQL> drop table err;
Table dropped.
SQL>
SQL> create table tbl (x number);
Table created.
SQL>
SQL> create table err (a number, b varchar2(4000));
Table created.
SQL> declare
2 n_tmp tbl.x%type;
3 begin select x into n_tmp from tbl;
4 exception when others then
5 -- the line below works in 9i
6 --dbms_output.put_line('Sqlerrm: '||sqlerrm);
7 -- but the insert statement doesn't work in 9i, how about 10g ?
8 insert into err(a,b) values (1,sqlerrm);
9 commit;
10 end;
11 /
insert into err(a,b) values (1,sqlerrm);
ERROR at line 8:
ORA-06550: line 8, column 32:
PL/SQL: ORA-00984: column not allowed here
ORA-06550: line 8, column 1:
PL/SQL: SQL Statement ignored
SQL> declare
2 n_tmp tbl.x%type;
3 begin
4 select x into n_tmp from tbl;
5 exception when others then
6 -- the line below works in 9i
7 --dbms_output.put_line('Sqlerrm: '||sqlerrm);
8 -- the insert statement works in 9iR2 but the error message is -- not the one sought, how a
bout 10g ? i
9 insert into err(a,b) values (1,sys.standard.sqlerrm);
10 commit;
11 end;
12 /
PL/SQL procedure successfully completed.
SQL> select * from err;
A
B
1
ORA-0000: normal, successful completion
SQL> -
Why does this snippet produce ORA-01002 in 10g, but works fine in 9i.
While migrating from 9i to 10g, we found that one of our processes failed with ORA-01002: fetch out of sequence. Debugging produced the following example:
DECLARE
CURSOR A IS SELECT Dummy FROM Dual FOR UPDATE;
BEGIN
FOR B IN A LOOP COMMIT; END LOOP;
END;This code works in 9i, but produces an EXCEPTION in 10g:
SQL> SELECT Banner FROM V$Version;
BANNER
Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
PL/SQL Release 9.2.0.8.0 - Production
CORE 9.2.0.8.0 Production
TNS for Linux: Version 9.2.0.8.0 - Production
NLSRTL Version 9.2.0.8.0 - Production
SQL> DECLARE
2 CURSOR A IS SELECT Dummy FROM Dual FOR UPDATE;
3 BEGIN
4 FOR B IN A LOOP COMMIT; END LOOP;
5 END;
6 /
PL/SQL procedure successfully completed.
SQL> SELECT Banner FROM V$Version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for Linux: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
SQL> DECLARE
2 CURSOR A IS SELECT Dummy FROM Dual FOR UPDATE;
3 BEGIN
4 FOR B IN A LOOP COMMIT; END LOOP;
5 END;
6 /
DECLARE
ERROR at line 1:
ORA-01002: fetch out of sequence
ORA-06512: at line 4The documentation on the error explains this case in both 9i and more explicitly 10g. Should this have produced the EXCEPTION in 9i as well? Or, is there something else about 10g?e.g. a FOR row IN cursor LOOP is now implicit using a bulk fetch operation (100 rows or so).This was also my first guess, but said optimization does not take place when the cursor is defined FOR UPDATE:
SQL> exec dbms_application_info.set_client_info(0)
PL/SQL procedure successfully completed.
SQL> declare
cursor a is select last_name, set_client_info(rownum) from employees;
begin
for b in a loop
exit;
end loop;
end;
PL/SQL procedure successfully completed.
SQL> select sys_context('userenv','client_info') from dual
SYS_CONTEXT('USERENV','CLIENT_INFO')
100
1 row selected.
Now with FOR UPDATE:
SQL> exec dbms_application_info.set_client_info(0)
PL/SQL procedure successfully completed.
SQL> declare
cursor a is select last_name, set_client_info(rownum) from employees for update;
begin
for b in a loop
exit;
end loop;
end;
PL/SQL procedure successfully completed.
SQL> select sys_context('userenv','client_info') from dual
SYS_CONTEXT('USERENV','CLIENT_INFO')
1
1 row selected. -
Maximum Data file size in 10g,11g
DB Versions:10g, 11g
OS & versions: Aix 6.1, Sun OS 5.9, Solaris 10
This is what Oracle 11g Documentation
http://download.oracle.com/docs/cd/B28359_01/server.111/b28320/limits002.htm
says about the Maximum Data file size
Operating system dependent. Limited by maximum operating system file size;typically 2^22 or 4 MB blocksI don't understand what this 2^22 thing is.
In our AIX machine and ulimit command show
$ ulimit -a
time(seconds) unlimited
file(blocks) unlimited <-------------------------------------------
data(kbytes) unlimited
stack(kbytes) 4194304
memory(kbytes) unlimited
coredump(blocks) unlimited
nofiles(descriptors) unlimited
threads(per process) unlimited
processes(per user) unlimitedSo, this means, In AIX that both the OS and Oracle can create a data file of any Size. Right?
What about 10g, 11g DBs running on Sun OS 5.9 and Solaris 10 ? Is there any Limit on the data file size?How do i determine maximum number of blocks for an OS?df -g would give you the block size. OS blocksize is 512 bytes on AIX.
Lets say the db_block_size is 8k. What would the maximum file size for data file in Small File tablespace and Big File tablespace be?Smallfile (traditional) Tablespaces - A smallfile tablespace is a traditional Oracle tablespace, which can contain 1022 datafiles or tempfiles, each of which can contain up to approximately 4 million (222) blocks. - 32G
A bigfile tablespace contains only one datafile or tempfile, which can contain up to approximately 4 billion ( 232 ) blocks. The maximum size of the single datafile or tempfile is 128 terabytes (TB) for a tablespace with 32K blocks and 32TB for a tablespace with 8K blocks.
HTH
-Anantha -
Hi All,
During installation - Oracle Database Configuration Assistance, I have got below error and thus I stuck. As per Metalink note 293988.1, this will be resolved if I do [root@localhos]# echo 1 > /proc/sys/vm/disable_cap_mlock . But problem is when I do this because I dont have /proc/sys/vm/disable_cap_mlock file in my system, it giving ¨bash: /proc/sys/vm/disable_cap_mlock: No such file or directory¨ error. So I am unable to get rid of this error. I also set SELinux Default and Current mode as permissible and rebooted it.
No use, Its giving same error.
ORA-27125: Unable to create shared memory segment.
DB Details_
Oracle 10g Release 2 (10.2) for Linux x86-64
Choosen Basic Installation
OS Details:_
*[root@localhost vm]# uname -rm*
2.6.32-100.0.19.el5 x86_64
*[root@localhost vm]# uname -a*
Linux localhost.localdomain 2.6.32-100.0.19.el5 #1 SMP Fri Sep 17 17:51:41 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
*[root@localhost etc]# cat /etc/redhat-release*
Red Hat Enterprise Linux Server release 5.5 (Tikanga)
*[root@localhost etc]# make -v*
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for x86_64-redhat-linux-gnu
This is bugging me since last two days. Any help would be appreciated.
Thanks in advance.
Regards,
MahiFrom what I can gather form your post, the ORA-27125: Unable to create shared memory segment is probably the result of:
a) not enough physical memory available.
b) /dev/shm not configured properly.
c) kernel parameters are not set according to Oracle requirements.
Since this is happening during the installation of Oracle I suggest to check the SHMMAX kernel parameter. This is all mentioned in the pre-installation steps. Oracle 11g will actually check these kernel parameters prior to installing. Not sure about 10g now, which you are trying to install.
The most common, easiest way to prepare the system for Oracle RDBMS is to install the "oracle-validated" package. If you don't have access to ULN, you can setup public yum.
http://public-yum.oracle.com/ Then you can simply type as the root user: yum install oracle-validated
Edited by: waldorfm on Nov 3, 2010 1:18 PM -
PL/SQL New Features for Oracle 10g
Hi,
If anybody asks what are the new features in PL/SQL for Oracle 10g version, what would be the answer?
Thanks,
Mrinmoyuser3001930 wrote:
Hi,
If anybody asks what are the new features in PL/SQL for Oracle 10g version, what would be the answer?
Thanks,
MrinmoyI would say: Who cares about 10g features nowadays. And they I would tell them about the new 11g features (that I remember). -
Oracle 10G vs. Globus Toolkit
I'm confused. Most of the sales literature about 10G seems to be around load balancing on blade servers. I'd like to get the whole picture, not just this part.
Could someone here tell me how Oracle 10G is different from, or supports, Ian Foster's Globus grid toolkit (www.globus.org)?
If you can't answer this question offhand, I'd like to read some technology papers about 10G's grid support.
Thanks,
- Steve.Hi Steve,
Oracle 10g enables enterprise grid computing. With various grid features offered by Oracle 10g, You can use enterprise resources efficiently and realign your enterprise resources based on your needs. There are various white papers on our OTN Grid Tech Center at http://otn.oracle.com/grid that cover this in detail. You don't have to use globus toolkit to get any of these features. Also Oracle 10g hasn't used globus toolkit to provide any of these features.
cheers,
Brajesh. -
Best Practice for installing/managing 9i/10g RAC
Looking for this notes/articles...
There is one best practice document available from Oracle RACSIG site and "Oracle Real Applicaiton Cluster Administration and Deployment Guide" available on OTN is also good source of informaiton about 10g RAC.
Oracle has made sincere efforts in 10g documentations expecially in server technology.
Thanks & Regards
Maybe you are looking for
-
Allow editing metadata in develop mode
My biggest dissatisfaction about Lightroom right now is the distinction between Library and Develop modes or views. I would dearly love to get rid of the "quick develop" panel - perhaps make that something that could be displayed via the application
-
Several programs now giving errors after win updates?
Problems: On boot my Razer Synapse mouse software gives an error & won't run Quickbooks will not run now, upon launch I get an error. Two Adobe CC programs run but every time I close them I get an error. (Audition & Premiere). Sometimes Audition cras
-
Wi-fi doesn't work in lion osx
My wi.fi connection crashes every 2 minutes in my macbook pro after installing osx lion. How can i solve the problem?
-
ITunes not recognizing your nano? Here's a possible solution!
I spent 6 hours trying to get itunes to recognize my nano the first time and none of the "troubleshooting" tips worked. I was getting the message "the software to connect with your ipod is not installed properly" when I'd try to connect my nano. Wind
-
Xcode 3.1 WSMakeStubs missing
Hello, WSMakeStubs seems to be missing, I am running Xcode 3.1 and selected everything during the install. Anyone know if it is no longer included with the developer tools? Or is there a new method of generating the stubs off of WSDL? Thanks!