Updating more than one database...

I am looking at a scenario were we, each time a change is made to several different caches, needs to update both a legacy database (main frame, non-relational = actually hierarchical) that are used by several large batch applications (that will be converted one by one over time to use the application built on top of the cache) as well as a new database (modern hardware & OS, relational, organized in a quite different way than the legacy database!).
     The sync requirements are:
     * It is REALLY bad if only one database get updated but not the other!
     * The legacy database can be about 5 minutes behind the cache
     * The new database is only used for making the cache persistent (it is fully loaded to cache at system startup) and has really no requirement at all on how much behind the cache it can be as long as data is never lost (we will use backup count = 1).
     Updating the legacy database is NOT straight-forward and will require some data transformations to be performed. They can either be done in the legacy system (if we send the change info using some safe messaging for instance) or in the new environment if we want to update the old database directly.
     A factor complicating things further is that the legacy system have some consistency requirements on the data (in particular when creating new objects that has relationships to each other, you may think about order / order row even if this is not the kind of application we have in mind).
     For performance reasons (and since it seem from another thread that partial writes is a bigger problem with write through) we would probably like to use write behind to update the new database.
     Anybody who have some experience of similar situations and can give some suggestions on how to best go about it?
     Best Regards
     Magnus

I may also add that our current thinking is to use a "write beside" pattern for the legacy system and a write-behind pattern for the cache to update the new database. An XA transaction will then be used to make sure that both or neither the old system and the cache gets updated. Does this sound like a reasonable solution?
     Best Regards
     Magnus

Similar Messages

  • How can i update more than one table at a time?

    i would like to update more than one table at a time. In Java Studio creator2 how can i do table updation?

    Hi,
    Please go through the below thread might be of help to you.
    http://forum.sun.com/jive/thread.jspa?forumID=123&threadID=51839
    RK

  • Can I use more than one database connections in a jdeveloper project?

    I use jdeveloper version 9.0.4.0 (build 1407),Can I use more than one database connections in one jdeveloper project?

    9.0.4 is a fairly old version, so you may only find a few people who know how it worked.
    Assuming you're using ADF BC, once known as BC4J, once know as JBO, in the project, and that the architecture hasn't changed much, then the answer is only 1 connection per project.
    Programmatically you're free to use as many connections via JEE as you see fit, but ADF BC is limited to one connection.
    CM.

  • How can i use Itunes to update more than one IPad with more than one owner

    How can i use Itunes to update more than one IPad with more than one owner?  I own an IPad and my wife owns an IPad.  I want to use my system to update both IPads.  We have different Apple Accounts and different applications.  Is this possible?

    Of course, that is too easy.  I am such a bonehead.

  • How to backup more than one database using powershell

    I am Trying to backup more than one database using the following script but no luck. I want user to type on command line the database they want to backup, e.g all databases that have "test" at the front like test.inventory, test.sales so i want
    user to type test.* and it backs up all databases related to test. Here is the script
        #$date = Get-Date -Format yyyyMMddHHmmss
        #$dbname = 'test.inventory'
        $dbToBackup = "test.inventory"
        cls
        [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SMO") | Out-Null
        [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SmoExtended") | 
        Out-Null
        [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.ConnectionInfo") 
        | Out-Null
        [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SmoEnum") | Out-
        Null
        Add-Type -AssemblyName "Microsoft.SqlServer.Smo, Version=10.0.0.0, Culture=neutral,   
        PublicKeyToken=89845dcd8080cc91"
        $server = New-Object Microsoft.SqlServer.Management.Smo.Server($env:ComputerName) 
        $server.Properties["BackupDirectory"].Value = "C:\_DBbackups"
        $server.Alter()
        $backupDirectory = $server.Settings.BackupDirectory
        #display default backup directory
        "Default Backup Directory: " + $backupDirectory
        $db = $server.Databases[$dbToBackup]
        $dbName = $db.Name
        $timestamp = Get-Date -format yyyyMMddHHmmss
        $smoBackup = New-Object ("Microsoft.SqlServer.Management.Smo.Backup")
        #BackupActionType specifies the type of backup.
        #Options are Database, Files, Log
        #This belongs in Microsoft.SqlServer.SmoExtended assembly
        $smoBackup.Action = "Database"
        $smoBackup.BackupSetDescription = "Full Backup of " + $dbName
        $smoBackup.BackupSetName = $dbName + " Backup"
        $smoBackup.Database = $dbName
        $smoBackup.MediaDescription = "Disk"
        $smoBackup.Devices.AddDevice($backupDirectory + "\" + $dbName + "_" + $timestamp +   
        ".bak", "File")
        $smoBackup.SqlBackup($server)
        #let's confirm, let's list list all backup files
        $directory = Get-ChildItem $backupDirectory
        $backupFilesList = $directory | where {$_.extension -eq ".bak"}
        $backupFilesList | Format-Table Name, LastWriteTime

    Or i am using this script which backs up everything except tempdb but dont know how to modify this so that it backs up up all test related databases
    Is there a way that i use test.*
    [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SMO") | out-null
    $s = new-object ("Microsoft.SqlServer.Management.Smo.Server") $instance
    $bkdir = "C:\_DBbackups" #We define the folder path as a variable 
    $dbs = $s.Databases
    foreach ($db in $dbs) 
         if($db.Name -ne "tempdb") #We don't want to backup the tempdb database 
         $dbname = $db.Name
         $dt = get-date -format yyyyMMddHHmm #We use this to create a file name based on the timestamp
         $dbBackup = new-object ("Microsoft.SqlServer.Management.Smo.Backup")
         $dbBackup.Action = "Database"
         $dbBackup.Database = $dbname
         $dbBackup.Devices.AddDevice($bkdir + "\" + $dbname + "_db_" + $dt + ".bak", "File")
         $dbBackup.SqlBackup($s)

  • Can I update more than one iPad and iPhone from the same MacBook pro?

    Can I update more than one iPad and iPhone to ios 5 from the same MacBook pro? Our family has one MacBook pro and several iphones and ipads.  No one wants to lose their iTunes music or contact list or calendars.

    Yes, but you will want to think it through before you do it.
    The computer will become the "master" device, holding the definitive collection of music, photos, contacts, etc., and each iPad or iPhone will get a copy of what's on the computer. So if  everyone has different collections of music or photos that you all want to keep separate from each other, you'll want to set up different accounts on the MacBook Pro. To do that, go into "System Preferences" and click "Users", then click the "+" to create a new account for each person who needs their own set of files.
    That way you can each log in to your own MacBook account before you sync your iPhone or iPad, and everyone has their own copy of iTunes and their own iPhoto. If you happen to plug in an iPhone while logged into someone else's account, you just click "don't sync" (the 1st time only, it will remember after that). Sharing the same files becomes tricky, so this is only the best method if you want to keep things 100% separate.
    On the other hand, if you all have your music and photos mishmashed together on the MacBook anyway or just don't care about keeping things separate, just go ahead and sync your iPhones and iPads without setting up new accounts. But in this case, you should create playlists and photo albums in iTunes and iPhoto. Then plug in an iPhone, click on it's icon in iTunes, and change the settings for Music, Photos, etc to only sync the playlists that you want on that device. Repeat for each one. They'll all remember their own settings, and continue to sync with their designated playlists or albums.
    What you cannot do is use more than one computer with a single iPhone. That will wipe out the music and photos that were on it already, replacing them with the ones on the second computer.

  • VS 2005 CR integrated report connection with more than one database

    Hello,
    I am using VS 2005 to make a reporting application. I am using the Crystal Reports Viewer and I need to know how to integrate the report login information for more than one database. Here is the VB code I have for one connection:
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Partial Class _Default
        Inherits System.Web.UI.Page
        Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
            ConfigureCrystalReports()
        End Sub
        Private Sub ConfigureCrystalReports()
            Dim myConnectionInfo As ConnectionInfo = New ConnectionInfo()
            myConnectionInfo.DatabaseName = ""
            myConnectionInfo.UserID = ""
            myConnectionInfo.Password = ""
            myConnectionInfo.ServerName = ""
            Dim reportPath As String = Server.MapPath("CleaningReport.rpt")
            CrystalReportViewer1.ReportSource = reportPath
            SetDBLogonForReport(myConnectionInfo)
        End Sub
        Private Sub SetDBLogonForReport(ByVal myConnectionInfo As ConnectionInfo)
            Dim myTableLogOnInfos As TableLogOnInfos = CrystalReportViewer1.LogOnInfo
            For Each myTableLogOnInfo As TableLogOnInfo In myTableLogOnInfos
                myTableLogOnInfo.ConnectionInfo = myConnectionInfo
            Next
        End Sub
    End Class
    I am new to visual basic and really appreciate any help.
    Thanks

    Hi Steve,
    Test by creating  one more function ConfigureCrystalReport1() and pass the details for database 2.
    I am not sure there is any sample for this however you can have a look to samples [here|https://www.sdn.sap.com/irj/boc/samples]
    Regards,
    Shweta

  • Xml to Oracle (Update more than one row)

    Hi,
    I want to update more than one row in table from .xml file. My xml file is as follows:
    <ROOT>
    <PROFILE PROFILEMASTER_PKEY="54" DB_MSTR_PKEY="2" PROFILE_NAME="Bhushans" DELIMETER="~" PRE_PROCESSOR="1" POST_PROCESSOR="10" PRE_PROCESSOR_TYPE="1" POST_PROCESSOR_TYPE="2" GROUPID="2" />
    <PROFILEDETAILS PROFILEMASTER_PKEY="54" TARGET_SOURCE_TABLE="FM_FEEDVALIDATION_LU" COLUMN_NAME="FEEDVALIDATION_ID" DATA_TYPE="NUMBER" DATA_SIZE="22" START_POSITION="12" END_POSITION="22" COLUMNORDER="1" PROFILEDETAILS_PKEY="399"/>
    <PROFILEDETAILS PROFILEMASTER_PKEY="54" TARGET_SOURCE_TABLE="FM_FEEDVALIDATION_LU" COLUMN_NAME="CHANGE_TYPE" DATA_TYPE="VARCHAR2" DATA_SIZE="1" START_POSITION="12" END_POSITION="144" COLUMNORDER="5" PROFILEDETAILS_PKEY="403"/>
    <OPTIONS PROFILEMASTER_PKEY ="54" LDR_SYNTX_DTLS_PKEY ="19" OPTIONVALUE="@" PROFILE_CFILE_PKEY="337" />
    <OPTIONS PROFILEMASTER_PKEY ="54" LDR_SYNTX_DTLS_PKEY ="19" OPTIONVALUE="~" PROFILE_CFILE_PKEY="336" />
    </ROOT>
    To update according to xml file, I have written following procedure. My procedure updates the table if u r updating 1 row. If you try to update more than 1 row, I mean .xml file contains more than 1 row then my procedure doesn't work. Please help to solve this problem.
    Procedure:
    create or replace procedure fm_prc_xml_dup_up
    as
    f utl_file.file_type;
    s varchar2(2000);
    v varchar2(3000);
    xml XMLType;
    v_pmpk number;
    v_sdtl_pk number;
    chng_typ VARCHAR2(20);
    type r1 is ref cursor;
    rcur r1;
    v1 varchar2(120);
    v2 number;
    begin
    f := utl_file.fopen('CITI', 'S.XML', 'R');
    loop
    utl_file.get_line(f, s);
    v := v || ' ' || s;
    end loop;
    exception
    when no_data_found then
    utl_file.fclose(f);
    xml := xmltype(v);
    SELECT extract(xml, 'ROOT/CHANGE/@CHANGETYPE').getstringval()
    INTO CHNG_TYP
    FROM DUAL;
    UPDATE FM_PROFILEMAST
    set db_mstr_pkey = extract(xml, 'ROOT/PROFILE/@DB_MSTR_PKEY').getnumberval(),
    profile_name = extract(xml, 'ROOT/PROFILE/@PROFILE_NAME').getstringval(),
    file_type = extract(xml, 'ROOT/PROFILE/@FILE_TYPE').getstringval(),
    delimiter = extract(xml, 'ROOT/PROFILE/@DELIMETER').getstringval(),
    pre_processor = extract(xml, 'ROOT/PROFILE/@PRE_PROCESSOR').getstringval(),
    post_processor = extract(xml, 'ROOT/PROFILE/@POST_PROCESSOR').getstringval(),
    pre_processor_type = extract(xml, 'ROOT/PROFILE/@PRE_PROCESSOR_TYPE').getstringval(),
    post_processor_type = extract(xml, 'ROOT/PROFILE/@POST_PROCESSOR_TYPE').getstringval(),
    groupid = extract(xml, 'ROOT/PROFILE/@GROUPID').getstringval(),
    change_type = 'U',
    change_by = chng_typ,
    change_dt = default,
    active_flag = default
    WHERE profilemaster_pkey = extract(xml, 'ROOT/PROFILE/@PROFILEMASTER_PKEY').getnumberval();
    UPDATE FM_PROFILEDET
    SET target_source_table = extract(xml, 'ROOT/PROFILEDETAILS/@TARGET_SOURCE_TABLE').getstringval(),
    column_name = extract(xml, 'ROOT/PROFILEDETAILS/@COLUMN_NAME').getstringval(),
    data_type = extract(xml, 'ROOT/PROFILEDETAILS/@DATA_TYPE').getstringval(),
    data_size = extract(xml, 'ROOT/PROFILEDETAILS/@DATA_SIZE').getnumberval(),
    start_position = extract(xml, 'ROOT/PROFILEDETAILS/@START_POSITION').getnumberval(),
    end_position = extract(xml, 'ROOT/PROFILEDETAILS/@END_POSITION').getnumberval(),
    change_by = chng_typ,
    change_dt = default,
    columnorder = extract(xml, 'ROOT/PROFILEDETAILS/@COLUMNORDER').getstringval(),
    column_format = extract(xml, 'ROOT/PROFILEDETAILS/@COLUMN_FORMAT').getstringval(),
    nullable = extract(xml, 'ROOT/PROFILEDETAILS/@NULLABLE').getstringval(),
    change_type ='U',
    active_flag = default
    WHERE profiledetails_pkey = extract(xml, 'ROOT/PROFILEDETAILS/@PROFILEDETAILS_PKEY').getstringval();
    UPDATE FM_PROFILE_CFILE
    SET profilemaster_pkey = extract(xml, 'ROOT/PROFILE/@PROFILEMASTER_PKEY').getnumberval(),
    ldr_syntx_dtls_pkey = extract(xml, 'ROOT/OPTIONS/@LDR_SYNTX_DTLS_PKEY').getstringval(),
    val = extract(xml, 'ROOT/OPTIONS/@OPTIONVALUE').getstringval(),
    change_by = chng_typ,
    change_dt = default,
    sub_line_seq = extract(xml, 'ROOT/OPTIONS/@SUB_LINE_SEQ').getstringval(),
    change_type = 'U',
    active_flag = default
    where profile_cfile_pkey = extract(xml, 'ROOT/OPTIONS/@PROFILE_CFILE_PKEY').getnumberval();
    END;

    Hi Bhushan,
    one where clause is missing in the main update.
    update fm_profiledet
    set (....)
    =(select ....)
    where id in (select your profiledetails_pkey from the xml). <--this where clause were missing.
    if xml extracting is too slow(xml very large) then you can create a procedure where exract your data from the xml and then update rows in for loop.
    something like this
    create procedure up_xmls(p_xml xmltype) is
    cursor cur_xml(p_xml xmltype) is
    select ......<--here you extract your xml
    begin
    for r_row in cur_xml(p_xml) loop
    update fm_profiledet set target_source_table=r_row.target_source_table
    where profiledetails_pkey=r_row.profiledetails_pkey;
    end loop;
    end;this should work:
    SQL> drop table fm_profiledet;
    Table dropped.
    SQL> create table fm_profiledet(
      2   profiledetails_pkey number
      3  ,target_source_table varchar2(100)
      4  ,column_name varchar2(100)
      5  ,data_type varchar2(100)
      6  ,data_size number
      7  ,start_position number
      8  ,change_type varchar2(100)
      9  )
    10  /
    Table created.
    SQL>
    SQL>
    SQL> insert into fm_profiledet
      2  values(399,'test','test1','test2',1,2,'A')
      3  /
    1 row created.
    SQL>
    SQL>
    SQL> insert into fm_profiledet
      2  values(403,'test3','test4','test5',3,4,'B')
      3  /
    1 row created.
    SQL> insert into fm_profiledet
      2  values(443,'test3','test4','test5',3,7,'B')
      3  /
    1 row created.
    SQL>
    SQL>
    SQL> select * from fm_profiledet;
    PROFILEDETAILS_PKEY TARGET_SOU COLUMN_NAM DATA_TYPE  DATA_SIZE START_POSITION CHANGE_TYP                               
                    399 test       test1      test2              1              2 A                                        
                    403 test3      test4      test5              3              4 B                                        
                    443 test3      test4      test5              3              7 B                                        
    SQL>
    SQL> create or replace directory xmldir as '/home/ants';
    Directory created.
    SQL>
    SQL>
    SQL>
    SQL> update fm_profiledet fm
      2  set (target_source_table,column_name, data_type, data_size, start_position,change_type)
      3  =(
      4    select  target_source_table
      5          , column_name
      6          , data_type
      7          , data_size
      8          , start_position
      9          , change_type
    10    from(
    11      select
    12        extractValue(value(x),'/PROFILEDETAILS/@PROFILEDETAILS_PKEY') profiledetails_pkey
    13      , extractValue(value(x),'/PROFILEDETAILS/@TARGET_SOURCE_TABLE') target_source_table
    14      , extractValue(value(x),'/PROFILEDETAILS/@COLUMN_NAME') column_name
    15      , extractValue(value(x),'/PROFILEDETAILS/@DATA_TYPE') data_type
    16      , extractValue(value(x),'/PROFILEDETAILS/@DATA_SIZE') data_size
    17      , extractValue(value(x),'/PROFILEDETAILS/@START_POSITION') start_position
    18      ,'U' change_type
    19     from
    20      table(xmlsequence(extract(xmltype(bfilename('XMLDIR','prof.xml')
    21                                      ,nls_charset_id('AL32UTF8'))
    22                               , '/ROOT/PROFILEDETAILS'))) x
    23    ) s
    24  where s.profiledetails_pkey=fm.profiledetails_pkey)
    25  where
    26    fm.profiledetails_pkey in (select
    27        extractValue(value(x),'/PROFILEDETAILS/@PROFILEDETAILS_PKEY') profiledetails_pkey
    28     from
    29      table(xmlsequence(extract(xmltype(bfilename('XMLDIR','prof.xml')
    30                                      ,nls_charset_id('AL32UTF8'))
    31                               , '/ROOT/PROFILEDETAILS'))) x
    32  );
    2 rows updated.
    SQL>
    SQL>
    SQL> select * from fm_profiledet;
    PROFILEDETAILS_PKEY TARGET_SOU COLUMN_NAM DATA_TYPE  DATA_SIZE START_POSITION CHANGE_TYP                               
                    399 FM_FEEDVAL FEEDVALIDA NUMBER            22             12 U                                        
                        IDATION_LU TION_ID                                                                                 
                    403 FM_FEEDVAL CHANGE_TYP VARCHAR2           1             12 U                                        
                        IDATION_LU E                                                                                       
                    443 test3      test4      test5              3              7 B                                        
    SQL> spool off;Ants
    Message was edited by:
    Ants Hindpere

  • More than one database driver has been used

    Hi everyone, I just want to link 2 tables, one in Oracle and the second is in Access, is this possible? Please help, tahnks a lot.
    I got this message:
    "More than one database driver has been used in this report. If you want to change the database drivers use Database/Set Location.
    Please make sure that no SQL Expression is added and no server-side group-by is performed"
    This is the query generated:
    SELECT "A"."Field_in_A"
    FROM   "OracleDB"."A" "A"
    SELECT `B`.`Field_in_B`
    FROM   `AccessDB` `B`

    The above suggestions are good. You might also consider using a link table from MS Access to have the linking done right inside MS Access. 
    If you can store your access mdb file on the server where your Oracle database resides this will greatly reduce your network traffic.  If the MS Access database must reside on a different machine it can still work but the gains won't be as great.  Still, this is an efficient way to do this if you can.
    To create a link table in MS Access choose, New, then 'Link Table'. In the Link dialog that appears you can choose ODBC.  I recommend using the SQORA driver from Oracle that is installed with SQL Plus.
    If you have to link in Crystal Reports instead you still can. However, all data from the Oracle table and Access table will be pulled to the client that hosts Crystal Reports and sorting will be done on the Crystal client.
    You definitely have some good options though.

  • Creating more than one database user in oracle cloud

    I hv created an adf application, in which there are 4 models. each model is connected to different database user, where SID is same for all user. These users have some number of tables, which are used as entity and view in model project in adf application. My query is:
    I hv activated oracle cloud service for database and java. i want to deploy my adf application on cloud. so, how can i create more than one database user in cloud as i do in oracle db 11gr2? So that my all models will be connected to different database user in cloud.
    Also, which service name should i use in model.jpx? I hv used mydb as service name on my local machine.
    pls, help me to go ahead!!!!!!!!

    Hi Ajaykumar,
    To ensure you receive an accurate response to your query, I believe it would be best raised on the Oracle Java Cloud Service forum, here:
    Oracle Java Cloud Service
    Regards,
    Hilary

  • How to update more than one table using EO

    Hi frnds,
    Can someone provide me a doc/link which explain in detail how we can we update more than one PL/SQL tables using entity objects(on which VOs are based).
    Till date I have been doing this using PL/SQL procedures but now my requirement is to achieve it thru EO.Someone suggested me use VL to achieve plz help
    Thanks & Regards,

    Hi,
    That would be very nice of you,plz send me the docs and also send me similar docs that would be beneficial for a beginner like me.
    My id is [email protected]
    Thnx for your time.

  • Startup issue when having more than one database on machine

    Startup issue when having more than one database on machine:
    I’ve installed two databases.
    When I shutdown one of the database and try to start it up using
    Startup pfile=’…location..’;
    I get ora-12514: TNS: listener does not currently know of service rquirest in connect descriptor
    when I try it again after 3 seconds, I get a new error, ora-01041: internal error. Hostdef extension doesn’t exist
    Shutdown and Startup gave no problems when I had one database. Why am I getting problems when I have two databases?
    I’m using: show parameter pfile|spfile; to make sure I have the right parameter locations, so the error shouldn’t be from location.
    I’ve never installed two databases on one machine, so maybe I’m making a first-timer’s error.
    Anyone know how to get this working, i.e. starting and stopping DB without issues?
    Using oracle 11gR2 on Windows 7 64bit, all is working normal.
    Thanks,
    Ayman
    Edited by: aymanzone on Jun 15, 2011 9:27 AM

    aymanzone wrote:
    my oracle_sid is set to the name of one of my databases
    echo %oracle_sid%
    shows me the name of my first database.
    Still not working though.
    When I start the services of both databases using Services, I can connect and run queries from both of the database.
    Edited by: aymanzone on Jun 15, 2011 11:47 AMFirstly ... the Oracle Service for the instance should be started for the DB you are trying to connect or start.
    Next ... from the command prompt:
    set oracle_sid=<Instance_Name>
    sqlplus sys as sysdba
    startup pfile='location of the respective db pfile'
    Now, if you want to start or connect to another DB which is on the same server (again assuming the Service is STARTED) ...
    From the same command prompt session or other ....
    set oracle_sid=<Other_Instance_Name>
    sqlplus sys as sysdba
    startup pfile='location of the respective db pfile'
    Edited by: Srikanth on Jun 16, 2011 12:27 AM

  • How to install Runtime Platform for more than one database on one machine

    Hi,
    What the docs loosely call Runtime Platform Service is in my opinion a combination of
    A) a bunch of software (installed under an ORACLE_HOME)
    B) the actual service process
    My question: if I have more than one databases on one machine, each containing an OWB Runtime, am I correct in assuming that I have to install the Runtime Platform software only once, but there will be a separate service process running for each database, each adressing the same Runtime Platform software? So under ORACLE_HOME nothing is kept that refers to a particular database?
    Jaap.

    Yes, we use such a configuration on our site. We have one OWB ORACLE_HOME and uses up to 4 instances. Each instance has its own Runtime Service Process running.
    Regards, Silvio

  • How can i connect more  than one database

    i would like to connect more than one database one my laptop
    now i have database one and sid=ddms
    and i would another such as sid=ddmf
    how can i connect two database on the same my laptop

    I am not sure what you mean by after built? Are you trying to export data from one database and import it into another? If so, export it using data pump making sure you have the correct ORACLE_SID. Also be sure both database have to same character set. Then change the ORACLE_SID to other database, and run data pump to import the data into the other database. Hope that makes any sense...

  • How to configure EM Grid Control for more than one databases?

    Hi,
    I'm configuring EM on Oracle 10gRel1 on Linux. I have more than one databases in the server, and I want use IE at my PC to monitor the databases on Linux server. I can configure and access the Grid Control Console by emca for first database, but cannot configure for the second one, unless I remove the first one configurration. How can I configure EM for more than one databases?
    Thanks.

    Thank you everybody.
    Yes, I'm talking about DBConsole rather than Grid Control (sorry for misuse the term). I managed to set up DB Console for every DB in the same Linux box (10Rel1). What I did is:
    1) stop db console and agent with emctl
    2) remove repository with RepManager
    3) config with emca
    Then I can monitor individual databases from my PC (but have to login with different port).
    I'm thinking mybe I should use Grid Control instead.

Maybe you are looking for

  • Ar_Transaction_Pub API problem

    When I try to execute the following procedure, to update an invoice ammount in receivables i am getting the following error l_msg_data :-6502 l_msg_data :ORA-06502: PL/SQL: numeric or value error: NULL index table key value l_msg_data :ORA-06502: PL/

  • Call EJB in WLS 7.0SP2 from WLS 5.1 SP13

    Hello, I am trying to call an EJB deployed on WLS 7.0SP2 from a WLS 5.1 SP13. There are issues from 19 Dec 2002 in "weblogic.developer.interest.rmi-iiop" newsgroup that are supossed to established a summary on this interoperability. The solution seem

  • Migrating Wiki Server 10.8.5 to 10.9 Mavericks

    Hello all, i'm trying so hard to complete this migration i followed this instructions http://support.apple.com/kb/HT5697 but when i came to the point sudo serveradmin start postgres_server i get the following error: postgres_server:error = "CANNOT_ST

  • Printed doc topics listed in WinXP Recent Documents list

    I recently upgraded to RoboHelp 9 from 7. I generated a printed doc and each topic is listed in the Recent Documents list in Windows XP, as follows: The file names all begin with $HtmlDoc_Chapter_... By the way, these files can't be found once you cl

  • Pages keep freezing every 10 seconds until cursor is moved.

    This has been going on for a few days now. Every 10 seconds or so the pages freeze, either loading a page or watching videos. I've tried: - Turn off hardware acceleration - Reinstalled flash - Reset Firefox - Clear cookies and cache - Restart in safe