new table in the replicated configuration

Hello
Im having two data warehouses A and b. set data store is replicated in the scheme of bidirectional replication.
My question is what are the steps to take if I'm adding a new table for this configuration.
After you add the new table in the two data stores, replication does not occur for the new table.
I do surgery twice on one of the map after you create one new table to the other?

Concerning
Pratheej

Hi Pratheej,

Please confirm my understanding that you use inherited replication (REPLICATION to CREATE rather than CREATE the COUPLE of INTELLIGENCE ASSETS). For the level inherited from data store replication, when you create a new table in a replicated datastroe it is created as "EXCLUDED" (i.e. as if it had existed at the time where you created the schema for replication but you had explicitly EXCLUDED. " So to get this painting in replication ' ALTER TREPLICATION... INCLUDE... ".

If you add more than one table, you can do everything in a 'hit' so in steps 5 and 7, you'd all the tables the same double so that only once is necessary regardless of the number of tables added.

If you use ACTIVE replication of the PAIR of EVE, then you could do much more easily using the DDL replication.

Chris

Tags: Database

Similar Questions

  • Anyone know if the Adobe Pro 11 program allows you to remove and rebonding of new tables in the existing PDF documents?

    Anyone know if the Adobe Pro 11 program allows allows you to remove and re - paste new tables in the existing PDF documents?

    Hi span Structures.

    Acrobat Pro XI allows to edit/insert text and images, but it is not intended to do some heavy lifting in this Department. And, there is really no way to modify the tables in Acrobat, because they are generally made of individual vector lines that you cannot fill.

    If you have many changes to make, or want to add/remove a table, you better make these modifications in the source application and by recreating the PDF file.

    Best,

    Sara

  • Add a new table to the server ESXi 4.1

    Hello

    I try to add a new table on a server ESXi 4.1.0. Is it possible to build the table and add it without restarting the host? The server is an HP ML350 G5. I installed ESXi 4.1 on a hard drive, but I did not install HP driver packages. Is there something I could install from ESXi that would give me the features of configuration of the berries, etc. ?

    Thanks for any help,

    Stem

    Although it is possible (but unsupported) to install tools RIAD on ESXi (see VMware experience before: how to run the CLI of the ACU online HP for Linux in ESXi 4.x) you might have to restart the host still. Reading messages earlier, it would be also better to add the new table by using the ACU (Array Configuration Utility) rather than the ORCA (Option ROM Configuration for arrays). Of these posts, it looks like ORCA could possibly reorganize RAID sets, resulting in a non bootable host.

    André

  • Insert in the new table if the row update SQL

    Guy
    If I have an update statement that I would like to keep track of wich ranks where actually updates how could I do? Here is what im tryin to acomplishe, I want to update a table column and if this line is put on day of my update statement I would like to insert a new table. Is this possible to do with plain ol' sql? or should I use plsql.

    an example would be great if someone would guide me on this one.
    CREATE TABLE "TEMPLE_FINANCE"."FWICNCL"
      (
        "FWICNCL_INVOICE"     VARCHAR2(10 CHAR) NOT NULL ENABLE,
        "FWICNCL_CANCEL_USER" VARCHAR2(60 CHAR) NOT NULL ENABLE
      )
    Insert into FWICNCL (FWICNCL_INVOICE,FWICNCL_CANCEL_USER) values ('I0003711','L_BANNER');
    Insert into FWICNCL (FWICNCL_INVOICE,FWICNCL_CANCEL_USER) values ('I0003710','L_BANNER');
    -My update statement wich I have in a procedure. Note that at this point I would insert each record in fobappd anything. I just want to insert the fwicncl records that actually fit and updated fabinvh.


    UPDATE FABINVH 
    SET FABINVH_CANCEL_IND = 'N',
    FABINVH_CANCEL_DATE = TRUNC(SYSDATE),
    FABINVH_CANCEL_USER = (SELECT fwicncl_cancel_user FROM FWICNCL WHERE FABINVH_CODE = fwicncl_INVOICE),
    FABINVH_CANCEL_ACTIVITY_DATE = trunc(SYSDATE)
    WHERE EXISTS 
    (SELECT fwicncl_INVOICE
          FROM FWICNCL 
          WHERE FABINVH_CODE = fwicncl_INVOICE);
    COMMIT;
    
    
        INSERT INTO FOBAPPD (FOBAPPD_SEQ_CODE,
                         FOBAPPD_DOC_NUM,
                         FOBAPPD_ACTIVITY_DATE)
        (SELECT '3', fwicncl_INVOICE, TRUNC(SYSDATE) FROM  FWICNCL);
          COMMIT;
    Thank you for your help in advance.

    Well, you can use the RETURN clause IN the UPDATE statement to get all of the values that must be returned to a collection.

    Refer to the RETURN clause IN the PL/SQL user's Guide

    http://docs.Oracle.com/CD/B19306_01/AppDev.102/b14261/returninginto_clause.htm

    The bottom of the page has links to examples that show how to do this. This is one of the examples.

    Example 7-6 Dynamic SQL Inside FORALL Statement
    
    DECLARE
       TYPE NumList IS TABLE OF NUMBER;
       TYPE NameList IS TABLE OF VARCHAR2(15);
       empids NumList;
       enames NameList;
    BEGIN
       empids := NumList(101,102,103,104,105);
       FORALL i IN 1..5
          EXECUTE IMMEDIATE
            'UPDATE employees SET salary = salary * 1.04 WHERE employee_id = :1
             RETURNING last_name INTO :2'
             USING empids(i) RETURNING BULK COLLECT INTO enames;
    END;
    /
    
  • Create the new table with the new calculated entries

    Hello
    I had a little problem.
    I have a table which includes the employee vacation time. Vacation time was periodic, so I divide them into days. Now, I want to calculate the exact days. Sometimes ago weekends included I need to subtract. I have flaged everyday, I know exactly what day is a business day and that one is not. Is it possible that I have only the sum of the days without weekends?

    Table Vacation_Times:

    EMPL - V_Start_D - V_End_D - Date-day - D_Name
    Mr.A---01.05.11---06.05.11---01.05.11---6---mercredi
    M.-a---01.05.11---06.06.11---02.05.11---6---jeudi
    Mr.A---01.05.11---06.05.11---03.05.11---6---vendredi
    M.-a---01.05.11---06.06.11---04.05.11---6---Samedi
    Mr.A---01.05.11---06.05.11---05.05.11---6---dimanche
    M.-a---01.05.11---06.06.11---06.05.11---6---Lundi

    NEW table:

    EMPL - V_Start_D - V_End_D - Date-day - D_Name - Actual_Days
    Mr.A---01.05.11---06.05.11---01.05.11---6---mercredi---4
    M.-a---01.05.11---06.06.11---02.05.11---6---jeudi---4
    Mr.A---01.05.11---06.05.11---03.05.11---6---vendredi---4
    M.-a---01.05.11---06.06.11---04.05.11---6---Samedi---4
    Mr.A---01.05.11---06.05.11---05.05.11---6---dimanche---4
    M.-a---01.05.11---06.06.11---06.05.11---6---Lundi---4


    THX

    Hello

    VR;

    SELECT Empl ,V_Start_D ,V_End_D ,Date ,Days ,D_Name , count(*) as Actual_Days
    FROM vacation v
    JOIN datelist d ON d.day between  V_Start_D and V_End_D and d.is_working_day='Y'
    GROUP BY Empl ,V_Start_D ,V_End_D ,Date ,Days ,D_Name 
    

    Kind regards
    Carsten.

  • Former running and the new table in the same group?

    We have a ps4000 (sata, 16x1tb), which is short for maintenance in may without possibility of renewal.

    The ps4000 is a target for the replication of windows/hyper-v a ps6100x volumes and runs some volumes of hyper-v with virtual developer/test machines.

    We bought a new ps4210x to replace the old. Must be run on 1gbit for at least the next year.

    The best way to move data is to update the firmware on the ps4000 to even x 4210 a and then join the x 4210 to the ps4000 group?

    Is there a checklist of exactly what to do to move the data from one to the other?

    We do not know what to do with the old system. We think to buy one or two replacement disks ahead of time and use it for some time yet. Use it as a replication target and some virtual machines hosting not important.

    Suggest two systems running in the same group?

    Should we use two pools for the placement of volume or just leave the firmware balance data? Both systems have raid6.

    What is supported, if we run the two systems in the same group? We always have software support for the whole group or Dell would say a member has no more support, and we cannot help you at all?

    If I understand the firmware release notes, the 7.x will be the last major version for ps5xxx. Our 2010 ps4000 will have more time with the firmware updates?

    Hello

    You can not have supported and no load/EOL paintings in the same group.   Or you want to use it for replication.  Because if you had a problem, support is limited in what they can do with this HW unsupported.

    Re: migration of the PS4000.  I suggest that you create a new pool put the 4210 in this pool.  Create the RAIDset and ensure that both interfaces are active.   Then move the PS4210 to the same pool as the PS4000.   This will cause space to be redistributed into the new array.     If you want to minimize any impact of performance possible, wait until the space is rebalanced.   Then move the PS4000 to the temp pool.   This will leave all the data on the PS4210.   Once it is in the temporary pool, you can use the option "Delete" to delete the group.

    There will be future updates to the PS4000.

    Kind regards

  • Can't see the new table in the PS Group Manager

    Sorry guys, I'm kinda new to storage management. I worked in existing bays built by the last person who was here. Now that he is gone, I was charged with the addition of two additional paintings/members to our existing EqualLogics. Problem is that I see the 2 members in Group Manager, but not the 2 new ones. We have a data center managed by 3rd party and they say that they have wired everything in. Both are supposed to be cross-connected series via a connection to one of our servers and the other in an existing table. Now physically I don't know how everything is connected. I console just in Workgroup Manager. I don't see new members there. I tried to connect from one of the servers connected using PuTTY and the connection series. I've used sides of Baud has offered online. But I can't connect what either. Sorry if this sounds very basic - but what don't get me? How to see these devices to even configure the network adapters and RAID?

    Thanks for any help guys

    Hmm... what exactly do you mean with "the table is connected to the active controller?

    Guys in your data center can make the photo of the back of the EQL? See the two CMs with the cables and the LEDS may help.

    When putty.exe close the window immediately that there is probably nothing on the other end, but when it remains open, it is normally a good sign. Press 'enter' or ctrl + c. If you see garbage or nothing the connection parameters doesn't match. Once again its 9600/8/1/n.

    Note: if ever you restart an active EQL the CM moves which makes it difficult when with only a working serial cable.

    You can also try is turning off the device. Verify that your connection to the CM right and turn on again. You will see output of a CM of start-up.

    Do not use is not a black font on a black background in putty also makes life easier ;)

    Kind regards

    Joerg

  • OfficeJet Pro 8600: I got a new modem and the router. I uninstalled the HP software, but wizzard wireless configuration is locked.

    I uninstalled the software so I could start over.  Configuration Wizzard is locked and I can not understand how to get unlock.

    Hi @bobbalou,

    Thank you for visiting the Forums of HP Support for a solution to your printer problem.

    I understand that you replaced your modem and router, but could not connect your HP Officejet Pro 8600 e-all-in-one printer to the new network, because the wireless configuration wizard is locked. I would like to help with that.

    Try to restore the default network before attempting to run the Wireless Setup Wizard.

    1. on the touch screen of the printer, press the right arrow to display the second navigation screen.

    2. press on the installation program icon.

    3. tap network, then press the default network.

    If you are able to restore the default settings of the network is should allow you to run the Wireless Setup Wizard.

    If you're locked up because he had a password set in place on the printer, you will need the password to access the server (EWS) of embedded printer online web to change the settings of the printer.

    Please let me know if that solves the problem, or if you need assistance.
  • How to create the new table by using the pertioned table

    Hello
    I use a partitioned table, now I want CPDR a new table with the same structure of my existing partitioned table.
    so can I use this syntax

    create the table abc_new as
    Select * from my_partitioned_table
    where 1 = 2;

    If I use this syntax, he would do the same my existing partitioned table structure?

    and

    When
    We use a syntax such as

    create the table abc_new as
    Select * from my_partitioned_table
    where 1 = 2;

    so he would also make the indexing on the new table if old table exists? If this isn't the case, then how can we create this indexing too at the time of execution of this syntax?


    regards

    N °

    Although the command would create a new table with the same column names and data types, it is NOT a partitioned table. You must explicitly specify the PARTITION BY clause and definitions of Partition when creating the table.

    Similarly, index definitions are not automatically copied. You must explicitly run the CREATE INDEX statements (which you can generate source using DBMS_METADATA. GET_DDL or by using any other tools/utilities).

    (However, if you use Export-Import - for example import to another schema, or to another database, it would create a table partitoned bearing the same name and with the same index definitions).

    Hemant K Collette

  • Adding new partition in the table are

    Hello

    Oracle 9i
    Windows 2003 operating system

    The main entry/exit table is one of the base tables that has a large number of records and a very high success rate, and to avoid poor performance that may occur in such cases, Oracle Table partitioning technique has been examined in the early stages of the implementation of the system.

    Unfortunately, the technique used to divide data based on the year of the transaction considered the year 2010 as the last specific partition, so all records created after this year is gathered in a single partition and this may cause poor performance in the years to come.

    Are required to add another 10 partitions; up to the year 2020 taking into account that the downtime should be close to zero.

    Ground:

    According to my knowledge

    for this, so we can create a new table with the same columns and add required 10 more partitions, and if we take 2 scenarios like

    export/imp
    insertion in the new table select * from < table > old

    What is the best, and if we take exp/imp, if her take a few hours of time to complete a task... what will happen for the updates as insert, update, and delete in this time what will be the impact on the import... I mean if all committed tarnscations... These tarnscations automatically add to the table are not.

    Please tell me what is the best and the tarnscations should not effect... pls tell me how excatly we can complete the task.

    Concerning
    873393

    In my script, I have a DROP TABLE because I'll put up a reproducible demonstration. I can run the script repeatedly and regenerate the same demo data!
    In your environment you would not fall off the table!
    To simplify the demo for you: IGNORE the DROP TABLE command. Pretend it does not exist.

    Hemant K Collette

  • steps to create the new table using existing metadata

    Hi all


    That's what I want to achieve,

    I want to create a procedure that will take an input parameter as a table name lets say 'EMP ',.
    This procedure checks if this table exists or not?
    If they don't exist
    It will create a new table with the name _dummy join the existing table name (ex: new table will be EMP_DUMMY).
    and new table should have the same structure of the table, indexes, and constraints on the EMP table.


    NB: It should not be created using select as create table EMP_DUMMY select * from EMP where = condition false;



    Can someone help me please how to achieve this?

    Please, don't post duplicate discussions.

    Check your thread previous stored procedure to create a new table with the existing table structure to further discussions

  • Lose the vertical alignment of the table during the conversion of the ditamap to book

    FrameMaker Version: 12.0.4.445 (later part of TCS5)

    1. I have a project structured, where several XML files have been grouped in a ditamap.
    2. For one of the XML files, I have a table, where I need to set the cell Vertical alignment of cells in the MIDDLE.
    3. So using Paragraph Designer > table cell, I have change the entries in the top in the Middle (the default values have been Top).
    4. With the ditamap pane selected, I'll then menu file > > Save Ditamap under
    5. I save ditamap as ' book with fm components 12.0 (* .book) "file type.
    6. In the resulting book, the XML files are now. FM files.

    However, at this point, when I open the. File of FM which has the table, the cell styles back to the TOP.

    I searched high and low for a similar problem. It's look like a bug to me, but can someone confirm?

    Thank you

    No, this is not a bug by itself. I bet that the alignment is lost before you generate the book. After you set the alignment and saving and closing the file... reopen and see if the alignment is still there... I bet it's gone. As a general rule, you cannot apply put in shape or properties to objects (elements) in a DITA file. This applies to font and paragraph properties as well as table set in shape and other types of development in the form. All you can do is create items and set attributes. Any parameter properties will usually be lost on file save.

    You would probably need to have a 'process of publication' (script any) you run your generated book and chapter files that would scan for an attribute that shows some properties must be set on the table. The @outputclass attribute is typically used for this kind of thing. I'm not aware of what anyone in default FrameMaker DITA, who put in place to manage this type of formatting of the tables.

    If this formatting that you try to apply is consistent for the whole table, it is possible that you will be able to do this by creating a new table format that has this set of default formatting. When you insert a table in a subject, the table format is assigned to the tgroup/@outputclass attribute and this is the form that is used when rendering the table. Just create a new table in the structured application model and put in place this format to have the properties you want. Then, when you insert the table, be sure to select this format. It can be hard to set this up, but it * should * work.

    However, if this does not work, or you need more refined formatting applied to the parts of the table, I produce a tool called DITA-FMx, which offers extended DITA creation and publication of the options for FrameMaker. It offers features that allow this type of table set shaped to be applied by setting the attribute @outputclass to a specific value on the line or cell. You can get more information on DITA-FMx here...

    http://leximation.com/DITA-FMX/

    Good luck!

    Scott Prentice

    Leximation, Inc..

    www.leximation.com

  • How performance measurement/reference of a new database on the new server?

    Hello

    I have two servers oracle with following (same) details:

    5.8 64-bit RHEL

    Oracle 10 g 2-10.2.0.5.8

    ASM 10 gr 2-10.2.0.5.8

    Server A: 32 GB of RAM, 8 processors @ 3 .00GHz

    Server b: 128 GB RAM, vCPUs 16 cores

    A server (physical server) already has a database of A. ServerB (VMware - Yes, my client moves all Oracle on VMware servers for some reason any) is a new installation and the new database B with exact same init params as A databas. I expdp data from database A and impdp in database B.

    According to the material, the material is better than the old server B. I made a very simple test to check if the new DB performs better than the one on the physical server. Here are the results:

    I ran a simple query to create a new table. The original table (say, table_a) contains 1.7 million lines and the size is 2.2 GB.

    create table test1

    as

    s elect * from table_a;

    It took 3:28mins on database B, it took 1:55mins only on A database. So, it seems that the new database B scene poor (apparently). Then I looked at the plan of the explain command (don't know if it means a lot, because it s a very simple query) and here's these two databases:

    A (physical server databases

    Plan
    SELECT STATEMENT ALL_ROWS
    Cost: 14 052 bytes: 2,161,302,003 cardinality: 16,250,391
    1 FULL TABLE ACCESS TABLE table_a
    Cost: 14 052 bytes: 2,161,302,003 cardinality: 16,250,391

    Database B (virtual server)

    Plan
    SELECT STATEMENT ALL_ROWS
    Cost: 59 844 bytes: 2,161,302,003 cardinality: 16,250,391
    1 FULL TABLE ACCESS TABLE table_a

    Cost: 59 844 bytes: 2,161,302,003 cardinality: 16,250,391

    Issues related to the:

    1. Why is the cost different? Should I "calculate statistics" on the B (virtual server) database?

    2. how to pursue the investigation and discover the reason for the difference in time?

    3. what other test can I run to make sure that I have the right database Setup?

    Don't know if it of just enough info - if not, please let me know what else I need to provide.

    The team I perform hands on this server refuses to accept it by saying that it is slower than the existing one.

    Please advise!

    Best regards


    Looks like you'd get only a few percentages of increase in performance by increasing the pga, while the downturn is probably elsewhere.  Follow Nikolay, Ed and John suggestions.  STATSPACK or AWR can also give clues to e/s, although it would be a mistake to expect them to reflect the performance of the production - but they might highlight if you have problems logwriter or something.    Don't know if I even have to mention My ISP4400: numbers of ORION

  • insert into the summary table of the table.

    I was wondering if there is a smart way to do it with SQL, but I'm not sure. I would like to consult you yo guys.

    I have a table like this
     CREATE TABLE "TEMPLE_FINANCE"."TEST" 
       (     "COLUMN1" VARCHAR2(10 BYTE), 
         "COLUMN2" VARCHAR2(10 BYTE), 
         "COLUMN3" VARCHAR2(10 BYTE), 
         "COLUMN4" VARCHAR2(10 BYTE)
       ) ;
    
    
    Insert into TEST (COLUMN1,COLUMN2,COLUMN3,COLUMN4) values ('1','2','50.00',null);
    Insert into TEST (COLUMN1,COLUMN2,COLUMN3,COLUMN4) values ('1','2','50.00',null);
    I would like to at the rate of an update and you end up with
    "COLUMN1"     "COLUMN2"     "COLUMN3"     "COLUMN4"
    "1"                  "2"          "100.00"     
    What update statement can run for this?
    I would enter in the summary of the lines based on the column 1 and column2 and get rid of repeative lines.
    I have try this insert statement, but it's bascially just adding an extra record in the table.
    INSERT INTO  TEST (SELECT COLUMN1, COLUMN2, SUM(COLUMN3), COLUMN4 FROM TEST GROUP BY COLUMN1, COLUMN2,COLUMN4);
    any help would be grateful.

    Published by: mlov83 on January 25, 2013 12:45

    Published by: mlov83 on January 25, 2013 13:03

    Hello

    I can't help but wonder if you have the best design of table for what it is, you need to do.

    The best solution would be to create a new table, using the SUM (TO_NUMBER (Column3)) and GROUP BY, and then delete the original table and rename a new one to the old name. While you're at it, change Column3 as a NUMBER and add a primary key.

    In collaboration with just the existing table, INSERT one won't work. INSERT always adds new lines. You want something that can INSERT new lines (or update some existing routes) and DELETE lines at the same time. FUSION can do it all. Here's a way to use the MERGE:

    MERGE INTO     test     dst
    USING   (
              SELECT column1, column2, column4
              ,      SUM (TO_NUMBER (column3))
                                 OVER (PARTITION BY  column1, column2, column4)
                                AS column3_total
              ,      ROWID             AS r_id
              ,      MIN (ROWID) OVER (PARTITION BY  column1, column2, column4)
                                          AS min_r_id
              FROM    test
         )          src
    ON     (src.r_id     = dst.ROWID)
    WHEN MATCHED THEN UPDATE
    SET     dst.column3       = TO_CHAR ( src.column3_total
                                , 'FM9999999.00'
                            )
    DELETE
    WHERE     src.r_id     != src.min_r_id
    ;
    

    Published by: Frank Kulash on January 25, 2013 16:07

  • Creating table in the schema has with the user B and granting permissions to the user C

    Hello, I have a problem fun - we have a large table which requires a batch to make millions of updates, and he needs to finish more quickly. It takes several hours as an update, but a select create table did the same thing in about a minute. Yay! Then we just delete the old table and rename the new table to the former, rebuild all the index and grant select/insert/update/delete permissions to another user who needs access... and there is the problem, Oracle said insufficient privs.

    We have A figure, which is the owner of the table, userid B who done all the stuff of application batch and userid C which performs inserts for a process of middleware. None of them are actual users, of course. We want that user B to do the ETG, rename, rebuild and re-grant of the authorisation of the index. But user B apparently cannot grant permissions on objects in the schema A to user C, even if B has created the table and has the role DBA (not ideal, I know)!

    What's really crazy is that there is no sense unique user b can grant permissions to user C, which is to:

    grant select any table USER c;
    grant insert any table USER c;
    grant update any table USER c;
    Grant delete any table USER c;

    It seems really perverse can create tables in diagram A and even grant C privs "whole table" that user B, but may not grant privs specifically on this object in the schema A, even with DBA privs. I must be missing something... right?

    Yes. By default, the stored procedures are stored procedures from DEFINER rights. If A is the owner of a stored procedure, this stored procedure can do whatever A enjoys the privileges to directly. If A grants B privileges RUN this stored procedure, when B calls the stored procedure, the procedure runs with the privileges.

    I agree point stew, however, re-creating objects in Oracle is generally a bad idea and a TRUNCATE with one insert direct-path, possibly combined with the deactivation and the rebuilding of the index would be more appropriate than a DEC. If you're going to stick with this Assignment, however, that really do in a stored procedure owned by A while B has no need to CREATE ANY TABLE.

    Justin

Maybe you are looking for