Datafile creation in Oracle

Hi All,
I am going to create a datafile in Oracle database by using this syntax.
ALTER DATABASE
CREATE DATAFILE 'c:\oracle\oradata\orabase\uwdata03.dbf' SIZE 1G
AS 'UWDATA';
Does the creation of the datafile will hamper the default datafiles of oracle?

user11358816 wrote:
Hi,
I don't know abt.oracle much ,but i need to create datafile for creating a table space.
So for that i need to create a datafile.No you don't that's not how it works.
So for that I am asking about the syntax of it.
ThanksThen the very first thing you'll want to learn is where to find the official documentation.
It would be a good investment in your career to go to tahiti.oracle.com. Drill down to your product and version. There you will find the complete doc library.
Notice the 'search' function at that site.
You should spend a few minutes just getting familiar with what kind of documentation is available there by simply browsing the titles under the "Books" tab.
Open the Reference Manual and spend a few minutes looking through the table of contents to get familiar with what kind of information is available there. Learning where to look things up in the documentation is time well spent on your career.
Do the same with the SQL Reference Manual.
Then set yourself a plan to dig deeper.
- Read the 2-Day DBA Manual
- Read a chapter a day from the Concepts Manual.
- Look in your alert log and find all the non-default initialization parms listed at instance startup. Then read up on each one of them in the Reference Manual. Take a look at your listener.ora, tnsnames.ora, and sqlnet.ora files, then bounce what you see there in the network administrators manual.
- Read the concepts manual again.
Give a man a fish and he eats for a day. Teach a man to fish and he eats for a lifetime.

Similar Messages

  • RMAN Automatic Datafile Creation

    Hi,
    Could anyone please explain me RMAN Automatic Datafile Creation in oracle 10g with example.
    Thanks in advance
    regards,
    Shaan

    Hi,
    Automatic Datafile Creation - RMAN will automatically create missing datafiles in two circumstances. First, when the backup controlfile contains a reference to a datafile, but no backup of the datafile is present. Second, when a backup of the datafile is present, but there is no reference in the controlfile as it was not backed up after the datafile addition.
    doc
    http://stanford.edu/dept/itss/docs/oracle/10g/server.101/b10734/wnbradv.htm
    Regards,
    Tom

  • Database creation in oracle 9i

    can any one tell me step of database creation in oracle 9i
    i try many times from 2 days through script because my DBCA is not open
    when i click it. DBCA created orcl during instalation but now
    it is not running. will i have to install it ?
    1)i add db_name=mukesh below db_name=orcl and run script but errors
    2)i crete initm.ora by copy init.ora and change db_name=orcl by db_name=mukesh
    in initm.ora but errors
    1)when i use init.ora without adding db_name=mukesh
    i also change undo_management by AUTO to manual i get
    SQL> shutdown immediate;
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup pfile=D:\oracle\admin\orcl\pfile\init.ora nomount
    ORACLE instance started.
    Total System Global Area 135338868 bytes
    Fixed Size 453492 bytes
    Variable Size 109051904 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 667648 bytes
    SQL> create database mukesh
    2 datafile 'D:\oracle\oradata\mukesh\system01.dbf' size 325m
    3 logfile
    4 group 1 ('D:\oracle\oradata\mukesh\redo01.log') size 100m,
    5 group 2 ('D:\oracle\oradata\mukesh\redo02.log') size 100m,
    6 group 3 ('D:\oracle\oradata\mukesh\redo03.log') size 100m;
    create database mukesh
    ERROR at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-01504: database name 'mukesh' does not match parameter db_name 'orcl'
    after that i add db_name=mukesh below db_name=orcl
    SQL> shutdown immediate;
    ORA-01507: database not mounted
    ORACLE instance shut down.
    SQL> startup pfile=D:\oracle\admin\orcl\pfile\init.ora nomount
    ORACLE instance started.
    Total System Global Area 135338868 bytes
    Fixed Size 453492 bytes
    Variable Size 109051904 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 667648 bytes
    SQL> create database mukesh
    2 datafile 'D:\oracle\oradata\mukesh\system01.dbf' size 325m
    3 logfile
    4 group 1 ('D:\oracle\oradata\mukesh\redo01.log') size 100m,
    5 group 2 ('D:\oracle\oradata\mukesh\redo02.log') size 100m,
    6 group 3 ('D:\oracle\oradata\mukesh\redo03.log') size 100m;
    create database mukesh
    ERROR at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-00200: controlfile could not be created
    ORA-00202: controlfile: 'D:\oracle\oradata\orcl\CONTROL01.CTL'
    ORA-27038: skgfrcre: file exists
    OSD-04010: <create> option specified, file already exists

    Hi,
    If you getting a problem with DBCA go for manually process:-
    I had listed steps which I follow
    Step 1: Decide on Your Instance's System Identifier (SID)
    Step 2: Create the Initialization Parameter File
    Note:- Name the copied init.ora file init<SID>.ora because this is the default naming convention that the Oracle server looks for when it tries to start up the instance ORACLE_HOME/dbs directory (exists over the prefered path)
    Edit this file's parameters so that your database and your instance will run effectively on your system.
    DB_NAME Must be set to a text string of eight characters or less. During database creation, the value assigned to DB_NAME is recorded in the database's datafiles, redo log files, and control files. If, when you attempt to start the database instance, the value of DB_NAME as recorded in the initialization parameter file and the database name in the control files are not the same, the database will not start.
    DB_DOMAIN A text string that specifies the network domain where the database is created.
    CONTROL_FILES Is assigned the comma-separated list of control file names to use for the new database. When you execute the CREATE DATABASE statement, the control files listed as values assigned to this parameter are created. If you fail to specify a filename for the CONTROL_FILES parameter, Oracle creates a file with a default operating system dependant filename.
    DB_BLOCK_SIZE Specifies the standard block size of the database. This size is used in the creation of the system tablespace and by default in any other tablespaces created. Take care when determining what this value should be because after the database is created, the value cannot be changed.
    UNDO_MANAGEMENT Determines whether the database starts in automatic undo management mode. A value of AUTO enables automatic undo management; MANUAL enables manual undo management mode. In 9i, AUTO is suggested, but MANUAL is default.
    UNDO_TABLESPACE When the instance starts in automatic undo management mode, it needs to have a tablespace in which to store its undo information. The default is SYS_UNDOTBS and is automatically created if you execute a CREATE DATABASE statement with the UNDO_MANAGEMENT initialization parameter set to AUTO and no UNDO TABLESPACE statement in the CREATE DATABASE statement.
    Step 3: Connect to and Start the Instance
    Connect to the instance as SYSDBA either using operating system authentication or the password file method of authentication and start up the instance using the STARTUP command.
    sqlplus '/ as sysdba'
    If your parameter file is not in the default location or is not named init<SID>.ora, you may need to specify the PFILE clause in the STARTUP command for the instance to start.
    Because you do not yet have a database attached to the instance, you need to start up the instance in NOMOUNT state:
    startup nomount;
    The instance is now started and ready for the CREATE DATABASE command.
    Step 4: Issue the CREATE DATABASE Statement
    create database mydb1 controlfile reuse
    Logfile
    Group 1 ('/mydb1/log1/log01a.log',
    '/mydb2/mydb1/log01b.log') size 50M,
    Group 2 ('/mydb1/log1/log02a.log',
    '/mydb2/log1/log02b.log') size 50M,
    Group 3 ('/mydb1/log1/log03a.log',
    '/mydb2/mydb1/log03b.log') size 50M
    Datafile '/mydb1/mydb1_system.dbf' 250M
    AUTOEXTEND ON MAXSIZE 500M
    Undo tablespace mydb1_undo1
    Datafile '/mydb/mydb1/mydb1_undo1.dbf' 50M
    Default temporary tablespace mydb1temp tempfile
    '/mydb/mydb1/mydb1temp1.dbf' size 75M
    Extent management local
    Character set US7ASCII
    MAXLOGFILES 10
    MAXLOGMEMBERS 10
    MAXLOGHISTORY 1
    MAXDATAFILES 500;
    Thanks
    Pavan Kumar N

  • Error occured during creation of oracle snapshot

    Dear All,
    I am getting error messange in my SAP Inbox in t.code SBWP.
    In SBWP, the nessage text is as follow.
    =============================
    Error occured during creation of oracle snapshot (Creation aborted)
    (Log see also transaction SLG1, Object ORASNAP, Subobject ORASNAPCR)
    Oracle snapshot creation program aborted
    Error while copying from oracle view to SAP table
    Oracle view SAP$KCBFWAIT
    SAP table ORA_SAPKCBFWAIT
    Return code (ORA-....) 942
    You tried to work with the name of a table or view that does not exist in the database
    The table does not exist on the database. A table name or view name was used that does not exist on                           the database.
    ===============================
    I also check in T.Code SLG1, but i am not getting the reason for this error.
    Regards,
    Nisit

    Hi,
    Check each of the following :
    the spelling of the table or view name.
    that a view is not specified where a table is required.
    that an existing table or view name exists.
    Contact the database administrator if the table needs to be created or if user or application privileges are required to access the table.
    Also, if attempting to access a table or view in another schema, make certain the correct schema is referenced and that access to the object is granted.
    Regards
    Krishna

  • Creation of Oracle managed objects - CF's and Destinations

    Hi,
    Is there a way to create Oracle CF's and Destinations apart from AQJmsFactory. What I am looking for is creating these objects through reflection which most of the JMS providers support. This allows using the Generic JMS RA in javabean mode to easily integrate with Oracle AQ. Please reply.
    Also if it is not possible when is Oracle going to change its API to be standardized as most of the JMS providers support?
    Cheers

    Your topic title, "Creation of Oracle model hanging MS SQL 7->8.1.6", caught my eye, but our situations aren't exact.
    Workbench is hanging on me during the Oracle Model creation when it gets to "Mapping tables". I also waited about 24 hours without any results.
    Do you have any insight to my problem?

  • Static Tables Creation In oracle & Diff Between Static table ,Dynamic table

    Static Tables Creation In oracle & Diff Between Static table ,Dynamic table

    972471 wrote:
    Static Tables Creation In oracle & Diff Between Static table ,Dynamic tableAll tables in a well designed application should be static tables.
    Whilst it's possible to execute dynamic code and therefore create tables dynamically at run time, this is considered poor design and should be avoided in 99.99% of cases... though for some reason some people still think they need to do this, and it's never really justified.
    So what issue are you facing that you need to even bother considering dynamic tables?

  • Creation of Oracle model hanging MS SQL 7- 8.1.6

    Had a question answered yesterday which has got me almost there, for which thank you. Creating the Oracle model now maps almost all the objects in my SQL Server database (apart from a few roles, triggers and stored procedures), up to the point where the log window shows:
    [Timestamp] Mapping Roles mapped: 7, Roles NOT Mapped: 3
    [Timestamp] Mapping Mapping User Privileges
    [Timestamp] Mapping mapped user privilege :
    [Timestamp] Mapping mapped user privilege :
    [Timestamp] Mapping mapped user privilege :
    The process then hangs (it's been 21 hours now). Any ideas?
    Scott Doughty

    Your topic title, "Creation of Oracle model hanging MS SQL 7->8.1.6", caught my eye, but our situations aren't exact.
    Workbench is hanging on me during the Oracle Model creation when it gets to "Mapping tables". I also waited about 24 hours without any results.
    Do you have any insight to my problem?

  • Mass creation of Oracle HR Self Service Users (for access to all employees)

    Mass creation of Oracle HR Self Service Users (for access to all employees)
    Hi all,
    We have Oracle Human Resources 11.5.7 and recently implement Oracle HRMS (Self Service) for the purpose of Online Appraisal System.
    Is there any fast way to create all employees as users of the Self Service instead of creating the users manually one by one in HR?
    I would appreciate any feedback.
    Thanking you in advance.
    Best regards,
    Elena Demetriou
    Hellenic Bank

    Check pages 2-23 and following of the Deploying SSHR Capability V5.2 guide on Metalink. It describes the methods for Batch Creation of User Accounts.

  • I would like to move datafiles to another Oracle Machine

    Dear All:
    I have two Oracle Server based on Windows XP professional.
    I would like to move datafiles to another Oracle Machine. That is, I want to move datafiles from A server to B server.
    Do you know how I can transport these datafiles and how can B server recognize table, metadata, values from datafiles?
    Please help me.
    Sincerely,

    To rodenyli:
    Version is Oracle 10gR2 (first server and second server are same).
    I already create the DB on the second server but SID is different.
    I don't understand what you are saying.
    "Is the instance name the same?"
    I didn't create any tablespace and datafile on the second server.
    For example, the datafile name of the first server is ABCD.DBF. and I want to transport the second server. but the second server doesn't have any tablespace and datafile.
    Please let me know in this case.
    Thank you,

  • Manual creation of Oracle RAC Database

    Hello Guru's,
    I successfully installed Oracle Grid(clusterware) and Oracle RDBMS 11.2.0.1.0 for RAC containing 2 nodes on Linux 5.3 64 bit.
    All the clusterware services and ASM instance are running fine on both nodes.
    Now im planning to create database manually on node1 (RAC-NODE1).
    1) configure the environmental variables as follows
    export TMP=/tmp
    export ORACLE_HOSTNAME=`hostname`
    export ORACLE_SID=finance1
    export ORACLE_UNQNAME=finance
    export ORACLE_BASE=/rdbms1/app/oracle/
    export ORACLE_HOME=/rdbms1/app/oracle/product/11.2.0/db_home/
    export ORACLE_TERM=xterm
    export PATH=$ORACLE_HOME/bin:$PATH:.
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
    export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
    2) created the pfile and modified the parameters as follows
    db_name='finance'
    processes = 200
    audit_trail ='db'
    db_block_size=8192
    db_domain='vod.com'
    diagnostic_dest='/oradump/oradata/finance/dump'
    sessions=200
    remote_login_passwordfile='EXCLUSIVE'
    undo_tablespace='UNDOTBS1'
    control_files = +CTRL
    compatible ='11.2.0'
    job_queue_processes = 10
    undo_management = 'AUTO'
    finance1.instance_name = finance1
    db_create_file_dest = +DBFILE
    db_create_online_log_dest_1 = +REDO1
    db_create_online_log_dest_2 = +REDO2
    3) Created the password file as follows
    $ orapwd file=orapwfinance1 passwors=syspassword entries=10
    4) edit the /etc/oratab file as follows
    finance1:/rdbms1/app/oracle/product/11.2.0/db_home:N
    5) created the rac db script as follows.
    CREATE DATABASE FINANCE
    DATAFILE '+DBFILE' SIZE 500M
    AUTOEXTEND ON NEXT 50M MAXSIZE UNLIMITED
    EXTENT MANAGEMENT LOCAL
    SYSAUX DATAFILE '+DBFILE' SIZE 500M
    AUTOEXTEND ON NEXT 50M MAXSIZE UNLIMITED
    DEFAULT TEMPORARY TABLESPACE TEMP
    TEMPFILE '+DBFILE' SIZE 100M AUTOEXTEND ON NEXT 10M MAXSIZE 500M
    UNDO TABLESPACE UNDOTBS1
    DATAFILE '+DBFILE' SIZE 100M AUTOEXTEND ON NEXT 10M MAXSIZE 500M
    DEFAULT TABLESPACE USERDATA
    DATAFILE '+DBFILE' SIZE 100M AUTOEXTEND ON NEXT 10M MAXSIZE 500M
    LOGFILE
    GROUP 1 ('+REDO1','+REDO2') SIZE 20M,
    GROUP 2 ('+REDO1','+REDO2') SIZE 20M,
    GROUP 3 ('+REDO1','+REDO2') SIZE 20M
    MAXINSTANCES 8
    MAXLOGHISTORY 300
    MAXLOGFILES 64
    MAXLOGMEMBERS 5
    MAXDATAFILES 150
    USER SYS IDENTIFIED BY "sys_123"
    USER SYSTEM IDENTIFIED BY "system_123";
    6) started the instance as follows.
    $ sqlplus / as sysdba
    SQL> startup nomount
    ORACLE instance started.
    Total System Global Area 217157632 bytes
    Fixed Size 2211928 bytes
    Variable Size 159387560 bytes
    Database Buffers 50331648 bytes
    Redo Buffers 5226496 bytes
    SQL> @rac_db.sql
    CREATE DATABASE FINANCE
    ERROR at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-00200: control file could not be created
    ORA-00202: control file: '+CTRL'
    ORA-15045: ASM file name '+CTRL' is not in reference form
    ORA-17502: ksfdcre:5 Failed to create file +CTRL
    ORA-15081: failed to submit an I/O operation to a disk
    It shows that oracle unable to create control file on +CTRL diskgroup, i found that there is a problem with permissions on disks in diskgroups.
    brw-rw-r-- 1 grid asmadmin 8, 49 Apr 8 04:25 CTRLDISK1
    brw-rw-r-- 1 grid asmadmin 8, 50 Apr 8 04:25 CTRLDISK2
    brw-rw-r-- 1 grid asmadmin 8, 51 Apr 8 04:25 CTRLDISK3
    brw-rw-r-- 1 grid asmadmin 8, 52 Apr 8 04:25 CTRLDISK4
    since all the disks in diskgroup has 664 permision and owned by grid user primary group is asmadmin.
    # id grid
    uid=1001(grid) gid=501(oinstall) groups=501(oinstall),504(asmadmin),505(asmdba),506(asmoper)
    # id oracle
    uid=1002(oracle) gid=501(oinstall) groups=501(oinstall),502(dba),503(oper),505(asmdba)
    please help me to overcome the above problem.
    regards,

    Thanks for comments,
    I successfully created the database, once i restared the database it is unbale to mount because of unbale to open +CTRL group file.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 217157632 bytes
    Fixed Size 2211928 bytes
    Variable Size 159387560 bytes
    Database Buffers 50331648 bytes
    Redo Buffers 5226496 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    alert log:
    ORACLE_BASE from environment = /rdbms1/app/oracle/
    Thu Apr 11 09:36:34 2013
    ALTER DATABASE MOUNT
    ORA-00210: cannot open the specified control file
    ORA-00202: control file: '+CTRL'
    ORA-17503: ksfdopn:2 Failed to open file +CTRL
    ORA-15045: ASM file name '+CTRL' is not in reference form
    ORA-205 signalled during: ALTER DATABASE MOUNT...
    Thu Apr 11 09:36:42 2013
    NOTE: initiating MARK startup
    raw devices:
    # ls -l /dev/sd*
    brw-rw-r-- 1 grid asmadmin 8, 16 Apr 11 09:04 /dev/sdb
    brw-rw-r-- 1 grid asmadmin 8, 17 Apr 11 09:51 /dev/sdb1
    brw-rw-r-- 1 grid asmadmin 8, 18 Apr 11 09:51 /dev/sdb2
    brw-rw-r-- 1 grid asmadmin 8, 19 Apr 11 09:51 /dev/sdb3
    brw-rw-r-- 1 grid asmadmin 8, 20 Apr 11 09:45 /dev/sdb4
    brw-rw-r-- 1 grid asmadmin 8, 32 Apr 11 09:04 /dev/sdc
    brw-rw-r-- 1 grid asmadmin 8, 33 Apr 11 09:30 /dev/sdc1
    brw-rw-r-- 1 grid asmadmin 8, 34 Apr 11 09:30 /dev/sdc2
    brw-rw-r-- 1 grid asmadmin 8, 35 Apr 11 09:30 /dev/sdc3
    brw-rw-r-- 1 grid asmadmin 8, 36 Apr 11 09:05 /dev/sdc4
    brw-rw-r-- 1 grid asmadmin 8, 48 Apr 11 09:04 /dev/sdd
    brw-rw-r-- 1 grid asmadmin 8, 49 Apr 11 09:51 /dev/sdd1
    brw-rw-r-- 1 grid asmadmin 8, 50 Apr 11 09:51 /dev/sdd2
    brw-rw-r-- 1 grid asmadmin 8, 51 Apr 11 09:51 /dev/sdd3
    brw-rw-r-- 1 grid asmadmin 8, 52 Apr 11 09:30 /dev/sdd4
    brw-rw-r-- 1 grid asmadmin 8, 64 Apr 11 09:04 /dev/sde
    brw-rw-r-- 1 grid asmadmin 8, 65 Apr 11 09:51 /dev/sde1
    brw-rw-r-- 1 grid asmadmin 8, 66 Apr 11 09:51 /dev/sde2
    brw-rw-r-- 1 grid asmadmin 8, 67 Apr 11 09:51 /dev/sde3
    brw-rw-r-- 1 grid asmadmin 8, 68 Apr 11 09:30 /dev/sde4
    brw-rw-r-- 1 grid asmadmin 8, 80 Apr 11 09:04 /dev/sdf
    brw-rw-r-- 1 grid asmadmin 8, 81 Apr 11 09:51 /dev/sdf1
    brw-rw-r-- 1 grid asmadmin 8, 82 Apr 11 09:51 /dev/sdf2
    brw-rw-r-- 1 grid asmadmin 8, 83 Apr 11 09:51 /dev/sdf3
    brw-rw-r-- 1 grid asmadmin 8, 84 Apr 11 09:30 /dev/sdf4
    brw-rw-r-- 1 grid asmadmin 8, 96 Apr 11 09:04 /dev/sdg
    brw-rw-r-- 1 grid asmadmin 8, 97 Apr 11 09:51 /dev/sdg1
    brw-rw-r-- 1 grid asmadmin 8, 98 Apr 11 09:51 /dev/sdg2
    brw-rw-r-- 1 grid asmadmin 8, 99 Apr 11 09:51 /dev/sdg3
    brw-rw-r-- 1 grid asmadmin 8, 100 Apr 11 09:30 /dev/sdg4
    brw-rw-r-- 1 grid asmadmin 8, 112 Apr 11 09:04 /dev/sdh
    brw-rw-r-- 1 grid asmadmin 8, 113 Apr 11 09:51 /dev/sdh1
    brw-rw-r-- 1 grid asmadmin 8, 114 Apr 11 09:51 /dev/sdh2
    brw-rw-r-- 1 grid asmadmin 8, 115 Apr 11 09:51 /dev/sdh3
    brw-rw-r-- 1 grid asmadmin 8, 116 Apr 11 09:30 /dev/sdh4
    asm disks:
    [09:52 AM [email protected] disks]# ll
    brw-rw-r-- 1 grid asmadmin 8, 65 Apr 11 09:05 ARCLOGDISK1
    brw-rw-r-- 1 grid asmadmin 8, 66 Apr 11 09:05 ARCLOGDISK2
    brw-rw-r-- 1 grid asmadmin 8, 67 Apr 11 09:05 ARCLOGDISK3
    brw-rw-r-- 1 grid asmadmin 8, 68 Apr 11 09:05 ARCLOGDISK4
    brw-rw-r-- 1 grid asmadmin 8, 49 Apr 11 09:05 CTRLDISK1
    brw-rw-r-- 1 grid asmadmin 8, 50 Apr 11 09:05 CTRLDISK2
    brw-rw-r-- 1 grid asmadmin 8, 51 Apr 11 09:05 CTRLDISK3
    brw-rw-r-- 1 grid asmadmin 8, 52 Apr 11 09:05 CTRLDISK4
    brw-rw-r-- 1 grid asmadmin 8, 33 Apr 11 09:05 DBFILEDISK1
    brw-rw-r-- 1 grid asmadmin 8, 34 Apr 11 09:05 DBFILEDISK2
    brw-rw-r-- 1 grid asmadmin 8, 35 Apr 11 09:05 DBFILEDISK3
    brw-rw-r-- 1 grid asmadmin 8, 36 Apr 11 09:05 DBFILEDISK4
    brw-rw-r-- 1 grid asmadmin 8, 113 Apr 11 09:05 FRADISK1
    brw-rw-r-- 1 grid asmadmin 8, 114 Apr 11 09:05 FRADISK2
    brw-rw-r-- 1 grid asmadmin 8, 115 Apr 11 09:05 FRADISK3
    brw-rw-r-- 1 grid asmadmin 8, 116 Apr 11 09:05 FRADISK4
    brw-rw-r-- 1 grid asmadmin 8, 81 Apr 11 09:05 REDODISK1
    brw-rw-r-- 1 grid asmadmin 8, 82 Apr 11 09:05 REDODISK2
    brw-rw-r-- 1 grid asmadmin 8, 83 Apr 11 09:05 REDODISK3
    brw-rw-r-- 1 grid asmadmin 8, 84 Apr 11 09:05 REDODISK4
    brw-rw-r-- 1 grid asmadmin 8, 97 Apr 11 09:05 REDODISK5
    brw-rw-r-- 1 grid asmadmin 8, 98 Apr 11 09:05 REDODISK6
    brw-rw-r-- 1 grid asmadmin 8, 99 Apr 11 09:05 REDODISK7
    brw-rw-r-- 1 grid asmadmin 8, 100 Apr 11 09:05 REDODISK8
    brw-rw-r-- 1 grid asmadmin 8, 17 Apr 11 09:05 VOTEDISK1
    brw-rw-r-- 1 grid asmadmin 8, 18 Apr 11 09:05 VOTEDISK2
    brw-rw-r-- 1 grid asmadmin 8, 19 Apr 11 09:05 VOTEDISK3
    brw-rw-r-- 1 grid asmadmin 8, 20 Apr 11 09:05 VOTEDISK4
    [09:53 AM [email protected] ~]# ls -l /rdbms1/app/oracle/product/11.2.0/db_home/bin/oracle
    -rwsr-s--x 1 oracle asmadmin 210824720 Apr 8 13:39 /rdbms1/app/oracle/product/11.2.0/db_home/bin/oracle
    I know this problem is coming for improper assiging of permissions, but i could not pin point. kindly clarify the same.
    one more thing i need to know.., whenever i rebooted nodes, both of raw devices and asm disks are come to default permission brw------, i have to change every time to brw-rw-r--. is there any way to make these disks and devices permissions make permenet.
    Thanks in advance.

  • Help! datafile deleted on oracle 9i under redhat linux

    Please help me, i delete a datafile from a test tablespace and i don't know
    how to fix it on 9i, in 8i is very documented but 9i is a real pain, here
    is the error when 'dbstart'ing the db:
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    SQL> Connected to an idle instance.
    SQL> ORACLE instance started.
    Total System Global Area 353440004 bytes
    Fixed Size 450820 bytes
    Variable Size 167772160 bytes
    Database Buffers 184549376 bytes
    Redo Buffers 667648 bytes
    Database mounted.
    ORA-01157: cannot identify/lock data file 28 - see DBWR trace file
    ORA-01110: data file 28: '/oradata/alumnos/tablespaces/test2.dbf'
    Thank you in advance,
    Otto Solares

    Can you perform a Tablespace Point In Time Recovery on the specific tablespace?

  • Problem in DB Link creation of Oracle Wraehouse Builder 3i - Updated question

    I am facing a problem in DB Link creation.
    Backend: Oracle 8i Server on my machine
    DW Software: Oracle warehouse builder 3i ( client , repository
    asistant.....)
    Operating system: Windows NT 4 SERVICE PACK 6
    I wants to use the scott database( default database given by oracle )
    as my input source.
    How can I create the DB LINK ( for scott database) ?
    How can I create the DB LINK ( for any other database) ?
    Should I need to add anything in Setting of"ODBC DATASOURCE
    ADMINISTRATION"
    ==================
    Settings done:
    ==================
    DB Link Name :prashant
    Host name
    Host name: my machine's ip address
    port number: 1521
    oracle sid: prashant ( my oracle sid)
    user name:scott
    password:tiger
    ==================
    Gives error:
    ==================
    Testing...
    Failed.
    Cwm Error Message: Failed in the WBAPIFactory.createDBLink()
    Cwm Error: SQL Exception
    Class Name: oracle.wh.ui.integrator.common.RepositoryUtils
    Method Name: createDBLink(String, String, String, String)
    Method Name: -1
    Repository Error Message: java.sql.SQLException: ORA-02082: a loopback database link must have a connection qualifier
    ==================
    ==================
    How should I proceed further.
    I am expecting URGENT FEEDBACK.
    Reply me on : [email protected] or this OTN Network
    From
    Prashant

    I solved the problem.
    Procedure I followed :
    UNINSTALL ORACLE WRAEHOUSE BUILDER SOFTAWARE.
    'GLOBAL_NAMES = FALSE' in init.ora file.
    RESTARTED MY MACHINE.
    INSTALL THE ORACLE WRAEHOUSE BUILDER SOFTAWARE.

  • Sequence number creation in oracle 11gR2

    Hi.. i am using oracle 11.2 version. how can i create my sequence value starts from 1..i am currently getting 2..pls help me..

    862189 wrote:
    Hi.. i am using oracle 11.2 version. how can i create my sequence value starts from 1..i am currently getting 2..pls help me..I'm going to guess that you're seeing the side effects of deferred segment creation.
    This does get mentioned in the reference manual under "create sequence": http://download.oracle.com/docs/cd/E18283_01/server.112/e17118/statements_6015.htm
    If this is the case then creating the target table with the "segment creation immediate" should address your problem: http://download.oracle.com/docs/cd/E18283_01/server.112/e17118/statements_7002.htm#i2095331
    Regards
    Jonathan Lewis

  • StandBy database creation in oracle 10g

    Respected Sir's
    I have to create stand by database in oracle 10g i am working on (Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod) .Plz any body provide steps required for creating stand by database in oracle10g.Both the database db1 and db2 are running on archivelog.I am confuse how to set archivelog parameter that goes to db2(standby database) from db(primary database).Any one provide me steps to properly configuring the stand by database.
    Thanks

    Respected Sir
    These are the detailed steps that i performed on standby and primary database.
    On both the systems i install the oracle in E drive and the database i create in G drive and archive destination also in G drive.
    Like G:\prod1\(all the datafiles,logfiles and control file).
    G:\arch\(all the archive files).
    ON PRIMARY DATABASE(IP:192.168.2.14):
    1.First i create a database with DBCA and the database SID is prod1.
    2.Put the database in archive mode and also enable the force logging.
    3.Shutdown the Primary database and modify the following parameters in pfile.
    log_archive_dest_1='LOCATION=G:\ARCH'
    log_archive_dest_2 = "service=STDBY mandatory reopen=60"
    log_archive_dest_state_1 = enable
    log_archive_dest_state_2 = enable
    log_archive_min_succeed_dest = 2
    4.Mount the primary database and create the standby controle file and create the spfile from the modified pfile.
    5.Shutdown the primary database and take the backup of all the datafile,logfile,standby controlfile ,passwordfile,pfile in a folder.
    6.Startup the primary database.
    Tnsname.ora Configuration.
    Create the connection string using the Net Manager with name STDBY and in host name i provide the IP address of the standby database.
    ON STANDBY DATABASE(IP 192.168.2.9):
    Listener.ora Configuration.
    Create a listener using the Net configuration Assistance.
    1.I copy the datafile,logfile and standby controle file in g:\prod1
    2.Copy the E:\oracle\product\10.2.0\admin\prod1 folder from primary database and past it on the same location on the standby database.
    3.On standby pfile i change only the standby_archive_dest parameter to g:\arch.
    4.Create the service with oradim -SID -NEW prod1 -STARTMODE manuall
    5.Start the standby database in nomount mode.
    6.Create the spfile from pfile and shutdown the database.
    7.Startup the database in nomount mode using spfile.
    8.ALTER DATABASE MOUNT STANDBY DATABASE;
    These are the occurs when i use tnsping stdby on primary database.
    C:\Documents and Settings\Administrator>TNSPING STDBY
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 04-FEB-2009 12:03:55
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    E:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.9
    NECT_DATA = (SERVICE_NAME = prod1)))
    OK (20 msec)
    sqlnet.ora file on stand by database.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, LDAP)
    BEQUEATH_DETACH=yes
    AUTOMATIC_IPC = ON
    NAMES.DEFAULT_DOMAIN = IDEVELOPMENT.INFO
    SQLNET.EXPIRE_TIME=2
    This occurs when i use tnsping prod1 on standby database.
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 04-FEB-2
    009 12:01:40
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    E:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
    TNS-03505: Failed to resolve name
    Please help me bec i have to create the stand database as soon as possible.Thanks Sir

  • DB creation in Oracle 10g XE for Windows

    Pls. help, I can't create a new db (CAFE). I already created the init.ora and the db creation script. But everytime I ran the said script in sql it displays this error:
    " Error at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-01504: database name 'CAFE' does not match parameter db_name 'XE'"
    Another thing is that, I can't find the default path of oracle, re: $ORACLE_HOME.

    People coming from other systems get confused with terminology,
    You might be happy using the XE database and simply creating a new schema. A LOT of people use the term database when they really mean schema.
    A schema is simply an Oracle database user that has the privileges to create database objects such as tables and views. An Oracle database can contain any number of schemas. A regular user is then given permission to access objects in the various schemas.

Maybe you are looking for

  • How can I set up a separate Apple account from my husband

    MMy husband and I set up a joint Apple account years ago. Can he keep that account in tact and can I create a separate one? If so how do I do that?

  • How do I configure a proxy for all users via GPO on Server 2012 R2?

    I would like to configure a proxy that applies to all users that log into our server running Server 2012 R2. I can manually set up the proxy (on an individual account basis) via Internet Options in Control Panel but this proxy needs to be configured

  • PDF's will not print to a Canon printer

    I recently purchased a Canon IP100 compact printer and when I send PDF's to print on it I get the following error message: Unable to open raster stream -: No such file or directory.  Does anyone have a reason or solution for this. This does not happe

  • Trouble to add a printed shared in windows

    I'm trying to add a shared printer on Windows 7 on my macbook with leopard, but I get an error concerning the CIFS protocol and tries to connect in 60 seconds but nothing happens. I read that I have activated the SMB / CIFS Directories Settings, but

  • Can't share wireless

    To whomever can help me, I have had the Time Capsule for almost two years. I never had a problem using multiple devices to obtain the internet. I moved to Japan and have it connected to ethernet ( I was using a cable modem stateside) I can't get my i