How to start a Database

I am really new in Oracle and i dont know how to start the database (i only know that the Oracle is installed...) Please Help !

From the DOS prompt, perform the following:
svrmgrl
==once you get svrmgrl> prompt then type
connect internal
startup
== once you get database started message
exit
now your database is up and running.
if you have any basic question and need good examples as well as good explanation, then, search at, http://asktom.oracle.com site.
SJH
OCP DBA

Similar Messages

  • HOW TO START MAKING DATABASE USING ORACLE SQL PLUS in 10g?

    how will i create database using sql plus?
    does the code of sql applicable to it..?
    do i have to use the "create db <database name>", use and " create table also,.."
    pls help me..
    thanks

    At dos prompt :
    C:\>set ORACLE_SID=<your SID>
    C:\>sqlplus / as sysdba
    you get connected as sys user. Don't use this connection to create your own objects, create users instead.... but it would be useful to read some documentation, for example Starting SQL*Plus and manuals mentioned there.

  • How to start the database manually?

    Hi,
    Recently I installed Oracle10g database in my laptop. I want to change the services from autostartup to manual. So that I can start the database whenver I want.
    After very first installation, I tried to do this exercise. Later I was not able to restart my database.
    Can anybody give me correct steps to do this exercise?
    Thanks,
    Viswa

    I'm surprised no-one has responded to this. Anyway, below are a bunch of shortcuts I use to start and stop my Oracle 10g. Note, I have to start the Listener AND Database for things to work. Note: you will have to check Control Panel - Services to find the Oracle.... and OracleService.... names as your's will be different.
    Start Listener:
    %windir%\System32\net.exe start OracleOraDb10g_home1TNSListener
    Start Database:
    %windir%\System32\net.exe start OracleServiceORADB10G
    Stop Listener:
    %windir%\System32\net.exe stop OracleOraDb10g_home1TNSListener
    Stop Database:
    %windir%\System32\net.exe stop OracleServiceORADB10G
    Hope this helps :)

  • Oracle Upgrade interrupted inbetween, How to start the database?

    Hi All,
    Oracle upgrade is interrupted in between during the migration.
    could you please provide me with the detail steps to start the database again with the 9i.
    Thanks,
    Anu.

    Where is "in the middle"? Using dbua? During filesystem copy? Without specifying where it broke the only thing one can suggest is to restore everything from before the upgrade (Oracle binaries and database).
    Markus

  • How to start Oracle database in solaris Machine

    I installed Oracle database in my solaris machine. Everything went fine .. I was able to install it and test the database if it's working or not.
    Something happened that made me shut down and restart the solaris machine, the problem is that Oracle is not running, so I have to start it manually, and I'm not sure how to do that ... Is there a way to start Oracle automatically once the solaris machine is started ...
    I'm using the SSH Secure Shell Client to configure and install everything into the solaris machine ..

    Here is the work around for starting oracle instance automatically.
    1) logon the system as root user.
    2) under /etc/init.d/ directory, create a file name oraclestart(name the file to what you feel comfortable). eg: /etc/init.d/oraclestart.
    with the following content:
    #!/bin/sh
    # Created by Henry Nguyen
    # Date 10/11/2005
    # Script to automatic start and stop oracle instances on server
    ORACLE_HOME=/export/home/oracle/product/9.2.0.1.0 (diffrent on your system)
    if [ ! -f $ORACLE_HOME/bin/dbstart || ! -f $ORACLE_HOME/bin/dbshut ]; then
    echo missing oracle start/stop script
    exit 1
    fi
    case "$1" in
    'start')
    su - oracle -c '$ORACLE_HOME/bin/dbstart'
    su - oracle -c '$ORACLE_HOME/bin/lsnrctl start'
    'stop')
    su - oracle -c '$ORACLE_HOME/bin/lsnrctl stop'
    su - oracle -c '$ORACLE_HOME/bin/dbshut'
    esac
    3) create 2 soft link as following:
    ln -s /etc/init.d/oraclestart /etc/rc2.d/S99oraclestart
    ln -s /etc/init.d/oraclestart /etc/rc0.d/K10oraclestart
    Note the S99 and K10: that are Solaris priorities to when start and stop an oracle instance and those letter must be capitalized.
    Hope this will help you

  • How to start oracle database server and client in windows 8

    Hi at all
    I'm a new entry in this forum and I'm a beginner with database oracle.
    I used always SQL Server as database and it was easy to use after installation.
    With SQL Server configuration management program I could to launch the SQL Server (SQLEXPRESS) service and the database server start up!!
    With SQL Server management studio I could to launch the client application, then was establishing a connection to the server and all was working fine!
    Now, how to work with oracle database?
    I installed oracle server and client version 11g R2 on windows 8, but how can I start the server database? .. and how can I start the client application for querying?
    regards in advance.
    P.S.: Sorry for my english. 

    SomeoneElse
    thanks for the response.
    I setting the service to start manually because otherwise windows is slow to startup.
    In particular I have precisely this oracle service on my operating system after installation.
    - ) OracleVssWriterSYSDBA
    - ) OracleDBConsolesysdba
    - ) OracleJobSchedulerSYSDBA
    - ) OracleMTSRecoveryService
    - ) OracleOraDb11g_home1ClrAgent
    - ) OracleOraDb11g_home1TNSListener
    - ) OracleServiceSYSDBA
    What are the services that start the server and I have to launch?
    What is the client program in menu --> start -- > all program --> Oracle - OraClient 11g home..... that I have to use for querying database?
    thanks.

  • How to start perticular database

    hi
    i have two database "prod1" and "prod2" on the same machine
    how can i start any perticular databaase
    thanx in advance

    >
    I dont think there is spfile parameter with startup.
    Guess not, I tried the following and seems like there is no spfile parameter in 9i for startup
    C:\>COPY D:\Oracle\Ora92\database\SPFILERIM.ORA D:\test_spfile_loc
            1 file(s) copied.
    C:\>SQLPLUS /NOLOG
    SQL*Plus: Release 9.2.0.1.0 - Production on Sat Sep 17 12:27:48 2005
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    SQL> CONN / @DEV AS SYSDBA
    Connected to an idle instance.
    SQL> STARTUP SPFILE='D:\test_spfile_loc\SPFILERIM.ORA'
    SP2-0714: invalid combination of STARTUP options
    SQL> HELP STARTUP
    SP2-0171: HELP not accessible.
    SQL>
    SQL> STARTUP SPFILE=D:\test_spfile_loc\SPFILERIM.ORA
    SP2-0714: invalid combination of STARTUP optionsso I use the startup pfile parameter but instead of showing to the pfile I show the location of the spfile??
    Tony G

  • How to start a database by copying the files(tablespace, redo, ctl files)

    Hi,
    I have two databases called Q1 and Q2. I am planning to copy from a cold backup files from Q1 to Q2 database.
    could anybody will provide the steps involved in how to copy from one database to another and how to rename the target database after copying and renaming the files in the target database to up and run?
    Please help.
    Thank you.

    For Oracle version from 9i the steps are :
    Perform Cold Backup of the Production database
    1. Note down the datafile, controlfile and redologfile locations on proddb
    2. Shutdown the production database Ensure clean shutdown.
    3. Copy the database files (datafiles, logfiles, controlfiles and parameter file) into the clone destination.
    4. Modify the parameter CONTROL_FILES in the pfile for clonedb to reflect
    the new path of the control files.
    1. Mount the database and rename the datafiles and redolog files.
    export ORACLE_SID=clonedb
    DB02> sqlplus / as sysdba
    DB02> startup mount
    DB02> alter database rename file '/u01/<path_to_proddb_files>/<filename>' to '/u01/<path_to_clonedb_files>/<filename>'
    2. Rename the database with the dbnewid (nid) utility
    3. Edit the pfile and update the new database name
    Modify parameter DB_NAME to reflect the new database name.
    also ensure you make necessary changes to the environment for ORACLE_SID, ORACLE_HOME
    as needed.
    4. Open the clone database.

  • How to start Pointbase database server

    I browse the tools provided by J2EE but didn't found such element? How to do that?
    Thanks

    PointBase database has been replaced with Derby database in 8.2 release of the Application Server (and in corresponding J2EE SDK bundle). So, while the functionality is essentially the same, you might need to note this if the documentation you are trying to follow references PointBase.

  • How To Start Spatial Database

    Hi everyone,
    I have been working in Oracle world about 9 months, and now I am supposed to learn Oracle spatial database, and be a team member for spatial dw project. I searched it on google, but I also want to ask you about the starting point.
    Can you help me please.
    Regards,
    Dilek

    Hi,
    1. you need to read books about Oracle Spatial.
    2. Take Oracle Spatial Course (instructor-led).
    3. start hands on work and implementation.
    4. if you have a senior team member who have extensive knowledge in Oracle Spatial ....ask him to be your "mentor".
    5. you need to have PL/SQL skills, if you don't have it then start learning it.
    Hope This General Tips Helps.
    Regards,

  • How To Start a DATABASE created by DBCA?

    Hello Forum mates
    I Have created 1 database with DBCA as oracle user but when i try to startup it throws errors ORA-01078 and LRM-00109.
    i have created other databases manually they startup when i run .env file, where is the env file for dbca created database?

    dprod is the dbca db, vprod and rprod are the manually created db's... all dbs are down while executing this commands...
    [oracle@srvr69 ~]$ id
    uid=500(oracle) gid=500(dba) groups=500(dba),501(oinstall)
    [oracle@srvr69 ~]$ uname -a
    Linux srvr69.oraprod.com 2.6.9-78.0.0.0.1.ELhugemem #1 SMP Fri Jul 25 14:53:18 EDT 2008 i686 i686 i386 GNU/Linux
    [oracle@srvr69 ~]$ env | egrep 'ORA|PATH' | sort
    CLASSPATH=/oraeng/app/oracle/product/10.2.0/db_1/jlib
    LD_LIBRARY_PATH=/oraeng/app/oracle/product/10.2.0/db_1/lib
    ORACLE_HOME=/oraeng/app/oracle/product/10.2.0/db_1
    ORACLE_SID=orcl
    PATH=/oraeng/app/oracle/product/10.2.0/db_1/bin:/bin:/usr/bin:/usr/ccs/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:
    [oracle@srvr69 ~]$ ps -ef | grep pmon
    oracle 8192 8173 0 10:15 pts/1 00:00:00 grep pmon
    [oracle@srvr69 ~]$ cat /etc/oratab
    # This file is used by ORACLE utilities. It is created by root.sh
    # and updated by the Database Configuration Assistant when creating
    # a database.
    # A colon, ':', is used as the field terminator. A new line terminates
    # the entry. Lines beginning with a pound sign, '#', are comments.
    # Entries are of the form:
    # $ORACLE_SID:$ORACLE_HOME:<N|Y>:
    # The first and second fields are the system identifier and home
    # directory of the database respectively. The third filed indicates
    # to the dbstart utility that the database should , "Y", or should not,
    # "N", be brought up at system boot time.
    # Multiple entries with the same $ORACLE_SID are not allowed.
    dprod:/oraeng/app/oracle/product/10.2.0/db_1:N
    [oracle@srvr69 ~]$ ls -l $ORACLE_HOME/dbs
    total 68
    -rw-rw---- 1 oracle dba 1544 Sep 25 09:07 hc_dprod.dat
    -rw-rw---- 1 oracle dba 1544 Sep 25 13:35 hc_rprod.dat
    -rw-rw---- 1 oracle dba 1544 Sep 25 11:27 hc_vprod.dat
    -rwxr-x--- 1 oracle dba 12920 May 3 2001 initdw.ora
    -rwxr-x--- 1 oracle dba 8385 Sep 11 1998 init.ora
    -rw-r--r-- 1 oracle dba 308 Sep 25 13:52 initrprod.ora
    -rw-r--r-- 1 oracle dba 308 Sep 25 11:26 initvprod.ora
    -rw-rw---- 1 oracle dba 24 Sep 25 09:08 lkDPROD
    -rw-rw---- 1 oracle dba 24 Sep 25 13:57 lkRPROD
    -rw-rw---- 1 oracle dba 24 Sep 25 11:27 lkVPROD
    -rw-r----- 1 oracle dba 1536 Sep 25 10:48 orapwdprod
    -rw-r----- 1 oracle dba 2560 Sep 26 14:58 spfiledprod.ora

  • Database Benchmarking: How to start

    Dear Experts,
    How to start bechmark database performence ?
    Regards
    Sunil Kumar

    Dear Sir,
    Thanks for the link, but at this moment I can not open any web page rather then oracle.com domain.
    I am woking in a kind of enviroment where workload and queries are not filxed...
    (oracle 10gR2,HP-UX 11.31)
    One problem is that we captured some queries are showing high resource consumption, but what if they supposed to do so ? Application team not alway able to provide rigth picture about this.
    I wonder who should be in picture to resolve these kind of issues ?
    Regards
    Sunil Kumar

  • How to startup the database

    Hi,
    i have installed oracle database 11gr1 in oel5(32 bit).How to start the database?
    Solution needed

    Dear user8818950 Muvendran!
    Have you created a database yet? If yes then you could do the following steps to start it:
    1.) Execute the oraenv script. It should be located in the /usr/local/bin directory
    . oranev
    ORACLE_SID = [ORCL] ? Please fill in your Oracle SID after the questionmark.
    2.) Start your listener
    lsnrctl start3.) Start SQL*Plus and connect as sysdba
    sqlplus sys/password as sysdba4.) Type in startup to start your database
    startupAfter that everything should be fine.
    Yours sincerely
    Florian W.
    Edited by: Florian W. on 05.11.2009 13:54
    P.S. If you don't know the name of your database (ORACLE_SID) than you may look into the file /etc/oratab. E. g,
    ORCL:/u01/app/oracle/product/10.2.0:NThe first column shows your ORACLE_SID. If you want to start your database everytime your sever starts than you may change the N in the last column to Y.
    Best Regards

  • How can i start oracle databases? i am using Oracle 8.1.6 for linux.

    when i run dbstart,it gives me following message:
    Database "ora4cweb" warm started.
    but when i use sqlplus,it says:
    ORA-01034: ORACLE not available
    i made a mistake ,i shutdown my linux before i shutdown oracle databases,how can i start oracle databases now?thanks in advance.

    try it without the scripts...
    login to linux as oracle
    start server manager
    svrmgrl
    connect internal
    startup
    select sysdate from dual;if that works
    exitcheck listener
    lsnrctl
    statif nothing running type
    start
    exitnull

  • How to start a particular database in unix/linux

    Hi,
    Could any one tell me how to start a particular database in Unix/Linux assuming that my server consists of 10 databases.
    Can we use LSNRCTL tool for this??
    Regards,
    Nagarjun.

    > Could any one tell me how to start a particular database in Unix/Linux
    assuming that my server consists of 10 databases.
    There is something very wrong in basic understanding of Oracle RDBMS architecture, when running 10 Oracle instances on a single server.
    10x temp space. 10x redo space. 10x SGA. 10x system processes footprint. This is NOT how one scales Oracle and NOT how one uses Oracle optimally.

Maybe you are looking for

  • Permissions issue:  can't sync music to ipod after installing leopard

    It says I don't have enough access privileges to write to my music folder, yet I'm the admin and the music folder says I can read and write. Here's the things I've tried: At first I thought it was an itunes problem so I re-installed itunes to no avai

  • Validator not firing?

    I have an input text with a validator like validator="#{MyBean.validate}", but I put some logging in that method and it looks like it's not being called. What are the possible reasons I should check out? Not sure if relevant, but I copied the bean fr

  • Wage type amounts in cluster PCL4

    Hi all, I am trying to capture the wage type amount changes in infotype logging. enables infotype logging. Used function module 'HR_INFOTYPE_LOG_GET_LIST' and HR_INFOTYPE_LOG_GET_DETAIL to retrieve the change data. So far so fine. But the structuer r

  • Simple Mp3 Player EQ Style Playlist

    I'm trying to find a simple eq like mp3 player like this http://www.flashkit.com/movies/Sound/Players/Small_EQ-Cosmin_V-11746/index.php that will play a few tracks automatically and when done it will start again with the first track? Can anyone point

  • CS3 Tab key all of a sudden is not working but instead removing palettes

    I am working on a long document that came out of Excel. Everything was fine but I have to add an extra tab before the text in the same place in that column. All of sudden, my tab key just gets rid of all my windows/palettes or brings them back and th