Help! 10g logical standby not replicating "create table" on standby

Hi,
I'm setting up a logical standby environment and everything works, except when I tried to create a simple table on the primary, the table doesn't show up on the standby. I tried creating a new tablespace on the primary and it shows up right away on the standby. I checked the error logs on both primary and standby and no errors.
create table test1 (id number(10) primary key, col1 varchar(20), col2 varchar(20));
The table is created successfully on primary and I also inserted couple of rows and all committed.
I even tried the following query on the standby to check any failed events and the "create table" DDL doesn't show up , even if it failed:
select event_time, status, event from dba_logstdby_events order by event_timestamp, commit_scn
So I'm now confused. The logical standby is active and applying. What would be the issue? How do I find out ?
Thanks

had you started apply using this syntax
real time apply
alter database start logical standby apply immediate;
check lag:
alter session set nls_date_format='dd/mm hh24:mi';
select newest_time || chr(22)|| newest_scn||chr(10)||applied_time||chr(22)||applied_scn||chr(13)||chr(16)||(newest_scn-applied_scn) lag from dba_logstdby_progress
/

Similar Messages

  • Logical system not defined in table SMOF_ERPSH!

    Hello,
    In the inbound queue of CRM, the queues are in 'SYSFAIL' status. The error message is ' logical system not defined in table SMOF_ERPSH!' .
    the table has an entry for relevant ERP system.
    I dont know where else to check.
    I have checked the logical destinations on CRM and it is defined correctly.
    can anyone help me here.
    Regards,
    Pratima

    Hi Pratima,
    I am also facing the same issue. I checked all the entries and Entries are there in the respective tables but still the same issue.
    But if I delete the queue, the changes are replicated for that time but after some time again the queues are getting blocked with the same issue.
    Pratima, can you please tell you whether your issue got fixed on this.
    Thanks,
    Sharath.

  • Oracle 11g Logical Standby not Replicating Security?

    Hello,
    I found that our Oracle 11g logical standby database stopped replicating security commands anymore since it was created as a Oracle 11g database. The security commands are related to users, roles and profiles such as create/alter/drop user, etc. The 11g logical standby database has no problem replicating other commands. Is this normal change with Oracle 11g logical standby? I know Oracle 10g logical standby can replicate those commands. The Oracle 11g logical standby was created the same way as Oracle 10g logical standby. We don't skip security commands on purpose. Anyone who got Oracle 11g logical standby has the same issue? We would like logical standby database to be able to replicate security. If it is normal for Oracle 11g logical standby to stop replicating security, is there a way to make Oracle 11g logical standby still replicates security?
    Thanks!

    had you started apply using this syntax
    real time apply
    alter database start logical standby apply immediate;
    check lag:
    alter session set nls_date_format='dd/mm hh24:mi';
    select newest_time || chr(22)|| newest_scn||chr(10)||applied_time||chr(22)||applied_scn||chr(13)||chr(16)||(newest_scn-applied_scn) lag from dba_logstdby_progress
    /

  • 10g express Exec Imm. Create table problem

    Account is setup as a DBA account in Database (everything granted). I get Insuffiction privelages when running the following stored procedure:
    CREATE OR REPLACE PROCEDURE R02_BLD_RMS_JRNL(
    in_rdate IN DATE)
    AS
    v_sql VARCHAR2(1000);
    BEGIN
    -- Note I took out the variable and hard coded the date to try to get it to run
    -- create load
    v_sql:='CREATE TABLE TEMP_LOAD AS '||
    'SELECT EXPORT_DATE,ACCOUNT,CC,AMOUNT,DR_CR,TX_ID '||
    'FROM RMSA_JOURNAL '||
    'WHERE EXPORT_DATE=''01-AUG-07'' '||
    'AND ROWNUM<11 ';
    EXECUTE IMMEDIATE v_sql;
    EXCEPTION
    WHEN OTHERS THEN
    RAISE;
    END;
    RMSA_JOURNAL is a synonym to a table accross a DB link. Synonym works and I have tried putting in the full name of the table instead of the synonym.
    When I run the following command:
    EXEC R02_BLD_RMS_JRNL('01-AUG-07');
    I get ORA-01031: Insufficient Privileges
    If I run the statement about as a regular PLSQL block (not a stored procedure) it runs with no errors. There has to be some permission missing in relation to creating a table via a stored procedure. I have tried Dropping tables using Execute Immediate in a stored procedure and that works fine.
    Any help would be much appreciated.

    You cannot exercise a granted privilege through a role in a stored procedure, you have to directly received.
    On the other hand, people who post here are just ordinary people who have to perform real work. This is not a work for us, and if there are no posters available it's because they are busy. People here are on a voluntary and altruist basis. We all try to respond as fast as possible, but if our boss has assigned us a task, it has a higher priority than the forum.
    ~ Madrid

  • Table Constraints not Replicated with Table Published in WebToGo

    I have the problem related in metalink Note:167611.1
    But i don't understand the next paragraf:
    The first time the user goes offline, these DDL statements are executed.
    Can any body help me?

    Basically when you create a snapshot to include in you mobile application, any constraints are ignored (as are indexes, and column valid values constraints). This means when you synchronise your client device with the mobile server for the first time, the snapshots are created as tables in the oracle lite database (note always created as tables, even if your snapshot is based on a view in the main system). A primary key constraint and a primary key index will also be created.
    Within the different mobile application development tools (eg: workbench, packaging wizard, the API definitions, the web.xml file etc.) there is the ability to define DML statements.
    These are standard SQL statements (normally DML type statements like create table, create constraint, create index, create view, but can be used for other things like insert into a table) that are run WHEN THE ORACLE LITE DATABASE IS CREATED.
    This last bit is important. They are designed to be used for the kind of thing that you run once and then never again (eg: running the same create table statement would fail the second time around).
    This means that if you have already created the oracle lite database on a client, and then you need to add in dml statements to set up constraints etc., you will have to delete the database files (odb files) from the client, and sync to re-create the database.
    NOTE does not help with constraints, but indexes can be added to the snapshot definitions, and these will cause an update to create them the next time the user synchronises, without the need to drop the client database

  • Help needed: "Logic was not able to complete the download"

    I purchased Logic Pro 9 today from App store. Downloaded and installed the software. After installation & startup Logic started to download 2GB of additional content. This download was interrupted by the message "logic was not able to complete the download". I trashed Logic, redownloaded and reinstalled it several times from App store, always gives same message after startup. Doesn't even start to download basic content again, just gives the message. After hitting "ok" Logic just quits. This is extremely frustrating and I have no idea what to do about this.
    I would very much appreciate any advice about how to solve this problem!

    I start with the same problem but it ends differently.
    I purchased Logic Pro 9 today from App store. Downloaded and installed the software. After installation & startup Logic started to download
    the basic content. Upon startup the program already seemed weird, but it started and finished the basic content.
    By weird I mean all I get on my screen is the Logic menu bar and the text is yellow instead of black. To top it all up, the text from the menus is missing and all I get is empty boxes.
    I have deleted it and reinstalled from the app store to ensure a new clean installation but still the problem persists.
    I have checked all your above points as well and none seem to work would be grateful for any help.
    Cheers

  • Need help:  Distribution demand is not getting created when Iu2019m using Purch

    Friends,
    When Iu2019m running the heurisitic plan distribution demand is not getting created. Iu2019m working on SCM 5.1
    I have a transportation lane which are automatically created using the Purchase inforecords. Iu2019m not
    facing any issues tranfering this purchase info records (PIR). Iu2019m able to see this as transportation lanes
    in APO.  When I run the heuristic plan run purchase requsition are getting created but distribution
    demand is not getting created. I have tested the same  scenario by manually creating transportation
    lanes. The manually created transportation lanes  are generating distribution demand but purchase info
    record transportaton lanes are not generating the distribution demand. What may the cause?  I would really appreciate for
    your input in advance.
    Regards
    KRN

    Friend,
    I have maintained the means of transport to the tranportation lane
    Regards
    KRN

  • Please help me I am not seeing Database table column names in field explorer view

    Hi,
    I am developing a crystal report using eclipse and sql server. After creating connection, when i drag and drop tables, The table name and its columns should apper in field explorer view. Then we drag the columns onto crystal report. Unfortunately I am just  seeing only table names but not column names in field explorer view. Could anyone help me?
    After downloading eclipse I have plugged in the crystal report using the following instructions
    1. Click on the Help menu, and then Software Updates > Find and Install... to open the Install/Update wizard.
    2. Select Search for new features to install and click Next.
    3. Click the New Remote Site button. This will launch the New Update Site wizard
    4. Type the Business Objects Updsate Site for the Name field and the following for the URL: http://www.businessobjects.com/products/dev_zone/eclipse/
    5. Click OK to complete the wizard.
    6. Enable the newly created Business Objects Update Site checkbox as well as the Callisto Discovery Site (which should appear by default with Eclipse 3.2) and click Finish.
    Expand the Business Objects Update Site node and enable the Crystal Reports for Eclipse 1.0.0v555 checkbox.
    8. Expand the Callisto Discovery Site and click the button "Select Required". This will automatically select the required Eclipse features necessary to successfully install Crystal Reports for Eclipse.
    Thank You
    Rajavardhan Sarkapally

    Now we have a lot of views which select data from the tables, but I need to get the "Table Column Name" that is linked in the view.
    If you are using SQL Server 2012/2014, then you can use
    sys.dm_exec_describe_first_result_set (Transact-SQL) to gte the informations.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • HELP: My Logic does not start anymore!!!!!!!

    Hi,
    please help my: I am in big trouble:
    yesterday everything went fine. I worked on some project and DID NOT INSTALL any new software nore changed anything on my system!
    TODAY I wanted to start up my Logic and the start-up routine seems fine - even the autoload-song shows up, BUT before I can even access the menu THE APPLICATION SHUTS DOWN: Logic unexpectetly QUIT! The Report talks about "EXCBADACCESS". I tried to switch off my Digi002, restarted my MAC and tried to run Logic with no Audio-Card on power, BUT it still shuts down with the same error-message.
    I am running Logic 7.2.3 with a Digi002.
    Any idea whats going on?
    Thanks for your support
    Bart

    Hi Bart,
    I had a similar problem, but with an MBox2 interface rather than a Digi002.
    Try Library > Audio > MIDI Drivers - are there any Digidesign drivers listed? I found that trashing the Digidesign MIDI drivers solved the problem. But, these drivers were un-used so their deletion was of no consequence to me. It might be worth simply moving the drivers out of the folder onto the desktop and then trying to load Logic.
    Hope this helps,
    Dan

  • HT4384 Help! Logic version not able to run.

    My macbook pro is not letting me open logic pro. An error message pops up saying "you cant use this version of the application Logic Pro with this version of Mac OS X. You have Logic Pro 9.1.1" I am also running Mac OSX 10.7.4?

    groovy57 wrote:
    SO what do i do ...
    If your MacBook is New... Contact AppleCare, explain you are a Logic User and what your issue is. You should then be transfered to a Product Specalist who should be able to assist you with your issue.

  • Using EXECUTE IMMEDIATE with Create Table SQL Statement not working

    Hi ,
    I am all the privileges given from the SYSTEM user , but still i am not able to create a table under procedure . Please see these and advice.
    create or replace procedure sp_dummy as
    begin
    Execute Immediate 'Create table Dummy99_99 (Dummy_Field number)';
    end;
    even i tried this way also
    create or replace PROCEDURE clearing_Practise(p_file_id in varchar2, p_country in VARCHAR2,p_mapId in VARCHAR2)
    AUTHID CURRENT_USER AS
    strStatusCode VARCHAR2(6);
    BEGIN
    EXECUTE IMMEDIATE 'create table bonus(name varchar2(50))';
    commit;
    EXCEPTION
    WHEN OTHERS THEN
    dbms_output.put_line('ERROR Creating Table');
    END ;

    William Robertson wrote:
    Since the syntax is correct, my guess is you do not have CREATE TABLE system privilege granted directly to your account. A common scenario is that you have this privilege granted indirectly via a role, allowing you to create tables on the command line, but stored PL/SQL is stricter and requires a direct grant and therefore the procedure fails with 'insufficient privileges'.A bit like he's already been told on his first thread...
    Using of Execute Immediate in Oracle PLSQL
    Generally you would not create tables from stored PL/SQL. Also as you have found out, it's best not to hide exceptions with 'WHEN OTHERS THEN [some message which gives less detail than the one generated by Oracle]'.Again like he was told on the other thread.
    There's just no telling some people eh! :)

  • Create Table using DBMS_SQL package and size not exceeding 64K

    I have a size contraint that my SQL size should not exceed 64K.
    Now I would appriciate if some one could tell me how to create a table using
    Dynamic sql along with usage of DBMS_SQL package.
    Brief Scenario: Users at my site are not given permission to create table.
    I need to write a procedure which the users could use to create a table .ALso my SQL size should not exceed 64K. Once this Procedure is created using DBMS_SQL package ,user should pass the table name to create a table.
    Thanks/

    "If a user doesn't have permission to create a table then how do you expect they will be able to do this"
    Well, it depends on what you want to do. I could write a stored proc that creates a table in my schema and give some other user execute privilege on it. They would then be able to create a able in my schema without any explicitly granted create table privilege.
    Similarly, assuming I have CREATE ANY TABLE granted directly to me, I could write a stroe proc that would create a table in another users schema. As long as they have quota on their default tablespace, they do not need CREATE TABLE privileges.
    SQL> CREATE USER a IDENTIFIED BY a
      2  DEFAULT TABLESPACE users TEMPORARY TABLESPACE temp;
    User created.
    SQL> GRANT CREATE SESSION TO a;
    Grant succeeded.
    SQL> CREATE TABLE a.t (id NUMBER, descr VARCHAR2(10));
    CREATE TABLE a.t (id NUMBER, descr VARCHAR2(10))
    ERROR at line 1:
    ORA-01950: no privileges on tablespace 'USERS'So, give them quota on the tablespace and try again
    SQL> ALTER USER a QUOTA UNLIMITED ON users;
    User altered.
    SQL> CREATE TABLE a.t (id NUMBER, descr VARCHAR2(10));
    Table created.Now lets see if it really belongs to a:
    SQL> connect a/a
    Connected.
    SQL> SELECT table_name FROM user_tables;
    TABLE_NAME
    T
    SQL> INSERT INTO t VALUES (1, 'One');
    1 row created.Yes, it definitely belongs to a. Just to show that ther is nothing up my sleeve:
    SQL> create table t1 (id NUMBER, descr VARCHAR2(10));
    create table t1 (id NUMBER, descr VARCHAR2(10))
    ERROR at line 1:
    ORA-01031: insufficient privilegesI can almost, but not quite, see a rationale for the second case if you want to enforce some sort of naming or location standards but the whole thing seems odd to me.
    Users cannot create tables, so lets give them a procedure to create tables?
    John

  • Create table of type integer

    How can we create a table of type integer in MDM. (what the code should be?)
    When I create a table, it only allows type Text.
    Thanks

    Hi R.N,
    we can create table of type Flat, Hierarachy, Taxanomy, Qualified Flat and Families.
    you are talking about field, by default whenever you create any table a field "Name" of type Text get generated, but here if you want this field to be integer, just create new field by right clickin "Add Field" by going into table in which you want that field. here you can give any name to that field and select type Integer . if you want only Integer field into your table then also make it "Display Field" only after that you can delete field "Name" of type Text.
    Note: For creating Table Click on your repository where you can see and create tables and for field just click on any table where you want to include that field into table
    Code takes important incase of Java APis and ABAP Apis. where APIs recognise table and fields with their code only.
    Remember to unload repository before creating Table and Fields and then load it.
    Hope it helps you,
    Mandeep Saini
    Edited by: Mandeep Saini on May 6, 2008 10:43 AM
    Edited by: Mandeep Saini on May 6, 2008 10:48 AM

  • How to create table in java

    i need help on this topic
    how to create table in java

    lucky786 wrote:
    help urgentlyI am too late?

  • Using Create table command in a Pl/Sql Anonymous Block

    Hi,
    I need to create a table dynamically based on the table_name and column_names that a user wants. When I use a Pl/sql Anonymous block to do this, it complains. Any suggestions ?
    Thanks,
    Marisa

    Personally this sounds like a bad design to me. I would say under most "normal" circumstances, you should not be creating tables on the fly. Especially one where a user has control over what columns,datatypes to use. Let a developer or dba take care of that.

Maybe you are looking for

  • Why can't I erase the songs on my ipod on Itunes?

    I opened up Itunes and it started loading all the music in my library to my ipod. I stopped it, but now i cannot seem to erase the songs from Itunes. Any help or advice will be greatly appreciated. I was thinking if I let all the songs download onto

  • Which ssd for my macbook pro?

    Hi community. I have a Macbook pro 13" model number A1278 which is now running 8gb of Kingston memeory and I was thinking of upgrading the drive to an ssd. I want to continue with the Kingston brand and would like to go pretty big in capacity, hopefu

  • ABAP BASIC

    Hello Experts, I am new to ABAP and would like to know the use of different terminologies in ABAP.Can i have docs & PDFS which can help me to understand the terminologies & would help me in Programming. Thanks in advance. Regards, Aparna Message was

  • I created a book using iPhoto, but the "Buy Book" tab seems to not work. Any suggestions?

    I created a book using iPhoto, but the "Buy Book" tab seems to not work. Any suggestions?

  • HD movies on iTunes?

    Are any movies on iTunes in HD? I think that would be cool considering macs have HD screens and all.