<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Avoid or limit output log messages when inserting data into proxy table in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/avoid-or-limit-output-log-messages-when-inserting-data-into-proxy-table/qaa-p/13827212#M4858055</link>
    <description>&lt;P&gt;That was the case, thank you!&lt;/P&gt;</description>
    <pubDate>Fri, 06 May 2016 08:32:48 GMT</pubDate>
    <dc:creator>former_SQLA_member1694875</dc:creator>
    <dc:date>2016-05-06T08:32:48Z</dc:date>
    <item>
      <title>Avoid or limit output log messages when inserting data into proxy table</title>
      <link>https://community.sap.com/t5/technology-q-a/avoid-or-limit-output-log-messages-when-inserting-data-into-proxy-table/qaq-p/13827210</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a table _test in one DB (name it archive DB):&lt;/P&gt;
&lt;PRE&gt;CREATE TABLE _test(id INTEGER);
&lt;/PRE&gt;

&lt;P&gt;And I have a proxy table in another DB (name it main DB):&lt;/P&gt;
&lt;PRE&gt;CREATE SERVER "arch_database" CLASS 'SAODBC' USING 'place connection string here';
CREATE EXISTING TABLE p_test AT 'arch_database;;dba;_test';
&lt;/PRE&gt;

&lt;P&gt;Then I insert some records into this proxy table:&lt;/P&gt;
&lt;PRE&gt;INSERT INTO p_test(id)
    SELECT row_num FROM sa_rowgenerator(1, 5);
COMMIT;
&lt;/PRE&gt;

&lt;P&gt;Main DB output log:&lt;/P&gt;
&lt;PRE&gt;I. 05/06 14:12:57. 
The query is being processed in NO PASSTHRU mode

The capability check of 86 failed
I. 05/06 14:12:57. The Original Statement is 
    insert into p_test( id ) 
  select sa_rowgenerator.row_num from sa_rowgenerator(1,5)
I. 05/06 14:12:57. The Virtual Statement is 
    insert into p_test( id ) 
  select sa_rowgenerator.row_num from sa_rowgenerator(1,5)
I. 05/06 14:12:57. The Remote Statement for vt_1 is 
    insert into p_test( id ) values( :? ) 
I. 05/06 14:12:57. Server arch_database: INSERT INTO "dba"."_test"  ("id") VALUES (1 ) 
I. 05/06 14:12:57. Server arch_database: INSERT INTO "dba"."_test"  ("id") VALUES (2 ) 
I. 05/06 14:12:57. Server arch_database: INSERT INTO "dba"."_test"  ("id") VALUES (3 ) 
I. 05/06 14:12:57. Server arch_database: INSERT INTO "dba"."_test"  ("id") VALUES (4 ) 
I. 05/06 14:12:57. Server arch_database: INSERT INTO "dba"."_test"  ("id") VALUES (5 ) 
&lt;/PRE&gt;

&lt;P&gt;This is only a simple example. When real data will be "archived" in such a way, there will be millions of unnecessary rows flooding the output log.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;So here is the question:&lt;/STRONG&gt; is it possible to somehow turn off &lt;STRONG&gt;only these&lt;/STRONG&gt; specific messages in main DB output log? Thanks in advance.&lt;/P&gt;
&lt;P&gt;Main DB version: 11. Archive DB version: 16.&lt;/P&gt;
&lt;P&gt;P. s.: I know I could implement archiving in an opposite direction (i. e. getting data instead of pushing) but this question is not about that.&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2016 07:40:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/avoid-or-limit-output-log-messages-when-inserting-data-into-proxy-table/qaq-p/13827210</guid>
      <dc:creator>former_SQLA_member1694875</dc:creator>
      <dc:date>2016-05-06T07:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid or limit output log messages when inserting data into proxy table</title>
      <link>https://community.sap.com/t5/technology-q-a/avoid-or-limit-output-log-messages-when-inserting-data-into-proxy-table/qaa-p/13827211#M4858054</link>
      <description>&lt;P&gt;AFAIK, those console log messages come from the remote data access logging facility - apparently you have set &lt;A href="http://dcx.sybase.com/index.html#sa160/en/dbadmin/dboptions-s-5821452.html"&gt;option CIS_OPTION&lt;/A&gt; = 7. Unset that option via&lt;/P&gt;
&lt;LI-CODE lang="sql"&gt;SET OPTION PUBLIC.cis_option = '0';&lt;/LI-CODE&gt;


&lt;P&gt;(or unsetting it when used as temporary option) should prevent further messages.&lt;/P&gt;
&lt;P&gt;I would only set it to 7 (and possibly only for the desired connection) when you really need to "debug" the remote queries...&lt;/P&gt;
&lt;P&gt;Confine that &lt;A href="http://sqlanywhere-forum.sap.com/questions/17868"&gt;question&lt;/A&gt; and Breck's answer for details...&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2016 08:15:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/avoid-or-limit-output-log-messages-when-inserting-data-into-proxy-table/qaa-p/13827211#M4858054</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2016-05-06T08:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid or limit output log messages when inserting data into proxy table</title>
      <link>https://community.sap.com/t5/technology-q-a/avoid-or-limit-output-log-messages-when-inserting-data-into-proxy-table/qaa-p/13827212#M4858055</link>
      <description>&lt;P&gt;That was the case, thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2016 08:32:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/avoid-or-limit-output-log-messages-when-inserting-data-into-proxy-table/qaa-p/13827212#M4858055</guid>
      <dc:creator>former_SQLA_member1694875</dc:creator>
      <dc:date>2016-05-06T08:32:48Z</dc:date>
    </item>
  </channel>
</rss>

