<?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: log_send vs. log_sent DBREMOTE in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/log-send-vs-log-sent-dbremote/qaa-p/13849911#M4880754</link>
    <description>&lt;P&gt;Can you but disclose how can I change the value of log_send so that it has the value of log_sent?
I will do the manipulation on copies of DBs, and then check whether the tables are replicated, and then apply the change on productive DB.&lt;/P&gt;
&lt;P&gt;It is good to have such a solution, then I will manipulate only the SYSREMOTEUSER on remote, otherwise, I will need to manipulate the SYSREMOTEUSER on Cons. too (the log_received &amp;amp; confirm_received for this remote)&lt;/P&gt;</description>
    <pubDate>Thu, 31 Jan 2019 07:32:44 GMT</pubDate>
    <dc:creator>Baron</dc:creator>
    <dc:date>2019-01-31T07:32:44Z</dc:date>
    <item>
      <title>log_send vs. log_sent DBREMOTE</title>
      <link>https://community.sap.com/t5/technology-q-a/log-send-vs-log-sent-dbremote/qaq-p/13849909</link>
      <description>&lt;P&gt;We use DBREMOTE for replicating Sybase 10.0 databases since several years, for me is not exactly clear what is the difference between log_send &amp;amp; log_sent in SYSREMOTEUSERS!
Usually I had selten (or maybe never) seen DBs on which log_send &amp;lt;&amp;gt; log_sent!
According to the documentation of Sybase I get only this text: '&lt;EM&gt;Messages are sent only to subscribers for whom log_send is greater than log_sent.&lt;/EM&gt;'&lt;/P&gt;
&lt;P&gt;Now I have a weird case on which log_send is bigger than log_sent, but the borders of the online transaction log file is including the both offsets of log_send &amp;amp; log_sent (i.e. STARTOFFSET_LOGFILE &amp;lt; log_sent &amp;lt; log_send &amp;lt; ENDOFFSET_LOGFILE), but the DBREMOTE throws an error that the looked for offset is not existing.&lt;/P&gt;
&lt;P&gt;I can manipulate the offsets in SYSREMOTEUSERS but not for all the fields (here all I need is to manipulate the log_send which is not possible).&lt;/P&gt;
&lt;P&gt;Any explanation for such a situation? Is there any way to manipulate the log_send? or at least to assign it the value of log_sent.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2019 06:29:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/log-send-vs-log-sent-dbremote/qaq-p/13849909</guid>
      <dc:creator>Baron</dc:creator>
      <dc:date>2019-01-31T06:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: log_send vs. log_sent DBREMOTE</title>
      <link>https://community.sap.com/t5/technology-q-a/log-send-vs-log-sent-dbremote/qaa-p/13849910#M4880753</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;or at least to assign it the value of log_sent&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Setting log_sent to the log_send value might work but I don't know whether that will break synchronization... - In other words, I don't have a clue, I cannot remember a situation where both values were not identical.&lt;/P&gt;
&lt;P&gt;Reg will know.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2019 07:19:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/log-send-vs-log-sent-dbremote/qaa-p/13849910#M4880753</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2019-01-31T07:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: log_send vs. log_sent DBREMOTE</title>
      <link>https://community.sap.com/t5/technology-q-a/log-send-vs-log-sent-dbremote/qaa-p/13849911#M4880754</link>
      <description>&lt;P&gt;Can you but disclose how can I change the value of log_send so that it has the value of log_sent?
I will do the manipulation on copies of DBs, and then check whether the tables are replicated, and then apply the change on productive DB.&lt;/P&gt;
&lt;P&gt;It is good to have such a solution, then I will manipulate only the SYSREMOTEUSER on remote, otherwise, I will need to manipulate the SYSREMOTEUSER on Cons. too (the log_received &amp;amp; confirm_received for this remote)&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2019 07:32:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/log-send-vs-log-sent-dbremote/qaa-p/13849911#M4880754</guid>
      <dc:creator>Baron</dc:creator>
      <dc:date>2019-01-31T07:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: log_send vs. log_sent DBREMOTE</title>
      <link>https://community.sap.com/t5/technology-q-a/log-send-vs-log-sent-dbremote/qaa-p/13849912#M4880755</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;Can you but disclose how can I change the value of log_send&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That's a misunderstanding, I don't know how to do so. By saying "Setting log_sent to the log_send value" I simply suggested to modify &lt;STRONG&gt;log_sent&lt;/STRONG&gt; so that its new value equals the (unchanged) value of &lt;STRONG&gt;log_send&lt;/STRONG&gt;. And I generally don't recommend to modify sysremoteuser entries outside of the SQL Remote Agent (*) unless you are very aware of your actions and their consequences.&lt;/P&gt;
&lt;P&gt;(*) And I assume that you already do know some "hidden way" to modify these values. That's not a documented feature, for a reason.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2019 07:47:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/log-send-vs-log-sent-dbremote/qaa-p/13849912#M4880755</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2019-01-31T07:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: log_send vs. log_sent DBREMOTE</title>
      <link>https://community.sap.com/t5/technology-q-a/log-send-vs-log-sent-dbremote/qaa-p/13849913#M4880756</link>
      <description>&lt;P&gt;One more question please, according to my understanding the value of log_sent can only be a committed offset (Checkpoint). Am I correct?&lt;/P&gt;
&lt;P&gt;if yes, then I hava another problem that I cant find the value of log_send in the 'translated transaction log file' as a committed checkpoint, but it is somewhere between two checkpoints.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2019 08:07:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/log-send-vs-log-sent-dbremote/qaa-p/13849913#M4880756</guid>
      <dc:creator>Baron</dc:creator>
      <dc:date>2019-01-31T08:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: log_send vs. log_sent DBREMOTE</title>
      <link>https://community.sap.com/t5/technology-q-a/log-send-vs-log-sent-dbremote/qaa-p/13849914#M4880757</link>
      <description>&lt;P&gt;What do you mean by "committed ckeckpoint"? IMHO checkpoints and commits are separate concepts.&lt;/P&gt;
&lt;P&gt;In my understanding, SQL Remote sends only committed transactions, so the log offset entries in SYSREMOTEUSER should fit to offsets of committed transactions.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2019 10:42:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/log-send-vs-log-sent-dbremote/qaa-p/13849914#M4880757</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2019-01-31T10:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: log_send vs. log_sent DBREMOTE</title>
      <link>https://community.sap.com/t5/technology-q-a/log-send-vs-log-sent-dbremote/qaa-p/13849915#M4880758</link>
      <description>&lt;P&gt;After manipulating the log_send and log_sent, I could let the DB to start generating messages, but aftere a while I got the same phenomenon.
Log_Send &amp;gt; Log_sent, and DBREMOTE throws error stating: &lt;EM&gt;No log operation at offset of XXXX in the current transaction log&lt;/EM&gt;, despite this offset XXXX is existing in the current online transaction log file&lt;/P&gt;</description>
      <pubDate>Sun, 03 Feb 2019 17:20:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/log-send-vs-log-sent-dbremote/qaa-p/13849915#M4880758</guid>
      <dc:creator>Baron</dc:creator>
      <dc:date>2019-02-03T17:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: log_send vs. log_sent DBREMOTE</title>
      <link>https://community.sap.com/t5/technology-q-a/log-send-vs-log-sent-dbremote/qaa-p/13849916#M4880759</link>
      <description>&lt;P&gt;FWIW, &lt;A href="https://sqlanywhere-forum.sap.com/questions/30183"&gt;here is another question by you&lt;/A&gt; with a similar error message with some hints by Reg how to check the online log for according operations at relevant offsets.&lt;/P&gt;
&lt;P&gt;I don't know whether it applies here but the error situation there seems to have been due to a remote restored from an older backup so log offsets had been confirmed that were no longer contained in the current log although it contained the offset range...&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 04:53:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/log-send-vs-log-sent-dbremote/qaa-p/13849916#M4880759</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2019-02-04T04:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: log_send vs. log_sent DBREMOTE</title>
      <link>https://community.sap.com/t5/technology-q-a/log-send-vs-log-sent-dbremote/qaa-p/13849917#M4880760</link>
      <description>&lt;P&gt;This is not the case.
I think something is going wrong with this DB.
By starting the Database I get a warning:
Performance warning: Database file "G:\\Temp\\XX\\XXX\\Daten\\DBXX.db" consists of 24 disk fragments.&lt;/P&gt;
&lt;P&gt;Could such performance problem lead to errors in the behaviour of DBREMOTE?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2019 06:52:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/log-send-vs-log-sent-dbremote/qaa-p/13849917#M4880760</guid>
      <dc:creator>Baron</dc:creator>
      <dc:date>2019-02-05T06:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: log_send vs. log_sent DBREMOTE</title>
      <link>https://community.sap.com/t5/technology-q-a/log-send-vs-log-sent-dbremote/qaa-p/13849918#M4880761</link>
      <description>&lt;P&gt;That particular warning is very common, it just means the database file is split up into several disk fragments, and 24 is not a high number. It &lt;EM&gt;may slightly&lt;/EM&gt; impact performance but certainly not SQL Remote, which relies primarily on scanning the transaction log...&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2019 07:46:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/log-send-vs-log-sent-dbremote/qaa-p/13849918#M4880761</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2019-02-05T07:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: log_send vs. log_sent DBREMOTE</title>
      <link>https://community.sap.com/t5/technology-q-a/log-send-vs-log-sent-dbremote/qaa-p/13849919#M4880762</link>
      <description>&lt;P&gt;Besides that, I'm certainly out of my wits, and I hope &lt;A href="http://sqlanywhere-forum.sap.com/users/71/reg-domaratzki"&gt;@Reg&lt;/A&gt; will   have time to deal with this question...&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2019 07:47:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/log-send-vs-log-sent-dbremote/qaa-p/13849919#M4880762</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2019-02-05T07:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: log_send vs. log_sent DBREMOTE</title>
      <link>https://community.sap.com/t5/technology-q-a/log-send-vs-log-sent-dbremote/qaa-p/13849920#M4880763</link>
      <description>&lt;P&gt;But again to the first question: under which circumstances can be log_send &amp;gt; log_sent?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2019 10:56:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/log-send-vs-log-sent-dbremote/qaa-p/13849920#M4880763</guid>
      <dc:creator>Baron</dc:creator>
      <dc:date>2019-02-05T10:56:41Z</dc:date>
    </item>
  </channel>
</rss>

