Creating a new database with oracle express

how to create a database with oracle express. the web based interface for managing oracle sucks and it is too slow, they'd bet better of developing a rich client application for managing XE. Oracle XE comapraed to SQL Express is very poor.

Try to post it Oracle Database Express Edition (XE)<br>
<br>
Nicolas.

Similar Messages

  • How do l create a new database in Oracle 10g Express

    How do l create a new database in Oracle 10g Express, other than the one that is created on installation?

    Hello,
    You cannot create a second XE database on the same server.
    But, Oracle database can support as many Schema as you want.
    "Oracle database" is like "SQL Server Instance" and "Oracle Schema" is like "SQL Server database". I means by this shortcut that for
    the end users accessing to different Schemas looks like accessing to different databases.
    You can have several applications on the same database. Each application has its own Schema and Datafile (Tablespace) structure.
    So on your XE database you can add a new Tablespace and create a new User/Schema as follows:
    sqlplus /nolog
    connect / as sysdba
    create tablespace {color:red}new_tablespace_name{color}
    extent management local autoallocate
    SEGMENT SPACE MANAGEMENT AUTO
    datafile '{color:red}complete_datafile_name{color}' size 100M autoextend on next 10M maxsize unlimited;
    create user {color:red}new_schema_name{color} identified by {color:red}password{color}
    default tablespace {color:red}new_tablespace_name{color}
    temporary tablespace TEMP
    quota unlimited on {color:red}new_tablespace_name{color}
    grant connect, resource to {color:red}new_schema_name{color};Then you can connect to this new User/Schema as you defined it and create your new structure and load datas.
    Hope it can help.
    Best regards,
    Jean-Valentin

  • HELP: Problem creating a new database in Oracle 9i

    I am having difficulty in creating a new database in Oracle 9i, on Windows 2000. I would be obliged if somebody can go through the posting below and guide me as to what mistake I am making or what is the source of the problem:
    I reproduce the steps taken by me.
    I have decide the database to be called Mydb. I have made the following directories:
    -- d:\mydb
    -- d:\mydb\data
    -- d:\mydb\control
    -- d:\mydb\log
    -- d:\mydb\bdump
    -- d:\mydb\cdump
    -- d:\mydb\udump
    -- d:\mydb\archive
    -- d:\mydb\pfile
    -- d:\mydb\scripts
    -- d:\mydb\exp
    I copied the initoracle.ora file to d:\mydb\pfile\initmydb.ora, and made the following changes to it:
    -- db_name = mydb
    -- instance_name = mydb
    -- control_files = ("d:\mydb\control\control01.ctl")
    -- background_dump_dest = d:\mydb\bdump
    -- core_dump_dest = d:\mydb\cdump
    -- user_dump_dest = d:\mydb\udump
    -- remote_login_passwordfile = exclusive
    Also, I created a text file called d:\Oracle\Ora90\DATABASE\initmydb.ora with the following contents:
    ifile=d:\mydb\pfile\initmydb.ora
    At DOS prompt, I run the following command:
    set oracle_sid=mydb
    I run the ORAPWD utility to create internal password file at the command prompt.
    d:
    cd \oracle\ora90\database
    orapwd file=pwdmydb.ora password=panther entries=25
    I create a Windows service for the database as follows:
    oradim -new -sid mydb -startmode a -pfile d:\mydb\pfile\initmydb.ora
    I get connected:
    sqlplusw /nolog
    connect sys/change_on_install as sysdba
    startup nomount # pfile=d:\mydb\pfile\initmydb.ora
    create database mydb
    MAXINSTANCES 1
    MAXLOGHISTORY 1
    MAXLOGFILES 5
    MAXLOGMEMBERS 5
    MAXDATAFILES 100
    datafile 'd:\mydb\data\system.dbf' size 325m REUSE
    AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
    undo tablespace undotbs datafile 'd:\mydb\data\undo01.dbf' size
    200m reuse
    AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
    default temporary tablespace temptbs
    CHARACTER SET WE8MSWIN1252
    NATIONAL CHARACTER SET AL16UTF16
    logfile group 1 ('d:\mydb\log\log1.log') size 1m,
    group 2 ('d:\mydb\log\log2.log') size 1m,
    group 3 ('d:\mydb\log\log3.log') size 1m;
    Now I get the following error:
    create database mydb
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection forced
    The data files, control file, redo log files are all created. But the above error comes, and I am unable to start the database. What is the reason?
    Thanks in anticipation.
    PS

    Hi DENIS,
    I have executed the following commands (which are in a script file),
    1. sqlplus /nolog
    2. connect sys/change_on_install as sysdba
    3. create database ...
    4. ...
    When I execute the 3rd command, I get an error message as "ORACLE TERMINATED FORCED" and it will end the session. So when the next set of commands in the script are executed, I got the error saying "DATABASE NOT OPEN".
    How to rectify this problem.
    Thanks in advance,
    Kiran

  • Creating a new database with exporrt file

    Hi there,
    I am to create a new database with an export file.
    I have the export file (exp) and the new environment set up (Oracle10g on UNIX)
    Can someone gimme some guide lines and what I might probably face and new to correct.
    Regards.

    Well I don't think that it would be possible to show you a full db import/export here. All you need to do s a full database import from the source database to the target database.
    And I have to rrename
    the db to some other name.
    Use the DBNEWID utility to do it.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dbnewid.htm#i1004664
    HTH
    Aman....

  • How to create a new DataBase using Oracle 10g Express Edition???

    Hello, I am new to Oracle, I am used to Microsoft SQL Server (Enterprise Manager).
    Here in Oracle I do not get how do I create a DataBase, and then create tables on it.
    could anyone please explain to me how to do it?

    A SQL Server database is roughly equivalent to an Oracle schema.
    You should rarely need to create a new database. If you do need to create a database, get a 'for fee' edition of Oracle and use the dbca tool (Database Configuration Assistant) to do that. In fact, you are only allowed to have one XE database on the machine.
    However, you can create as many schemas in an existing Oracle database as you need. (One schema, owned by userid SYS, is roughly equal to your 'master catalog'.)
    You can create other schemas simply by
    1) creating a userid that will own the schema (one designated for maintenance of the schema);
    2) grant that userid appropriate privileges, such as 'CREATE TABLE', 'CREATE VIEW' as shown in the SQL Reference manual under the GRANT section;
    3) provide that userid with a quota in one or more tablespaces (see the CREATE USER command in the SQL Reference manual);
    4) create the objects, such as tabels, views, sequences, stored procs and functions, etc. (as in the SQL Reference manual);
    5) create the users who will access the objects, and grant them the CREATE SESSION capability (as in the SQL Reference manual);
    6) grant access (select, update, execute, etc.) on the schema objects to these users (as in the SQL Reference manual);
    7) if desired, create synonyms on the schema objects so the users do not need to use fully qualified syntax such as "SELECT col FROM schema.table;" (as in the SQL Reference manual).
    In case you are interested in looking at the SQL Reference manual, it can be found at http://www.oracle.com/pls/db102/portal.portal_db?selected=1 ;-)

  • Creating a new database in Oracle Database 10g...

    I have downloaded a copy of Oracle Database 10g Express Edition from Oracle's website. I am using Windows XP. I am trying to create an Oracle database that I can connect to from Access 2003 via ODBC.
    1. How do I create a new database? I can see options to create tables, views, etc. but not a database.
    2. I have created a System DSN connection in the ODBC Data Source Administrator for the Oracle ODBC driver. Once I create a database in Oracle, how do I actually establish a connection to it from Access? The ODBC code to connect is there, but when I run it, I get an error.
    Any help would be appreciated. Thanks.

    1. How do I create a new database? I can see options to create tables, views, etc. but not a database.If you can see those options then you are already connected to the database. You probably want to create a user, not a database (are you by chance coming from SQL Server?)
    driver={OracleDriver};Dbq=TESTDBQ;Uid=Administrator;Pwd=;You would replace "Administrator" with the name of the user you created in the database.

  • Problem in Creating a new database in Oracle 9i

    I have installed Oracle 9i for Windows successfully. Now when I try to create a new database either using the Database Configuration Assistant or using the script generated by the Assistant, I get an error message that DATABASE NOT OPEN. So the database will not be created. Please help in this regard, so that I can create a database and I can start working on Oracle 9i.
    Thanks in advance.
    Kiran

    Hi DENIS,
    I have executed the following commands (which are in a script file),
    1. sqlplus /nolog
    2. connect sys/change_on_install as sysdba
    3. create database ...
    4. ...
    When I execute the 3rd command, I get an error message as "ORACLE TERMINATED FORCED" and it will end the session. So when the next set of commands in the script are executed, I got the error saying "DATABASE NOT OPEN".
    How to rectify this problem.
    Thanks in advance,
    Kiran

  • ORA-01034 creating new database with Oracle 8i for NT

    Hi everyone!
    I've succesfully installed Oracle 8i Stanard Edition 8.1.6 on a server Intel with 256 Mb Ram and Windows NT Server 4.0 with SP6a. I've succesfully created a standard database but if i try to create a custom database the creation stops with ORA-01034 error: Oracle not available. Can anyone help me?
    Thanks
    Luca

    That error message usually represents the fact that Oracle is not running. Check the task manager services tab and see if Oracle is running.
    It can be configured to start automatically if it is not already.

  • Is it possible create a new connection with oracle database in javascript or formcalc?

    I need create a new connection, but it is necessary that I connect when the user click in a button.
    Is it possible?
    How can I do?
    Thanks
    Rubén

    How to connect ORACLE database to ADOBE LIFE CYCLE READER EXTENSION or ADOBE LIFE CYCLE DESIGNER

  • Error when creating a new database on oracle 9i release 2

    hi friend,
    i have a question when i create new database manually then i get error.
    error like this
    create database alauki
    error at line 1:
    ORA-01092 : ORACLE instance terminated. Disconnection forced
    the alert log file is
    Dump file e:\ritesh\alauki\bdump\alert_alauki.log
    Mon Jan 02 06:42:47 2006
    ORACLE V9.2.0.1.0 - Production vsnsta=0
    vsnsql=12 vsnxtr=3
    Windows 2000 Version 5.1 Service Pack 2, CPU type 586
    Mon Jan 02 06:42:47 2006
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    SCN scheme 2
    Using log_archive_dest parameter default value
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up ORACLE RDBMS Version: 9.2.0.1.0.
    System parameters with non-default values:
    processes = 150
    timed_statistics = TRUE
    shared_pool_size = 50331648
    large_pool_size = 8388608
    java_pool_size = 33554432
    control_files = E:\RITESH\DATA\CONTROL01.CTL, E:\RITESH\MIRROR\CONTROL01.CTL
    db_block_size = 8192
    db_cache_size = 25165824
    compatible = 9.2.0.0.0
    db_file_multiblock_read_count= 16
    fast_start_mttr_target = 300
    undo_management = AUTO
    undo_tablespace = UNDOTBS1
    undo_retention = 10800
    remote_login_passwordfile= EXCLUSIVE
    db_domain =
    instance_name = ALAUKI
    dispatchers = (PROTOCOL=TCP) (SERVICE=ALAUKIXDB)
    job_queue_processes = 10
    hash_join_enabled = TRUE
    background_dump_dest = E:\RITESH\ALAUKI\bdump
    user_dump_dest = E:\RITESH\ALAUKI\udump
    core_dump_dest = E:\RITESH\ALAUKI\cdump
    sort_area_size = 524288
    db_name = ALAUKI
    open_cursors = 300
    star_transformation_enabled= FALSE
    query_rewrite_enabled = FALSE
    pga_aggregate_target = 25165824
    aq_tm_processes = 1
    PMON started with pid=2
    DBW0 started with pid=3
    LGWR started with pid=4
    CKPT started with pid=5
    SMON started with pid=6
    RECO started with pid=7
    CJQ0 started with pid=8
    QMN0 started with pid=9
    Mon Jan 02 06:43:02 2006
    starting up 1 shared server(s) ...
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    Mon Jan 02 06:43:07 2006
    alter database mount exclusive
    Mon Jan 02 06:43:08 2006
    ORA-09341: scumnt: unable to mount database
    OSD-04400: unable to acquire internal semaphore for process
    O/S-Error: (OS 183) Cannot create a file when that file already exists.
    Mon Jan 02 06:43:08 2006
    ORA-1102 signalled during: alter database mount exclusive...
    Shutting down instance: further logons disabled
    Shutting down instance (immediate)
    License high water mark = 3
    Waiting for dispatcher 'D000' to shutdown
    Waiting for shared server 'S000' to die
    All dispatchers and shared servers shutdown
    Mon Jan 02 06:46:03 2006
    alter database close normal
    ORA-1507 signalled during: alter database close normal...
    Dump file e:\ritesh\alauki\bdump\alert_alauki.log
    Mon Jan 02 10:50:49 2006
    ORACLE V9.2.0.1.0 - Production vsnsta=0
    vsnsql=12 vsnxtr=3
    Windows 2000 Version 5.1 Service Pack 2, CPU type 586
    Mon Jan 02 10:50:49 2006
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    SCN scheme 2
    Using log_archive_dest parameter default value
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Mon Jan 02 10:51:24 2006
    Starting up ORACLE RDBMS Version: 9.2.0.1.0.
    System parameters with non-default values:
    processes = 150
    timed_statistics = TRUE
    shared_pool_size = 50331648
    large_pool_size = 8388608
    java_pool_size = 33554432
    control_files = E:\RITESH\DATA\CONTROL01.CTL, E:\RITESH\MIRROR\CONTROL01.CTL
    db_block_size = 8192
    db_cache_size = 25165824
    compatible = 9.2.0.0.0
    db_file_multiblock_read_count= 16
    fast_start_mttr_target = 300
    undo_management = AUTO
    undo_tablespace = UNDOTBS1
    undo_retention = 10800
    remote_login_passwordfile= EXCLUSIVE
    db_domain =
    instance_name = ALAUKI
    dispatchers = (PROTOCOL=TCP) (SERVICE=ALAUKIXDB)
    job_queue_processes = 10
    hash_join_enabled = TRUE
    background_dump_dest = E:\RITESH\ALAUKI\bdump
    user_dump_dest = E:\RITESH\ALAUKI\udump
    core_dump_dest = E:\RITESH\ALAUKI\cdump
    sort_area_size = 524288
    db_name = ALAUKI
    open_cursors = 300
    star_transformation_enabled= FALSE
    query_rewrite_enabled = FALSE
    pga_aggregate_target = 25165824
    aq_tm_processes = 1
    PMON started with pid=2
    DBW0 started with pid=3
    LGWR started with pid=4
    CKPT started with pid=5
    SMON started with pid=6
    RECO started with pid=7
    CJQ0 started with pid=8
    QMN0 started with pid=9
    Mon Jan 02 10:51:34 2006
    starting up 1 shared server(s) ...
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    Mon Jan 02 10:51:45 2006
    alter database mount exclusive
    Mon Jan 02 10:51:45 2006
    ORA-00202: controlfile: 'E:\RITESH\DATA\CONTROL01.CTL'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Mon Jan 02 10:51:48 2006
    ORA-205 signalled during: alter database mount exclusive...
    Shutting down instance (abort)
    License high water mark = 3
    Instance terminated by USER, pid = 604
    can u pls give me a solution of error
    Thanks in advance
    Ritesh Patel
    Message was edited by:
    RITESH

    this is my alert log file
    starting up 1 shared server(s) ...
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    Mon Jan 02 14:21:01 2006
    CREATE DATABASE ALAUKI
         USER SYS IDENTIFIED BY *     USER SYSTEM IDENTIFIED BY *     LOGFILE GROUP 1 ('E:\RITESH\DATA\REDO01.LOG') SIZE 100M,
              GROUP 2 ('E:\RITESH\DATA\REDO02.LOG') SIZE 100M,
              GROUP 3 ('E:\RITESH\DATA\REDO03.LOG') SIZE 100M
         MAXLOGFILES 5
         MAXLOGMEMBERS 5
         MAXLOGHISTORY 1
         MAXINSTANCES 1
         CHARACTER SET US7ASCII
         NATIONAL CHARACTER SET AL16UTF16
         DATAFILE 'E:\RITESH\DATA\SYSTEM01.DBF' SIZE 325M REUSE
         EXTENT MANAGEMENT LOCAL
         DEFAULT TEMPORARY TABLESPACE TEMPTS1
              TEMPFILE 'E:\RITESH\DATA\TEMP01.DBF' SIZE 20M REUSE
         UNDO TABLESPACE UNDOTBS1
              DATAFILE 'E:\RITESH\DATA\UNDOTBS01.DBF' SIZE 200M REUSE
              AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
    Mon Jan 02 14:21:02 2006
    Database mounted in Exclusive Mode.
    Mon Jan 02 14:21:36 2006
    Successful mount of redo thread 1, with mount id 2260372877.
    Assigning activation ID 2260372877 (0x86ba8d8d)
    Thread 1 opened at log sequence 1
    Current log# 1 seq# 1 mem# 0: E:\RITESH\DATA\REDO01.LOG
    Successful open of redo thread 1.
    Mon Jan 02 14:21:36 2006
    SMON: enabling cache recovery
    Mon Jan 02 14:21:36 2006
    create tablespace SYSTEM datafile 'E:\RITESH\DATA\SYSTEM01.DBF' SIZE 325M REUSE
    EXTENT MANAGEMENT LOCAL online
    Mon Jan 02 14:22:11 2006
    Completed: create tablespace SYSTEM datafile 'E:\RITESH\DATA
    Mon Jan 02 14:22:11 2006
    create rollback segment SYSTEM tablespace SYSTEM
    storage (initial 50K next 50K)
    Completed: create rollback segment SYSTEM tablespace SYSTEM
    Mon Jan 02 14:22:16 2006
    CREATE UNDO TABLESPACE UNDOTBS1 DATAFILE 'E:\RITESH\DATA\UNDOTBS01.DBF' SIZE 200M REUSE
              AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
    Mon Jan 02 14:22:38 2006
    Created Undo Segment _SYSSMU1$
    Created Undo Segment _SYSSMU2$
    Created Undo Segment _SYSSMU3$
    Created Undo Segment _SYSSMU4$
    Created Undo Segment _SYSSMU5$
    Created Undo Segment _SYSSMU6$
    Created Undo Segment _SYSSMU7$
    Created Undo Segment _SYSSMU8$
    Created Undo Segment _SYSSMU9$
    Created Undo Segment _SYSSMU10$
    Undo Segment 1 Onlined
    Undo Segment 2 Onlined
    Undo Segment 3 Onlined
    Undo Segment 4 Onlined
    Undo Segment 5 Onlined
    Undo Segment 6 Onlined
    Undo Segment 7 Onlined
    Undo Segment 8 Onlined
    Undo Segment 9 Onlined
    Undo Segment 10 Onlined
    Successfully onlined Undo Tablespace 1.
    Completed: CREATE UNDO TABLESPACE UNDOTBS1 DATAFILE 'E:\RITE
    Mon Jan 02 14:22:39 2006
    CREATE TEMPORARY TABLESPACE TEMPTS1 TEMPFILE 'E:\RITESH\DATA\TEMP01.DBF' SIZE 20M REUSE
    Completed: CREATE TEMPORARY TABLESPACE TEMPTS1 TEMPFILE 'E:\
    Mon Jan 02 14:22:40 2006
    ALTER DATABASE DEFAULT TEMPORARY TABLESPACE TEMPTS1
    Completed: ALTER DATABASE DEFAULT TEMPORARY TABLESPACE TEMPTS
    Mon Jan 02 14:22:41 2006
    SMON: enabling tx recovery
    Mon Jan 02 14:22:44 2006
    Errors in file e:\ritesh\alauki\udump\rits_ora_804.trc:
    ORA-01501: CREATE DATABASE failed
    ORA-01991: invalid password file 'D:\oracle\ora90\DATABASE\PWDrits.ORA'
    Mon Jan 02 14:22:44 2006
    Error 1991 happened during db open, shutting down database
    USER: terminating instance due to error 1991
    Instance terminated by USER, pid = 804
    ORA-1092 signalled during: CREATE DATABASE ALAUKI
         USER SYS IDENTIFIED BY *     U...

  • How can I create a new DB with Oracle XE ?

    Hi
    I'm a newbie with XE. I'd like to migrate an MS SQL Server DB to XE. How do I go about it ?
    Thanks for help.
    Bernard

    CREATE USER ...
    GRANT CREATE TABLE TO USER
    In many ways, Sybase (and therefore it's derivative SQL Server) use the term 'database' in a similar way to Oracle's 'schema'. Ninety-nine times out of a hundred, when a person wants to migrate from SQL Server to Oracle and asks this question, they will be happy simply to create a schema.
    In Oracle terms, a schema is a named collection of database objects (tables, indexes, stored procedures, etc.). The confusing part is that the 'name' is simply the Oracle user that is designated the owner (or adminstrator) of that collection.
    So, all you need to do is create a user designated to own the collection; give that user the privileges to create the object; start creating the objects; grant permission to other users to access those objects.
    The most painful difference for a Microsoft specialist is the 'granting permission to access'. Oracle takes the 'unix' view of security - provide minimum access and explicitly grant as required, whereas Microsoft products (or at least typical Microsoft product administrators) by default tend to use the 'grant access and use restrictions when required' approach.
    Oracle's approach to access and security seems to 'create roles, grant them appropriate access, assign users to those roles'. The benefit is accountability. The drawback is extra administration.

  • Creating a Database with Oracle 10 Express Edition

    Hello,
    I had installed Oracle Database 10g Express Edition whith linux, fedora core 4.
    I want to create a new database with Oracle 10g Express Edition. How can i do this?
    I know that Orcale 10g express edition have only one Database which is installed by default sid 'XE', but my database must have another name.
    Thanks.

    Really you need to change database name ?
    Oracle 10g Espress Edition and change ORACLE_SID

  • About spfile creating in oracle 10g while creating a new database

    hi everyone,
    i had this problem while i was creating a new database in oracle 10g.when running the database script, it gives an error about invalid option for create temporary tablespace. is it necessary to have an spfile created in 10g. when the script was not working,we tried to create spfile which gives error tht it does not match the parameter db_name. its taking the default db_name=orcl itself..tis not taking our new db name.
    im creating it manually through sql prompt not through DBCA.the problem is that its still accepting the default db name. please send me the solution with syntaxes.
    thanx

    first of all, thanx for giuding me as im a student doing a course in this
    what abt the creation of spfile.. in a documentation for steps in creating database, they have mentioned it as recommended in creating spfile.here are some notes regarding this ....for oracle 10g
    Step 5: Create a Server Parameter File (Recommended)
    Oracle recommends that you create a server parameter file as a dynamic means of maintaining initialization parameters. The server parameter file is discussed in "Managing Initialization Parameters Using a Server Parameter File".
    The following script creates a server parameter file from the text initialization parameter file and writes it to the default location. The script can be executed before or after instance startup, but after you connect as SYSDBA. The database must be restarted before the server parameter file takes effect.
    -- create the server parameter file
    CREATE SPFILE='/u01/oracle/dbs/spfilemynewdb.ora' FROM
    PFILE='/u01/oracle/admin/initmynewdb/scripts/init.ora';
    SHUTDOWN
    -- the next startup will use the server parameter file
    EXIT
    the error : db_name does not match with the parameter.
    its still taking the default orcl database name

  • How to Create A new Database in the oracle 10g XE

    i have oracle 10g XE i tried to create a new database but its giveing me error when i execute the sql command that is create database testDatabase how to create a new database in oracle 10g XE

    Hi there 785434,
    (This is a generic SQL question relating to Database Triggers, please post future questions of this type into the relevant forum area.)
    Moderator, please move this if able
    I use Before Update and Before Delete Triggers to record a 'snapshot' of the row being changed in my applications.
    Example:
    CREATE TABLE TEST
    DATA VARCHAR2(64 CHAR),
    CREATING_USERID VARCHAR2(20 CHAR) DEFAULT user NOT NULL,
    CREATED_DATE DATE NOT NULL,
    CHANGED_BY_USERID VARCHAR2(20 CHAR),
    CHANGED_DATE DATE
    LOGGING
    STORAGE
    (MAXEXTENTS UNLIMITED);
    CREATE TABLE TEST_HISTORY
    DATA VARCHAR2(64 CHAR),
    CREATING_USERID VARCHAR2(20 CHAR) DEFAULT user NOT NULL,
    CREATED_DATE DATE NOT NULL,
    CHANGED_BY_USERID VARCHAR2(20 CHAR),
    CHANGED_DATE DATE,
    CHANGE_DESCRIPTION
    NOLOGGING
    STORAGE
    (MAXEXTENTS UNLIMITED);
    CREATE OR REPLACE TRIGGER TRG_BU_TEST
    BEFORE UPDATE ON TEST FOR EACH ROW
    BEGIN
    INSERT /*+ append */ INTO TEST_HISTORY
    (DATA, CREATING_USERID, CREATED_DATE, CHANGED_BY_USERID, CHANGED_DATE, CHANGE_DESCRIPTION)
    VALUES
    (:old.DATA, :old.CREATING_USERID, :old.CREATED_DATE, USER, SYSDATE, 'UPDATE');
    END;
    CREATE OR REPLACE TRIGGER TRG_BD_TEST
    BEFORE DELETE ON TEST FOR EACH ROW
    BEGIN
    INSERT /*+ append */ INTO TEST_HISTORY
    (DATA, CREATING_USERID, CREATED_DATE, CHANGED_BY_USERID, CHANGED_DATE, CHANGE_DESCRIPTION)
    VALUES
    (:old.DATA, :old.CREATING_USERID, :old.CREATED_DATE, USER, SYSDATE, 'DELETE');
    END;
    Using triggers like this will record who made an update or delete to the database and record the row before it was changed.
    Note that this method might not be suitable for very high transaction rates.
    You will need to 'clear' these history tables as part of routine maintenance.
    Hope that this Helps.
    Ronald.

  • ORA-27102 when creating a new database

    I have a 10.2.0.4 RAC database on 64-bit Redhat Enterprise Linux AS Release 4.
    We have 32GB on both machines in this cluster. Currently there are 5 databases running, each with 1GB SGA and 256M SGA. When I try to create a new database, with the same memory requirements, I get an ORA-27102. I am sure we have set up our OS fine, according to suggestions from Oracle. Linux returns: Linux-X86_64 Error: 28: No space left on device
    $> sysctl -a
    kernel.shmmni = 4096
    kernel.shmall = 2097152
    kernel.shmmax = 4294967295
    kernel.sem = 256 32000 100 128
    $> free
    total used free shared buffers cached
    Mem: 32890432 8599000 24291432 0 58084 6003368
    -/+ buffers/cache: 2537548 30352884
    Swap: 8385792 0 8385792
    So, why am I getting an "out of memory" message... I see 20+GB free...
    Edited by: jbednarz on Jan 14, 2009 3:08 PM

    jbednarz wrote:
    , I get an ORA-27102. Linux returns: Linux-X86_64 Error: 28: No space left on deviceIs that the complete error stack, from alert.log?
    kernel.shmall = 2097152This could be "it". This is system wide total, in pages. What is your page size?
    There might be other parameters that need increasing as you add instances. Check Oracle and linux documentation.

Maybe you are looking for

  • Transfer of Internal table contents to ftp server

    Hi, I have data in one internal table, which needs to transferred to file on ftp server, please tell me how to create file on ftp server, how should i transfer contents of this internal table to file on ftp server. please help me.

  • Trouble with rt2x00usb driver (rt73usb) [SOLVED]

    It used to be perfectly stable, but I believe after the recent kernel update, "kernel26 2.6.32.7-1", I'm seeing stability problems with my rt73usb based wireless adapter.  It usually works fine for a day or so and then I see one of the green lights o

  • BPM synchronous file - soap - file

    Hi Friends, I am working on scenario in which I am going pick up XML file from my system using File adapter and send to partner using SOAP adapter and in response I am going to receive an XML file that I have to store in some folder in my system. Wit

  • Downloaded Firefox it does not show but is open for when I uninstall it I am requested to close ff which cannot be done as it does not show

    After a check on compatibility of Add Ons by FF after opening it, it stopped working. I re installed FF and the same happened. I have FF re installed but now it wont show the start page and when trying to remove FF I am requested to first close FF. t

  • Udo form matrix binding

    Hi, I created one UDO form. in that i am trying to fill the matrix with recordset. becoz i am selecting the value from combobox and i run the query with this value. so this resultant record set i want to fill in matrix rows. oForm = SBO_Application.F