Practise database Oracle 10G

I would like to practise on the same environment/system as my works at home using sql developer.
My works database has around 10GB of data and i believe there are over a couple of hundred tables.
What i would like to do is copy the structure of the tables so that i can import them into my test oracle database at home. If possible i would like to copy not only the database tables but also the first record in every table in order that i can see what data the table holds without having to do a DESC. Therefore i could look at the data in sql developer.
Can anyone instruct me on the best way to achieve my goal.
Any assistance greatly appreciated.

I would like to practise on the same
environment/system as my works at home using sql
developer.
My works database has around 10GB of data and i
believe there are over a couple of hundred tables.
What i would like to do is copy the structure of the
tables so that i can import them into my test oracle
database at home. If you are using SQLDeveloper, then you can use the "Database Export" menu item (Tools -> Database Export) to create a SQL script with the DDL statements of all table structures in it.
Alternatively, you could use the "exp" command with "rows=n" option to create a dump file that contains just the table structures.
...If possible i would like to copy
not only the database tables but also the first
record in every table ...I don't think this will work, it could error out due to foreign key violations.
... in order that i can see what
data the table holds without having to do a DESC.But DESC was never meant to show you the data the table holds anyway.
DESC is meant to show you the table structure, and not the data in it.
Not sure how loading 1 record in each table would help you avoid using DESC.
Therefore i could look at the data in sql developer.
Can anyone instruct me on the best way to achieve my
goal.
If you are trying to get a minimal set of data to work on, then tough luck. You will have to know your data very well to figure out how to extract it that way.
You cannot apply a blanket rule of "where rownum = 1" (which you can actually specify in SQL Developer) and expect all that data to be loaded without foreign key violations.
HTH
isotope

Similar Messages

  • Error on clone database, oracle 10g release 2 for windows server 2008

    Hi,
    OS: Windows Server 2008 X64
    Oracle: oracle 10g release r2 for windows server 2008
    An error occurred when creating a database, stop at last step, Screenshot:
    [http://temp.wsria.com/oracle_create_db.png|http://temp.wsria.com/oracle_create_db.png]
    the trace log content:
    [main] [9:56:35:982] [CommandLineArguments.process:563] CommandLineArguments->process: number of arguments = 32
    [main] [9:56:35:982] [CommandLineArguments.process:738] CommandLineArguments->process: Create Database argument is specified
    [main] [9:56:35:982] [CommandLineArguments.process:910] CommandLineArguments->process: template Name argument is specified
    [main] [9:56:35:982] [CommandLineArguments.process:960] CommandLineArguments->process: db name argument is specified
    [main] [9:56:35:982] [CommandLineArguments.process:3074] CommandLineArguments->process: in Operation Type is Creation/GenerateScripts Mode condition
    [main] [9:56:35:997] [CommandLineArguments.process:3298] CommandLineArguments->process: Successfully process command line arguments
    [main] [9:56:36:668] [Host.checkOPS:2055] Inside checkOPS
    [main] [9:56:36:668] [Host.checkOPS:2067] Trying to check cluster existence
    [main] [9:56:36:715] [Library.getInstance:97] Created instance of Library.
    [main] [9:56:36:715] [Library.load:197] Loading orauts.dll...
    [main] [9:56:36:715] [Library.load:203] oracleHome D:\oracle\product\10.2.0\db_1
    [main] [9:56:36:715] [sPlatform.isHybrid:63] osName=Windows Vista osArch=amd64 rc=false
    [main] [9:56:36:715] [Library.load:223] Loading library D:\oracle\product\10.2.0\db_1\bin\orauts.dll
    [main] [9:56:36:715] [Library.load:247] Loaded library D:\oracle\product\10.2.0\db_1\bin\orauts.dll from path=
    D:\oracle\product\10.2.0\db_1\bin
    [main] [9:56:36:715] [Library.load:197] Loading MSVCRT.dll...
    [main] [9:56:36:715] [Library.load:203] oracleHome D:\oracle\product\10.2.0\db_1
    [main] [9:56:36:715] [sPlatform.isHybrid:63] osName=Windows Vista osArch=amd64 rc=false
    [main] [9:56:36:715] [Library.load:223] Loading library D:\oracle\product\10.2.0\db_1\bin\MSVCRT.dll
    [main] [9:56:36:731] [Library.load:247] Loaded library D:\oracle\product\10.2.0\db_1\bin\MSVCRT.dll from path=
    D:\oracle\product\10.2.0\db_1\bin
    [main] [9:56:36:731] [Library.load:197] Loading orawsec10.dll...
    [main] [9:56:36:731] [Library.load:203] oracleHome D:\oracle\product\10.2.0\db_1
    [main] [9:56:36:731] [sPlatform.isHybrid:63] osName=Windows Vista osArch=amd64 rc=false
    [main] [9:56:36:731] [Library.load:223] Loading library D:\oracle\product\10.2.0\db_1\bin\orawsec10.dll
    [main] [9:56:36:731] [Library.load:247] Loaded library D:\oracle\product\10.2.0\db_1\bin\orawsec10.dll from path=
    D:\oracle\product\10.2.0\db_1\bin
    [main] [9:56:36:731] [Library.load:197] Loading orasrvm10.dll...
    [main] [9:56:36:731] [Library.load:203] oracleHome D:\oracle\product\10.2.0\db_1
    [main] [9:56:36:731] [sPlatform.isHybrid:63] osName=Windows Vista osArch=amd64 rc=false
    [main] [9:56:36:731] [Library.load:223] Loading library D:\oracle\product\10.2.0\db_1\bin\orasrvm10.dll
    [main] [9:56:36:731] [Library.load:247] Loaded library D:\oracle\product\10.2.0\db_1\bin\orasrvm10.dll from path=
    D:\oracle\product\10.2.0\db_1\bin
    [main] [9:56:36:731] [Version.isPre10i:189] isPre10i.java: Returning FALSE
    [main] [9:56:36:731] [WindowsSystem.regKeyExists:1006] WindowsSystem.regKeyExists: mainkey= HKEY_LOCAL_MACHINE subkey = Software\Oracle\Ocr
    [main] [9:56:36:746] [WindowsSystem.getCSSConfigType:1163] configType=null
    [main] [9:56:36:746] [Host.checkOPS:2073] cluster existence:false
    [main] [9:56:36:746] [Host.checkOPS:2111] Cluster installed=false
    [main] [9:56:36:902] [InitParamHandler.endElement:506] CustomSGA flag: false
    [main] [9:56:36:902] [InitParamHandler.endElement:507] Database Type: MULTIPURPOSE
    [main] [9:56:36:918] [InitParamHandler.endElement:508] Mem Percentage: 40
    [main] [9:56:36:918] [InitParamHandler.endElement:526] distributing Memory: 13737443328
    [main] [9:56:36:918] [MemoryCalculator.calculateMemory:122] Setting SGA to MAX_SGA 1610612736
    [main] [9:56:36:918] [StorageAttributes.setAttribute:232] IN threadID:1 group#=1
    [main] [9:56:36:918] [StorageAttributes.setAttribute:232] IN threadID:1 group#=2
    [main] [9:56:36:918] [StorageAttributes.setAttribute:241] Current threadID=1
    [main] [9:56:36:918] [StorageAttributes.setAttribute:248] Current threadID=1 ==> redoGroups[0]=1
    [main] [9:56:36:918] [StorageAttributes.setAttribute:258] vRedoGroups:[1]
    [main] [9:56:36:918] [StorageAttributes.setAttribute:288] setAttribute: bExists=false
    [main] [9:56:36:918] [StorageAttributes.setAttribute:232] IN threadID:1 group#=3
    [main] [9:56:36:918] [StorageAttributes.setAttribute:241] Current threadID=1
    [main] [9:56:36:918] [StorageAttributes.setAttribute:248] Current threadID=1 ==> redoGroups[0]=1
    [main] [9:56:36:918] [StorageAttributes.setAttribute:248] Current threadID=1 ==> redoGroups[1]=2
    [main] [9:56:36:918] [StorageAttributes.setAttribute:258] vRedoGroups:[1, 2]
    [main] [9:56:36:933] [StorageAttributes.setAttribute:288] setAttribute: bExists=false
    [main] [9:56:36:933] [TemplateManager.parseCloneTemplate:1477] See for any transportable datafiles in TemplateManager.....
    [main] [9:56:36:933] [TemplateManager.isInstallTemplate:2178] Selected Template by user:=General Purpose
    [main] [9:56:36:933] [TemplateManager.isInstallTemplate:2185] The Message Id to be searched:=GENERAL_PURPOSE
    [main] [9:56:36:933] [TemplateManager.parseCloneTemplate:1489] create new clone data file for tp file.......
    [main] [9:56:36:933] [Host.setupOIDCommandlineParameters:7184] setupOIDCommandlineParameters:
    [main] [9:56:36:933] [Host.setupOIDCommandlineParameters:7185] m_regWithdirService: false
    [main] [9:56:36:933] [Host.setupOIDCommandlineParameters:7186] m_unregWithdirService: false
    [main] [9:56:36:933] [Host.setupOIDCommandlineParameters:7187] m_updateDirService: false
    [main] [9:56:36:933] [Verifier.processRawConfigFile:3523] StorageType == 0
    [main] [9:56:36:933] [Verifier.setOradataDest:4349] setOradataDest:dfDest=D:\oracle\product\10.2.0\oradata
    [main] [9:56:36:933] [TemplateManager.updateDatafileDestination:1957] updateDatafiles:datafileDir=D:\oracle\product\10.2.0\oradata
    [main] [9:56:36:933] [TemplateManager.updateDatafileDestination:2103] From template, RedoLogGrName=1
    [main] [9:56:36:965] [TemplateManager.updateDatafileDestination:2118] new file name redo01.log
    [main] [9:56:36:965] [TemplateManager.updateDatafileDestination:2103] From template, RedoLogGrName=2
    [main] [9:56:36:965] [TemplateManager.updateDatafileDestination:2118] new file name redo02.log
    [main] [9:56:36:965] [TemplateManager.updateDatafileDestination:2103] From template, RedoLogGrName=3
    [main] [9:56:36:965] [TemplateManager.updateDatafileDestination:2118] new file name redo03.log
    [main] [9:56:36:965] [ProgressOnlyHost.performOperation:162] processRawConfigFile=false
    [main] [9:56:36:965] [Verifier.validateTemplate:1629] StorageType == 0
    [main] [9:56:36:965] [ProgressOnlyHost.performOperation:178] validateTemplate=true
    [main] [9:56:36:965] [OracleHome.isRacEnabled:149] bRacOn = false
    [main] [9:56:36:980] [Verifier.validateTemplate:1629] StorageType == 0
    [main] [9:56:36:980] [Verifier.calculateCloneDatafilePathsAndSizes:2951] canonicalPath=D:\oracle\product\10.2.0\
    [main] [9:56:36:980] [Verifier.calculateCloneDatafilePathsAndSizes:2951] canonicalPath=D:\oracle\product\10.2.0\
    [main] [9:56:36:980] [Verifier.calculateCloneDatafilePathsAndSizes:2951] canonicalPath=D:\oracle\product\10.2.0\
    [main] [9:56:36:980] [Verifier.calculateCloneDatafilePathsAndSizes:2951] canonicalPath=D:\oracle\product\10.2.0\
    [main] [9:56:36:980] [Verifier.calculateCloneDatafilePathsAndSizes:2951] canonicalPath=D:\oracle\product\10.2.0\
    [main] [9:56:36:980] [Verifier.calculateRedoLogGroupFileSizes:3083] canonicalPath=D:\oracle\product\10.2.0\
    [main] [9:56:36:980] [Verifier.calculateRedoLogGroupFileSizes:3083] canonicalPath=D:\oracle\product\10.2.0\
    [main] [9:56:36:980] [Verifier.calculateRedoLogGroupFileSizes:3083] canonicalPath=D:\oracle\product\10.2.0\
    [main] [9:56:36:980] [Verifier.getControlfFileSizes:3001] No. of Control files:=3
    [main] [9:56:37:105] [Host.executeSteps:4044] Executing steps....
    [main] [9:56:37:105] [Host.setUpForOperation:2920] setUpForOperation: Mode = 128
    [main] [9:56:37:121] [Host.executeSteps:4186] setupForOperation returned: true
    [main] [9:56:37:121] [Host.createStepSQLInterface:5948] sid =ora10g
    [main] [9:56:37:136] [SQLEngine.initialize:242] Execing SQLPLUS/SVRMGR process...
    [main] [9:56:37:136] [SQLEngine.initialize:270] m_bReaderStarted: false
    [main] [9:56:37:136] [SQLEngine.initialize:274] Starting Reader Thread...
    [Thread-4] [9:56:37:355] [StepContext$ModeRunner.run:2478] ---- Progress Needed:=true
    [Thread-4] [9:56:37:464] [BasicStep.execute:202] Executing Step : CLONE_DB_CREATION_RMAN_RESTORE
    [Thread-4] [9:56:37:464] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-01092
    [Thread-4] [9:56:37:464] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-01034
    [Thread-4] [9:56:37:464] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-03114
    [Thread-4] [9:56:37:464] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-12560
    [Thread-4] [9:56:37:464] [StepErrorHandler.setIgnorableErrors:250] setting Ignorable Error: ORA-01109
    [Thread-4] [9:56:37:464] [BasicStep.configureSettings:304] messageHandler being set=null
    [Thread-4] [9:56:37:464] [BasicStep.execute:202] Executing Step : INSTANCE_CREATION
    [Thread-4] [9:56:37:464] [BasicStep.configureSettings:304] messageHandler being set=null
    [Thread-4] [9:56:37:479] [InitParamAttributes.sortParams:3532] m_sortOn:-1 sortOn:4
    [Thread-4] [9:56:37:620] [OracleHome.isRacEnabled:149] bRacOn = false
    [Thread-4] [9:56:37:667] [Host.noEntryinOratab:5115] Check made for oratab arg passed............
    [Thread-4] [9:56:37:667] [Oradim.getAddEntryCommand:353] AddEntry=[D:\oracle\product\10.2.0\db_1\bin\oradim.exe, -new, -sid, ORA10G, -startmode, manual, -spfile]
    [Thread-4] [9:56:38:899] [Oradim.getEditEntryCommand:422] getEditEntry cmd=[D:\oracle\product\10.2.0\db_1\bin\oradim.exe, -edit, -sid, ORA10G, -startmode, auto, -srvcstart, system]
    [Thread-4] [9:56:39:55] [Oradim.addSidToRegistry:871] oracleHomeKey: SOFTWARE\ORACLE\KEY_OraDb10g_home1
    [Thread-4] [9:56:39:117] [BasicStep.configureSettings:304] messageHandler being set=oracle.sysman.assistants.util.UIMessageHandler@c73f0d8
    [Thread-4] [9:56:39:117] [CloneRmanRestoreStep.executeImpl:217] Instance Creation went fine..........
    [Thread-4] [9:56:39:117] [CloneRmanRestoreStep.executeImpl:224] db_recovery_file_dest=D:\oracle\product\10.2.0\flash_recovery_area
    [Thread-4] [9:56:39:117] [CloneRmanRestoreStep.executeImpl:227] db_recovery_file_dest_size=2147483648
    [Thread-4] [9:56:39:991] [SQLEngine.setSpool:1750] old Spool = null
    [Thread-4] [9:56:39:991] [SQLEngine.setSpool:1751] Setting Spool = D:\oracle\product\10.2.0\db_1\cfgtoollogs\dbca\ora10g\CloneRmanRestore.log
    [Thread-4] [9:56:39:991] [SQLEngine.setSpool:1752] Is spool appendable? --> true
    [Thread-4] [9:56:39:991] [CloneRmanRestoreStep.executeImpl:320] starting with pfile=D:\oracle\product\10.2.0\admin\ora10g\pfile\init.ora

    Check your SQLNET.AUTHENTICATION_SERVICES settings in sqlnet.ora file.
    ORA-28547 : Connection to server failed, probable Net8 admin error
    thanks
    http://swervedba.wordpress.com/

  • Creating database oracle 10g express edition

    1. can we create more than one database in oracle 10g express edition?
    2. can we rename database name default "XE" in Oracle 10g express edition?

    >
    1. can we create more than one database in oracle 10g express edition?
    >
    No you cannot.
    http://download.oracle.com/docs/cd/B25329_01/doc/install.102/b25144/toc.htm
    >
    3.2 Oracle Database XE Installation and Execution Restrictions
    <li>On a single computer, only one installation of the Oracle Database XE software can be performed.</li>
    <li>In addition, users can run only one instance of the Oracle Database XE database on each individual computer.</li>
    To run more than one Oracle Database server instance or install more than one copy of the database software, upgrade to Oracle Database 10g Standard Edition, Oracle Database 10g Standard Edition One, or Oracle Database 10g Enterprise Edition.
    >
    >
    2. can we rename database name default "XE" in Oracle 10g express edition?
    >
    Yes you can. Please see the link below for details.
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:963124000346653522
    XE questions are best answered here {forum:id=251}
    Regards,
    Phiri

  • Import Database Oracle 10g

    Hello.
    i am new in Oracle...
    i have database file which i have to import in oracle 10g. please tell me step wise, i will be thankful to you.
    Thanks.
    Regards.

    Hi,
    Consider the documentation for Oracle 10g:
    http://www.oracle.com/pls/db102/homepage
    Also please post Oracle source and destination version. Whether regular export/import or datapump is used ?
    Regards,
    Sve

  • Designer 6i / Database Oracle 10G / Metadata on Oracle 9. Is that possible?

    Dear all,
    Please give me a suggestion here! We have the Developer tools 6i and will want to bring a new Oracle 10G database into Designer 6i and the metadata to be stored in 9i database. Please let me know if this is possible or should we go for higher versions of Designer.
    Cheers
    Sarma.

    Sarma,
    I assume you want to install Des6i in a 9i database: that's possible.
    Then you want to capture the database(definitions) from a 10g database into that Des6i version: also that's possible.
    But I think it is not a supported combination...
    HTH
    Roel

  • Physical Standby database Oracle 10g Standard Edition

    Hello,
    I open a new question about testing a standby database a because of this:
    I realize that my standby database is 10g Standard and not Enterprise and not 11g.
    Because for testing we plan to modify data on Standby, we are looking for some way to restore Standby to the point before testing.
    So, I can't use Flashback Recovery Area for restoring my database to a certain point after testing.
    In this scenario, the only way that I think is:
    On Standby
    - Shutdown database
    - Copy by O/S all datafiles, temp files, control files and redo logs. That will be my backup before testing.
    - Open database, test and modify data
    - When test is finished, shutdown database
    - Copy and replace by O/S all datafiles, temp files, control files and redo logs from backup place
    - Open database as standby and apply all archived redo logs needed.
    Would be it work without problem or should I copy other files?

    user521219 wrote:
    Hello,
    I open a new question about testing a standby database a because of this:
    I realize that my standby database is 10g Standard and not Enterprise and not 11g.
    Because for testing we plan to modify data on Standby, we are looking for some way to restore Standby to the point before testing.
    So, I can't use Flashback Recovery Area for restoring my database to a certain point after testing.
    In this scenario, the only way that I think is:
    On Standby
    - Shutdown database
    - Copy by O/S all datafiles, temp files, control files and redo logs. That will be my backup before testing.
    - Open database, test and modify data
    - When test is finished, shutdown database
    - Copy and replace by O/S all datafiles, temp files, control files and redo logs from backup place
    - Open database as standby and apply all archived redo logs needed.
    Would be it work without problem or should I copy other files?yes, It will work.
    it comes under Refresh of database, use --> cleanup --> restore.
    If its enterprise edition , you can use procedure mentioned in this note How To Open Physical Standby For Read Write Testing and Flashback [ID 805438.1]
    Edited by: CKPT on Jul 5, 2012 11:01 PM

  • Activate 3Gb option in Windows Database Oracle 10g

    Hi
    We are facing ORA 4030 -  Oracle Out of memory issues after upgrade to Oracle 10.2.0.4 (32 Bit Machine).
    We want to activate the 3GB option in Windows by adding /3GB at the end of boot.ini file.
    We will make sure to take the backup of boot.ini file.
    But
    One of the prerequisite is
    An additional prerequisite for using 3GB of address space is a corresponding indicator in the header of the executable. You use this indicator to signal to NT that the application (ORACLE.EXE) can work with
    3GB of address space. If this indicator is not set, this means that only 2GB is available to the application, even though you are using the 3GB option and the NT Enterprise Edition.
    1. How can we put the corresponding indicator in the header of the executable?
    2. And in which Executable?
    Much appreciate the response..
    Regards

    Hello Rajesh,
    you don't havt to changa any executable.
    You just have to add the entries /PAE /3GB to your boot.ini.
    The user account under which Oracle Database runs (SAPSERVICESID), must have the "Lock memory pages" Windows 2000 and Windows XP privilege.
    USE_INDIRECT_DATA_BUFFERS=TRUE must be present in the initialization parameter file for the database instance that will use VLM support. If this parameter is not set, then Oracle Database 10g Release 1 (10.1) or later behaves in exactly the same way as previous releases.
    Initialization parameters DB_BLOCK_BUFFERS and DB_BLOCK_SIZE must be set to values you have chosen for Oracle Database.
    Dynamic SGA and multiple block size are not supported with VLM. When VLM is enabled, the following new buffer cache parameters are not supported:
       DB_CACHE_SIZE
       DB_2K_CACHE_SIZE
       DB_4K_CACHE_SIZE
       DB_8K_CACHE_SIZE
       DB_16K_CACHE_SIZE
       DB_32K_CACHE_SIZE
    To select the block size for the instance, use the initialization parameter DB_BLOCK_SIZE. The buffer cache size is set by the initialization parameter DB_BLOCK_BUFFERS.
    Registry parameter AWE_WINDOW_MEMORY must be created and set in the appropriate key for your Oracle home. This parameter is specified in bytes and has a default value of 1 GB. AWE_WINDOW_MEMORY tells Oracle Database how much of its 3 GB address space to reserve for mapping in database buffers.
    This memory comes from the 3 GB virtual address space in Oracle Database, so its value must be less than 3 GB. Setting this parameter to a large value has the effect of using more of the address space for buffers and using less AWE memory for buffers. However, since accessing AWE buffers is somewhat slower than accessing virtual address space buffers, Oracle recommends that you tune these parameters to be as large as possible without adversely limiting database operations.
    In general, the higher AWE_WINDOW_MEMORY is set, the fewer connections and memory allocations will be possible for Oracle Database. The lower AWE_WINDOW_MEMORY is set, the lower the performance.
    Once this parameter is set, Oracle Database can be started and will function exactly the same as before except that more database buffers are available to the instance. In addition, disk I/O may be reduced because more Oracle Database data blocks can be cached in the System Global Area (SGA).
    For more details please see ...
    SAP Note 441663 - USING > 3 GB of memory for Oracle on WINDOWS platforms
    or
    http://download.oracle.com/docs/cd/B19306_01/win.102/b14304/architec.htm#i1005826
    Regards
    Sascha

  • How to connect database(oracle 10g) and retreive values using poral 10

    can anyone help me how to connect to database and retreive values in detail and also please post the sample code if u have any.

    Hello
    Thanks for your reply
    I tried to connect and here is the result: see below
    [oracle@ebstailin 11.1.0]$ sqlplus / as sysdba
    SQL*Plus: Release 11.1.0.7.0 - Production on Sat Jul 17 15:35:31 2010
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> CONNECT apps/apps
    Connected.
    SQL>
    But still cannot connect using ORACLE SQL Developer
    thanks

  • How to stop and cancel physical standby database (ORACLE 10g)

    Dear All,
    I have physical standby setup and I want stopped for the time being that to use the database as an normal DB (standalone inestance).
    Kindly advise and show me how do I do that.
    Regards,

    executing below query on primary db stops log shipping to standby.......i think this is sufficient for disabling your physical standby setup temporary
    alter system set log_archive_dest_state_2=defer scope=both;
    In future if you want your dataguard setup back..............you can rebuild the standby and enable the log_archive_dest_state_2 parameter.
    Edited by: Veeresh.S on Nov 14, 2012 5:45 PM

  • Show tables with high I/O in database oracle 10g

    I need to know which are the tables with high daily transactions
    how to identify them?

    I need to know which are the tables with high daily transactions
    how to identify them?.
    How* is anyone supposed to help when we don't know
    a) Oracle version?
    and
    b) Operating System?
    Take a look at DBA_TAB_MODIFCATIONS
    and DBA_HIST_SEG_STAT (all of the DBA_HIST stuff if you have it).
    Try and post more detail in future.
    Paul...

  • Dbconsole is not running of a colon production database oracle 10g R2

    Dear all
    I have clone my production database on a testdb machine. database is fine and working but dbconsole is not working.
    Plz Help me.
    Thanks

    EM will stop working if either the IP address or the hostname changes, in your case, since you have performed a cloning operation to a test host, both have changed. So you will have to rebuild and reconfigure your console.
    Make sure the target host has a fixed IP Address, and issue these commands:
    export oracle_sid=YourInstanceName
    emctl stop dbconsole
    emca -deconfig dbcontrol db
    emca -repos recreate
    emca -config dbcontrol db
    ~ Madrid
    http://hrivera99.blogspot.com/

  • Migration of Database oracle 10g from solaris to linux

    Hi,
    I need to migrate a DB from solaris to linux without shutdown the solaris DB.I would like to know the backup using RMAN Transportable tablespace in solaris and migrate it to dest(Linux).
    Kindly share ur ideas

    I need to migrate a DB from solaris to linux without shutdown the solaris DB.I would like to know the backup using RMAN Transportable tablespace in solaris and migrate it to dest(Linux).
    Kindly share ur ideasIt is very much possible. In fact I transfered DB from sunos to Windows. But this is not a backup process using RMAN. RMAN is used to change the endianness of datafile so that it is in format which is required by Windows format. This transfer is possible using the data pump utility(IMPDP). There are many threads on the forum for this topic. Seek help from other threads.
    Regards
    Virendra

  • Setup E-mail notification in Oracle 10g Database

    Friends ,
    I want to set E-mail notification in my Database(Oracle 10g Database) . So that If any major issues are occured , then a mail is recieved in my mailbox .
    I set the mail server gateway address (like server.xyz.com as well as IP '74.52.97.226' of mail server) , but it cannot recognize the server . But I can ping that server easily .
    When I press "Test Mail Server" then it shows the error :
    "74.52.97.226: Test failed with message: "Could not connect to SMTP host: 74.52.97.226, port: 25; nested exception is: java.net.SocketException: Software caused connection abort: connect"
    Now plz tell me, How can I set the E-mail Notification in my database ?

    E-mail notification has been made more easy in 10g bu the in troduction of UTL_MAIL
    refer to [http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/u_mail.htm#ARPLS384]
    [http://download.oracle.com/docs/cd/B19306_01/server.102/b25166/cfrulset.htm#BABFIEEI]
    [http://vasudevank.blog.co.in/2008/09/02/oracle-utl_mail/]
    HTH
    Anand

  • Connetion of BI 7.0 to external oracle 10G R2 database system

    Dear Experts,
    We have BI 7.0 system with MS SQL server as database and we want to
    connect it to database Oracle 10G R2.For that we followed the following
    procedure.
    1) In order to connect to the enterprise database, Oracle 10gR2 client
    (runtime option should be fine) needs to be installed (you need admin
    rights) on the machine where the connection is requested. -->We have
    installed it.
    2) You should make sure that Database server is reachable from the BI
    SAP machine (ping, telnet, traceroute, etc).--> The tnsping is reaching
    the database host.
    3) Then a TNS connection name needs to be created --> We have created
    the same.
    Now after doing the above activities when we tried to create
    sourcesystem in RSA1 we got the error as :
    Cannot acces source system <External_dbname>
    In the system log it is giving error as :
    Database error 12154 at CON
    ORA-12154: TNS:could not resolve the connect identifier
    The Tnsnames.ora,Listener.ora and sqlnet.ora files are as follows:
    <TNSNAMES.ORA>
    tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\client_2\network\admin\tnsnames.ora
    Generated by Oracle configuration tools.
    ENTPRD =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 10.190.0.174)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = entprd)
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
    <TNSNAMES.ORA>----
    <LISTENER.ORA>
    listener.ora Network Configuration File: C:\oracle\product\10.2.0\client_2\network\admin\listener.ora
    Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = C:\oracle\product\10.2.0\client_2)
          (PROGRAM = extproc)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = EIMREYMDD0.eimskip.net)(PORT = 1521))
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    <LISTENER.ORA>----
    <SQLNET.ORA>
    This file is actually generated by netca. But if customers choose to
    install "Software Only", this file wont exist and without the native
    authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    <SQLNET.ORA>----

    Dear Experts,
    We have BI 7.0 system with MS SQL server as database and we want to
    connect it to database Oracle 10G R2.For that we followed the following
    procedure.
    1) In order to connect to the enterprise database, Oracle 10gR2 client
    (runtime option should be fine) needs to be installed (you need admin
    rights) on the machine where the connection is requested. -->We have
    installed it.
    2) You should make sure that Database server is reachable from the BI
    SAP machine (ping, telnet, traceroute, etc).--> The tnsping is reaching
    the database host.
    3) Then a TNS connection name needs to be created --> We have created
    the same.
    Now after doing the above activities when we tried to create
    sourcesystem in RSA1 we got the error as :
    Cannot acces source system <External_dbname>
    In the system log it is giving error as :
    Database error 12154 at CON
    ORA-12154: TNS:could not resolve the connect identifier
    The Tnsnames.ora,Listener.ora and sqlnet.ora files are as follows:
    <TNSNAMES.ORA>
    tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\client_2\network\admin\tnsnames.ora
    Generated by Oracle configuration tools.
    ENTPRD =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 10.190.0.174)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = entprd)
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
    <TNSNAMES.ORA>----
    <LISTENER.ORA>
    listener.ora Network Configuration File: C:\oracle\product\10.2.0\client_2\network\admin\listener.ora
    Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = C:\oracle\product\10.2.0\client_2)
          (PROGRAM = extproc)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = EIMREYMDD0.eimskip.net)(PORT = 1521))
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    <LISTENER.ORA>----
    <SQLNET.ORA>
    This file is actually generated by netca. But if customers choose to
    install "Software Only", this file wont exist and without the native
    authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    <SQLNET.ORA>----

  • Need help, implementing streams between oracle 10g databases

    Hello all.
    Please help me, and give me instruction if any body implement streams between databases (Oracle 10g)
    I have implemented streams between schema table on (10g) and result was success.
    Firstly I want to know some thing, such as:
    1) Is it possible make streams with conditions, (make only DML or DDL i know) but make DML and not DELETE operation, just INSERT and UPDATE operations on the table?
    2) After changes was applied on target database, can I delete that records which copied (replicated) on source database?
    I have 2 databases and one of them is for archive purpose (I want use it as target database for streams). Other one is PROD database, applications make DML operation.
    I) record insert with null status
    II) processing (status 1)
    III) if success (status 2) unsuccess (status 3)
    For now, I have cron script on (Linux host) and in this script has PLSQL anonymous block and it works couple times during the day. This script works as archive.
    My task is: Make it via Oracle streams.
    Thank you beforehand.

    For conditions on the type of operation (Insert) check in the doc after apply handler and you can associate what ever code and conditions you want. You can also choose to work with a subset rules but there are some restriction as no lobs :
    [http://download.oracle.com/docs/cd/B28359_01/server.111/b28321/strms_rules.htm#insertedID7|http://download.oracle.com/docs/cd/B28359_01/server.111/b28321/strms_rules.htm#insertedID7]
    For a complete list of the restrictions :
    [http://download.oracle.com/docs/cd/B28359_01/server.111/b28321/ap_restrictions.htm#i1012965|http://download.oracle.com/docs/cd/B28359_01/server.111/b28321/ap_restrictions.htm#i1012965]

Maybe you are looking for

  • Open and Closing of Posting Periods in FI

    Is it possible to open/close periods in FI per account? I'm using SAP ECC 6.0 Moderator: Please, avoid asking basic questions

  • How to install Intervideo 5 on a Qosmio G30

    Hi, I have lost my recovery disc and now all my drivers have gone and i was wondering if there is anyway to get intervideo back without paying for it. Someone help please, will be very grateful!

  • Garbage collector don't works.

    Hello people ! When I restart the weblogic server this do not shows the lastest change that I made. I think the problem is related to the garbage collector and its bean tree. Do you known how to solve this? Thank you. Regards.

  • Error when configuring the MDK  Plug-in Information

    After configuring the MDK Plug-in in Eclipse, I press "Test Settings" and the Mobile Engine is not started.  Three things happen: <b>1)</b> I receive an error: <i>"Cannot find the file '-classpath' (or one of its components).  Make sure the path and

  • Document type for stock transport order

    Dear all; I have created one new purchase order document type for stock franport order from UB and given to a separate name ZUB ,but the at the time of creating one stock transport order the condition tab page is missing both in the header level and