SQL Server TG Locking Issues

We are using Oracle Transparent Gateway 9.0.1.1.1 to connect an Oracle (Windows 2000) 9.1.7.4.0 database to a SQL Server 2000 SP2 database.
Using the TG, we have noticed that inserting/updating a SQL Server table locks the entire table so that nothing can be queried from the table until a commit/rollback. Inserting the same record from SQL Server creates a "page lock" but does not affect the entire table.
Anyone familiar with the locking rules or any parameters that affect the locking behavior?
Scott D. Allen
[email protected]

Scott,
The gateway does not create any type of locks. Could you provide the sql statements in your session. Also take a look at the trace generated by the SQL Server profiler

Similar Messages

  • Oracle to SQL server switch mapping issue?

    Hi All,
    We are switching the DB from Oracle to SQL. As a result our existing mapping seems to create issue while we are trying to INSERT data.
    We changed some of the date setting as and also the hasQuot to Yes so when it goes to the SQL server it runs as CONVERT(datetime,'currentDate/time', 120)
    Before doing this change we were getting the error
    com.microsoft.sqlserver.jdbc.SQLServerException: Conversion failed when converting date and/or time from character string.
    Now we are getting the error
    com.microsoft.sqlserver.jdbc.SQLServerException: String or binary data would be truncated
    Also other date fields are sent with '' like '20150427'
    Additionally fields which are Characters are also sent in '' like 'Shaibayan' but when these fields are coming empty at that time the Audit log SQL INSERT shows them as ''' i.e. 3 single quotes instead of '' which we should get.
    Thanks,
    Shaibayan

    ORA-28545:     error diagnosed by Net8 when connecting to an agent
    Cause:      An attempt to call an external procedure or to issue SQL to a non-Oracle system on a Heterogeneous Services database link failed at connection initialization. The error diagnosed by Net8 NCR software is reported separately.
    Action:      Refer to the Net8 NCRO error message. If this isn't clear, check connection administrative setup in tnsnames.ora and listener.ora for the service associated with the Heterogeneous Services database link being used, or with 'extproc_connection_data' for an external procedure call.
    And a brief search of Metalink gave me a load of forum threads which discuss the same issue.
    Edited by: Satish Kandi on Apr 29, 2009 12:19 PM

  • Microsoft sql server 2008 installation issue

    Iam new to microsoft sql server.i have installed microsoft sql sever.
    and if i go through following
    All programs-->Microsoft SQL Server 2008-->Configuration tools-->Sql server configuration manager-->Sql server services
    --> it is showing as the remote procedure call failed (0x800706be)
    My pc is windows 7 32 bit .to make it run wt is need to be done................plz help.

    Hi
    Please Refer
    Balmukund's Link.. Service Pack Upgrade Should fix your Issue,
    check
    http://thesqldude.com/2012/12/05/sql-server-2012-configuration-manager-wmi-error-remote-procedure-call-failed-0x800706be/
    Balmukund Lakhani
    Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    | Facebook
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle
    1 hour 13 minutes ago
    Reply
    |
    Quote
    |
    Propose as answer
    |
    Report as abuse
    Balmukund
    Microsoft
    (MSFT)
    Nag Pal MCTS/MCITP (SQL Server 2005/2008) :: Please Mark Answer/vote if it is helpful ::

  • SQL Server Maintenance Plan Issue

    SQL Server Version:
    Microsoft SQL Server 2005 - 9.00.5000.00 (Intel X86) 
    Dec 10 2010 10:56:29 
    Copyright (c) 1988-2005 Microsoft Corporation 
    Enterprise Edition on Windows NT 5.2 (Build 3790: Service Pack 2)
    Issue : Maintenance Plan - DB backup plan & TRN Log backup plan skipped / some times not deleting the old backup files.
    Error : Failed to retrieve date for this request (Microsoft.SqlServer.SmoEnum)
    Additional Informaiton
    An exception occurred while executing a Transact-SQL statement or batch.
    (Microsoft.SqlServer.ConnectionInfo)
    A Server error occurred on the current command.
    The results, if any should be discarded (Microsoft Sql Server)
    Any experts can help me to resolve this issue.
    Thanks
    drmrpush
    MRVSFLY

    Hello,
    Same issue reported here:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/601fd83c-c49f-4bf8-b69d-95431197652d/maintenance-plan-is-not-opening-on-sql-server-2005-sp2?forum=sqlkjmanageability
    Please check solution on :
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/3e53ba8b-ea23-4629-98db-43c80ba9888e/cannot-save-maintenance-plans?forum=sqltools
    This problem occurs if some of the stored procedures while installing SP2 has not been applied successfully. So manually run the script below and it may resolve
    your issue. It resolved ours and we went throught exact same process of re-installing several times.
                    1)     
     First go to the folder Install . The default location is this = “C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Install “ .
    Please post back still your issue not resolves.
    2)     
    Then in this folder find this “sysdbupg.sql” .
    3)     
    Please open this script with a nodepad.
    4)     
    Then copy the
    whole script and then paste it in the Query window of the Management studio.
    5)     
    Then execute this script.
    6)     
    Once this script has been successfully executed, The issue should be resolved.
    Regards, Pradyothana DP. Please Mark This As Answer if it solved your issue. Please Mark This As Helpful if it helps to solve your issue. ========================================================== http://www.dbainhouse.blogspot.in/

  • SQL Server 2012 Installation Issue

    Hi
    Not sure if this is the correct forum for this but I'll post anyway.
    Ialready have sql 2005 and 2008r2 installed on my local machine running windows 7, 64 bit.
    I recently tried to install sql 2012 but ran into a problem that I'm stumped by. The installation runs fine, no errors or issues. When I start 2012 the SS Management studio window appears but the usual splash screen in the middle of the window asking to
    to connect to a server does not. If I try hitting any of the meny items at the top of the screen the SSMS window just hangs.
    I have service pack 1 installed also. I uninstalled and tried again but still no luck. my SQL 2005 and 2008r2 version are still fine and run as normal. I also tried installing sql 2014 to see if that would work but I had the same issue as with 2012.
    Any ideas anyone?
    thanks in advance
    

    Hi,
    Both SQL Server 2012 and SQL Server 2014 require .NET Framework 4.0 which does not required by the previous versions.
    Make sure that . NET Framework 4.0 has been successfully installed on your system before you install SQL Server
    Hardware and Software Requirements for Installing SQL Server 2014
    http://msdn.microsoft.com/en-us/library/ms143506.aspx
    Thanks.
    Tracy Cai
    TechNet Community Support

  • SQL Server 2008R2 memory issues

    Hi Experts.
    I have SQL Server 2008R2 installation,We allocated 102400MB(100GB) Memory   out of 128GB Installed.
    But Task manager is showing  SQL Servr using 104 GB.Please some body let us know why SQL Server uisng more memory more than we allocated.
    Please advise next step or recommendations if any 
    OS :Windows 2008R2 64bit.
    DB:SQL Server 2008R2 64bit.
    Thanks in advance.
    Regards,

    But Task manager is showing  SQL Servr using 104 GB.Please some body let us know why SQL Server uisng more memory more than we allocated.
    You should not refer to task manager for SQL server memory consumption. Its windows tool it always wont show you correct value.
    Please use below query to SQL Server memory utilization
    select
    (physical_memory_in_use_kb/1024)Memory_usedby_Sqlserver_MB,
    (locked_page_allocations_kb/1024 )Locked_pages_used_Sqlserver_MB,
    (total_virtual_address_space_kb/1024 )Total_VAS_in_MB
    from sys. dm_os_process_memory
    100 G limit is put on SQL Server buffer pool. SQL Server can still use memory more than 100 G because few memory allocations for objects like, XML,SQLCLR, Linked server, backup , database mail etc are allocated directly by windows and sys.dm_os_process_memory
    does not tracks it. So just relax this is normal
    Task manager only show Working set.
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • SQL Server - row locking

    I'm running a test migration against a production SQL Server database. Unfortunately when the workbench accesses the SQL Server table it's locking rows. Is there anyway to tell workbench to access in read only/no row lock mode?

    Hi,
    I don't think only rows are locked but tables are.
    It's completely normal that there're locks especially during data migration.
    This is to respect the data integrity.
    If during your migration, updates on your SQL server database has been made you could get incoherences without this locks.
    Regards
    Mireille MEGE

  • Migration from SQL Server to Oracle issue

    Hi,
    While trying to migrate SQL Server to Oracle via Standard Migration method, I got stuck at the point where it says.....
    To perform online capture, right-click the connection name in the Connections navigator and select Capture database-type (for example, Capture MySQL, Capture Microsoft Access, Capture Microsoft SQL Server, or Capture Sybase Adaptive Server).
    The problem is that, I do not see this menu Capture Microsoft SQL Server. Looks like this is a bug SQL Developer 3, which does not shows option for Capture on right clicking the non-oracle database connection. In earlier release of SQL Developer 2.1.1, I can see the option of Catture...
    Thanks,
    Gyan

    Gyan,
    You are correct. The online help screen says -
    <<<
    Online Capture
    To perform an online capture of the source database, you can have the capture performed automatically as part of the Quick Migrate option, or you can have it performed as a separate operation by right-clicking the connection name in the Connections navigator and selecting Capture product-name (for example, Capture MySQL, Capture Microsoft Access, Capture Microsoft SQL Server, or Capture Sybase Adaptive Server).
    >>>
    but this option does not show up.
    I did some testing and was able to make the capture by following these steps -
    - right click on the SQL*Server database in the Connections panel
    - choose 'Migrate to Oracle'
    - follow the menus until you get to 'Capture' screen where you should have the SQL*Server database to be migrated in the 'Selected Databases' panel
    - then choose 'Finish' from the options at bottom of the screen.
    - you should then have the capture scripts in the directory chosen earlier in the process.
    Regards,
    Mike

  • Data Modeler EA1:  Importing SQL Server Data Dictionary issue

    I am using the Data Dictionary Import Wizard to import the Schema of a SQL Server 2005 database (JDBC connection has "SQL Server 2005" as the Type) into the Oracle SQL Developer Data Modeler. In step 4 of the import, under the "Import to:" section, there is only SQL Server 2000 available in the drop down.

    Database Name: Microsoft SQL Server
    Database Version 10.00.2531
    I assumed that a SQL Server 2008 DB would be handled as a SQL Server 2005 DB (that is until 2008 is supported). Currently the db is not using any SQL Server 2008 specific features.
    In Oracle Developer Data Model 2, the tables with xml data type would not import. This time, those tables did import.

  • SQL Server Transacational Replication Issue while adding a new article

    I have a "PULL" transaction replication toplogy (SQL server 2008 R2 - publisher,subscriber & distributor) in place and is working fie. I added a new article (table) using sp_addarticle and it works fine. Then I tried to add subscription
    to the new article using sp_adddsubscrition SPROC from the publisher (details below)
    EXEC sp_addsubscription @publication = @pub_name, @article = @article_name, @subscriber = @sub_server, @destination_db   
    = @sub_dbname, @subscription_type = N'pull',@update_mode = N'read only', @sync_type = 'sutomatic', @status = 'active', 
    @reserved ='Internal'
    I tried with all combination of values in the @sync_type parametr,
    The above command fails with the following message:
    Msg 14100, Level 16, State 1, Procedure sp_MSrepl_addsubscription, Line 533;
    Specify all articles when subscribing to a publication using concurrent snapshot processing.
    The sync_type value parameter is "replication support type" when the subscrition was added orginally to the publication. This trsnslates into a value of 3 (CONCURRENT)  in sync_method
    column on the outpout of sp_helppublication SP execution.
    What am I doing wrong? Please advise. Your help is much appreciated.
    Thanks in advance
    Kirti

    Thanks for your reposne, Mr. Cottr.
    It was a type-oin the value for @sync_type parameter in the sp_addsubscription call when I posted this article originally. It was actually set to "automatic".  I have posted the scripts per your request. These scripts are executed in SQLCMD mode in
    SSMS query qindow. Since this is a PULL subscription, thre is another script for pP-addpullsubscription that is not incldued in this post. If you need that also, I will be glald to post that also. Thanks again for your help.
    -->>>>>sp_addpublication:
    USE [master]
    GO
                           SQL Server Transactional Replication Related Scripts
    Function: Configuring publication on the database at the publisher
    -- TO DO: Parameters to set before executing this TSQL batch script
    :SETVAR pub_dbname                TestDB
    :SETvar pub_name                  TestDB-TranPub01
    :SETVAR distributor               DISTRIBSVR
    :SETVAR repl_admin_account        <domain>\<account_name>
                                       --replication admin account for non-prod environment
    :SETVAR repl_admin_password       <pwd>
                                       --password for replication admin account
    USE [$(pub_dbname)]
    SET NOCOUNT ON
    IF db_name() IN ('master', 'model', 'msdb', 'tempdb', 'distribution', 'DBA')
    BEGIN
       RAISERROR('Please set the user database name properly and rerun the script', 15, 100)
       RETURN
    END
    DECLARE @dynsql                        sysname
           ,@repl_ddl                      int
           ,@allow_initialize_from_backup  varchar(5)
    SET @repl_ddl                     = 1       -- preferred value is 0 (replication of DDL statements prohibited; manually enabled
    when needed only)
    SET @allow_initialize_from_backup = 'true'  -- preferred /do not change this value
    -- Adding the transactional publication
    DECLARE @desc     varchar(255)
    SET @desc = 'Transactional replication of database ' + QUOTENAME('$(pub_dbname)') +
                ' from publisher ' + QUOTENAME(@@servername) + '; Publication: ' + QUOTENAME('$(pub_name)')
    PRINT '1. Configureing publication ' + QUOTENAME('$(pub_name)') + ' on database ' + QUOTENAME('$(pub_dbname)') + ' ...'
    EXEC sp_addpublication
         @publication                  = '$(pub_name)',
         @description                  = @desc,
         @retention                    = 0,
         @add_to_active_directory      = N'false',
         @allow_push                   = N'false',      -- push subscription disabled
         @allow_pull                   = N'true',       -- pull subscription enabled
         @allow_anonymous              = N'false',   
         @allow_sync_tran              = N'false',
         @allow_queued_tran            = N'false',
         @allow_dts                    = N'false',
         @allow_initialize_from_backup = @allow_initialize_from_backup,
         @allow_subscription_copy      = N'false',
         @compress_snapshot            = N'false',
         @enabled_for_internet         = N'false',    
         @enabled_for_p2p              = N'false',
         @independent_agent            = N'true',
         @immediate_sync               = N'false',     
         @repl_freq                    = N'continuous',
         @replicate_ddl                = @repl_ddl,
         @snapshot_in_defaultfolder    = N'true',
         @status                       = N'inactive',   -- initialy publication is inactive / activated later after articles
    are added to the pblication
         @sync_method                  = N'concurrent'  -- preferred
    IF @@ERROR <> 0 RETURN
    PRINT '2. Configureing publication ' + QUOTENAME('$(pub_name)') + ' on database ' + QUOTENAME('$(pub_dbname)') + ' ...'
    EXEC sp_addpublication_snapshot
          @publication                 = '$(pub_name)',
          @frequency_type              = 1,
          @frequency_interval          = 1,
          @frequency_relative_interval = 1,
          @frequency_recurrence_factor = 0,
          @frequency_subday            = 8,
          @frequency_subday_interval   = 1,
          @active_start_time_of_day    = 0,
          @active_end_time_of_day      = 235959,
          @active_start_date           = 0,
          @active_end_date             = 0,
          @job_login                   = '$(repl_admin_account)',
          @job_password                = '$(repl_admin_password)',
          @publisher_security_mode     = 1,             --Windows authentiction
          @publisher_login             = '$(repl_admin_account)',
          @publisher_password          = '$(repl_admin_password)'
    IF @@ERROR <> 0 RETURN
    PRINT 'Executing sp_helppublication for ' + QUOTENAME('$(pub_dbname)') + '.' + QUOTENAME('$(pub_name)') + ' ...'
    EXEC sp_helppublication @publication = '$(pub_name)'
    PRINT 'Executing sp_helppublication_snapshot for ' + QUOTENAME('$(pub_dbname)') + '.' + QUOTENAME('$(pub_name)') + ' ...'
    EXEC sp_helppublication_snapshot @publication = '$(pub_name)'
    --->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    -->>>>sp_addsubscription
    USE [master]
    GO
                           SQL Server Transactional Replication Related Scripts
    Function: Register the (pull) subscription at the subscriber
    -- TO DO: Parameters to set before executing this TSQL batch script
    :SETVAR publisher_dbname          TestDB
    :SETvar publication_name          TestDB-TranPub01
    :SETVAR subs_server               SUBSVR
    :SETVAR subs_dbname               TestDB
    :SETVAR distributor               DISTRIBSVR
    :SETVAR repl_admin_account        <domain>\<account_name
                                      --replication admin account for non-prod environment
    :SETVAR repl_admin_password      <pwd>
                                      --password for replication admin account
    USE [$(publisher_dbname)]
    SET NOCOUNT ON
    IF db_name() IN ('master', 'model', 'msdb', 'tempdb', 'distribution', 'DBA')
    BEGIN
       RAISERROR('Please set the user database name properly and rerun the script', 15, 100)
       RETURN
    END
    DECLARE @dynsql                        sysname
           ,@distibutor                    sysname
           ,@subscriber                    sysname
           ,@pub_dbname                    sysname
           ,@pub_name                      sysname
           ,@pub_login                     sysname
           ,@pub_password                  sysname
           ,@dest_dbname                   sysname
           ,@job_login                     sysname
           ,@job_password                  sysname
           ,@repl_ddl                      int
           ,@allow_initialize_from_backup  varchar(5)
    SET @pub_dbname                   = '$(publisher_dbname)'
    SET @pub_name                     = '$(publication_name)'
    SET @subscriber                   = '$(subs_server)'
    SET @dest_dbname                  = '$(subs_dbname)'
    SET @distibutor                   = '$(distributor)'
    SET @job_login                    = '$(repl_admin_account)'  
                                         -- used by replication agents to connect
    to publisher for queued updating subscriptions
                                         -- make sure account has DBO access on subscriber
    db
    SET @job_password                 = '$(repl_admin_password)'
    PRINT '1. Adding subscriber for pull subsctiption of publication ' + QUOTENAME(@pub_name) + ' on database ' + QUOTENAME(@pub_dbname) + ' ...'
    EXEC sp_addsubscription
         @publication       = @pub_name,
         @article           = 'all',
         @subscriber        = @subscriber,
         @destination_db    = @dest_dbname,
         @subscription_type = N'pull',
         @update_mode       = N'read only',
         @sync_type         = 'replication support only',
         @status            = 'active'
    IF @@ERROR <> 0 RETURN
    Execute sp_helpsubscription @publication = 'FTBTrade_TEST-TranPub01'
    --@pub_name

  • Sql server 2014 AlwaysON issue

    Hi:
    I am configuring AlwaysON availability groups with one primary and one replica, on 2014 server
    things I am done with:
    - both the systems are in windows cluster
    - Cluster service is on on both the servers
    - Enabled AlwaysOn from COnfiguration Manager.
    - Hadr_endpoint on port 5022 is STARTED.
    In the Listener Tab, I am choosing the option 'Create an Availablity Group' and I am using the DHCP network mode, port 1433.
    I am not using static IP
    I get the following error:
    Failed to join the database 'DB1' to the availability group 'AG01' on the availability replica 'Server2'. (Microsoft.SqlServer.Smo)
    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
    The connection to the primary replica is not active.  The command cannot be processed. (Microsoft SQL Server, Error: 35250)

    can you try to see,is that works?
    http://mssqlwiki.com/2013/06/20/the-connection-to-the-primary-replica-is-not-active-the-command-cannot-be-processed/
    http://blogs.msdn.com/b/alwaysonpro/archive/2013/12/09/trouble-shoot-error.aspx
    http://sqlserver-help.com/tag/the-connection-to-the-primary-replica-is-not-active-the-command-cannot-be-processed/
    Thanks, Rama Udaya.K (http://rama38udaya.wordpress.com) ---------------------------------------- Please remember to mark the replies as answers if they help and UN-mark them if they provide no help,Vote if they gives you information.

  • SQL Server 2008r2 issue for w8.1

    Hi,
    I am getting sql server 2008r2 compatibility issue for w8.1 whenever I try to installed it.Please check the attached screen shoot given bellow

    You must read
    Hardware and software requirements for SQl Server 2008 r2 before proceeding. You did not told edition of SQL server you are trying to install on windows 8.
    Enterprise edition is not supported on windows 8
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Articles

  • How much Memory should be allocated to SQL Server 2005

    Hi,
    I have a SQL Server 2005 installation on a server having 64GBof RAM.
    SQL server is allocated 57GB of the available RAM.
    Could you please tell me what would be the ideal RAM allocation for my scenario. is the one that is set now, fine.
    How much RAM should be left for the OS and other processes to run?
    I have around 8 databases on the server and the cumulative size of all the databases in about 800GB, these are highly used servers, used for a public domain.

    Umesh,
    Saeid and Uri has already given you good articles to refer to please read them. Reg SQL Server utilization I am sure you are referring to task manager which is always not correct place to look for memory utilization. Below link has query which will give
    you SQL Server memory utilization
    http://blogs.msdn.com/b/sqlsakthi/archive/2011/02/28/t-sql-script-to-monitor-memory-usage-by-sql-server-instance.aspx
    Article provided by Uri will give you not absolute value but almost correct value, but since you asked absolute value you need to look at performance counter to reach at correct memory utilization. If you refer to section 'Does my SQL server has low memory'
    in article which Saeid gave you will find list of counters to monitor for memory utilization use the counters to reah absolute value.
    >>OK, Can high RAM utilization by sql server cause the OS to restart by any chance.
    IMO its not possible I have never seen SQL server being cause for OS shutdown. SQL Server works in non preemptive mode and will yield memory to OS when required. One possibility is when SQL server has locked pages in memory(LPIM)  and some rouge process
    or driver starts using memory from OS heavily and since  SQL server memory is locked( due to LPIM privilege)  it cannot trim heavily resulting in OS to terminate but this is not because of SQL server but because of bad drivers and processes leaking
    memory on OS.
    SQL server using memory is normal behavior
    >>This question seems vague, but I had to ask this, because my server restarts abruptly and I don't get valid reasons in the Logs for that matter.
    Does SQL server starts abruptly or windows OS ? Please look at event viewer for more details and SQL server logs. Is your SQL Server 2005 patched to SP4
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • Local Network Connection Problem with SQL Server 2008 R2

    Hi,
    I have CRM application which uses SQL server 2008. Weird thing is that I have no problems connecting from client machines to the server when using a particular router (via LAN) and when I upgrade the firmware of the same router (A common open source firmware
    which is used by many also works perfect apart from mentioned problem) and restart the server, the connection cannot be established. I get Error 40. 
    When i downgrade the firmware and restart the server, the connection works again.
    Please note that I am absolutely not touching any configuration of the server. Also the CRM software allows remote connections from public IPs which this feature works fine with both downgraded and upgraded firmwares. 
    As for my understanding, the routers do not block ports in LAN connections. So how can I diagnose the reason for this connection problem?

    Hi Leony83,
    Please also help to check Windows Event Log information regarding this issue, so that we can do further investigation. In additin, here is the general steps to troubleshoot SQL Server Error 40 issue. Please see:
    SQL SERVER – Fix : Error : 40 – could not open a connection to SQL server – Fix Connection Problems of SQL Server:
    http://blog.sqlauthority.com/2008/08/24/sql-server-fix-error-40-could-not-open-a-connection-to-sql-server-fix-connection-problems-of-sql-server/
    Hope this helps.
    Regards,
    Elvis Long
    TechNet Community Support

  • Taking snapshot of oracle tables to sql server using transactional replication is taking a long time

    Hi All,
    I am trying to replicate around 200 oracle tables onto sql server using transaction replication and it taking a long time i.e the initial snapshot is taking more than 24 hrs and it still going on.
    Is there any way to replicate those these tables faster?
    Kindly help me out..
    Thanks

    Hi,
    According to the description, I know the replication is working fine. But it is very slow. 
    1. Check the CPU usage on Oracle publisher and SQL Server. This issue may due to slow client processing (Oracle performance) or Network performance issues.
    2. Based on SQL Server 2008 Books Online ‘Performance Tuning for Oracle Publishers’ (http://msdn.microsoft.com/en-us/library/ms151179(SQL.100).aspx). You can enable the transaction
    job set and follow the instructions based on
    http://msdn.microsoft.com/en-us/library/ms147884(v=sql.100).aspx.
    2. You can enable replication agent logging to check the replication behavior. You may follow these steps to collect them:
    To enable Distribution Agent verbose logging. Please follow these steps:
    a. Open SQL Server Agent on the distribution server.
    b. Under Jobs folder, find out the Distribution Agent.
    c. Right click the job and choose Properties.
    d. Select Steps tap, it should be like this:
    e. Click Run agent and click Edit button, add following scripts by the end of scripts in the command box:
            -Output C:\Temp\OUTPUTFILE.txt -Outputverboselevel 2
    f. Exit the dialogs
     For more information about the steps, please refer to:
    http://support.microsoft.com/kb/312292
    Hope the information helps.
    Tracy Cai
    TechNet Community Support

Maybe you are looking for

  • Using ditaval files with XML Author

    I've been evaluating XML Author and am trying to determine how to use ditaval files with it. If I want to save a ditamap as a book for PDF creation, the Prompt for DitaVal File check box is greyed out. Does anyone know why this might be the case? Is

  • SQL Developer cloud login - Unexpected token NUMERIC_VALUE encountered

    Dear all I have set up a cloud database, the database is activated. I have reset the published sftp user which was sent by mail and a new user in APEX interface is created, the groups are attached. Now for cloud new connection in SQL Developer -> Use

  • "Dispatcher running, server not found" After installing temporary license

    hi all, we have Xi server at stack 03. As the licence expired, we requested for temporay license from SAP Marketplace and updated the same using Visual admin tool. The new expiry date was reflected in the visual admin tool. But once we restrted the W

  • Printer on Powerbook + Software questions

    Hi there! I'm new to these boards as well as new to Apple. I have just purchased a Powerbook 15" and have some questions. I have an hp deskjet printer...would I be able to hook my powerbook to that? Or are there specific apple friemdly printers I can

  • Setting user permissions when running commands

    Here's a doosey, Looking to implement a system which will run "commands" being recieved from the network from a bunch of different users. I want the users to have different permissions depending on their username. I'm thinking the backing store as be