<?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: Checkpoints in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/checkpoints/qaa-p/13848724#M4879567</link>
    <description>&lt;P&gt;Rather easy to find: It's the answer to &lt;A href="https://sqlanywhere-forum.sap.com/users/18/glenn-paulley"&gt;Glenn's&lt;/A&gt; single question:) - although it was actually mine:)&lt;/P&gt;
&lt;P&gt;&lt;DEL&gt;For LOAD TABLE, the WITH CHECKPOINT clause might do the trick...&lt;/DEL&gt;&lt;/P&gt;
&lt;P&gt;Sigh, I'm wrong, the docs state:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;A checkpoint is carried out at the beginning of the operation. A second checkpoint is performed at the end if WITH CHECKPOINT ON is specified.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Tue, 18 Sep 2018 11:31:00 GMT</pubDate>
    <dc:creator>VolkerBarth</dc:creator>
    <dc:date>2018-09-18T11:31:00Z</dc:date>
    <item>
      <title>Checkpoints</title>
      <link>https://community.sap.com/t5/technology-q-a/checkpoints/qaq-p/13848717</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We are running SQLAnywhere 17 (Version 17.0.8.4003), and some of our clients are complaining about a lack of performance. We notice a lot of checkpoints in a single minutes on their database.&lt;/P&gt;
&lt;P&gt;Here an example of the database server messages : &lt;/P&gt;
&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;/SPAN&gt;I. 03/06 11:27:35. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:27
I. 03/06 11:27:35. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:27
I. 03/06 11:27:37. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:27
I. 03/06 11:27:37. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:27
I. 03/06 11:27:38. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:27
I. 03/06 11:27:38. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:27
I. 03/06 11:27:38. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:27
I. 03/06 11:27:38. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:27
I. 03/06 11:27:39. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:27
I. 03/06 11:27:39. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:27
I. 03/06 11:27:42. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:27
I. 03/06 11:27:42. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:27
I. 03/06 11:27:45. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:27
I. 03/06 11:27:45. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:27
I. 03/06 11:27:48. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:27
I. 03/06 11:27:48. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:27
I. 03/06 11:27:51. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:27
I. 03/06 11:27:51. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:27
I. 03/06 11:27:52. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:27
I. 03/06 11:27:52. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:27
I. 03/06 11:27:53. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:27
I. 03/06 11:27:53. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:27
I. 03/06 11:27:54. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:27
I. 03/06 11:27:54. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:27
I. 03/06 11:27:55. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:27
I. 03/06 11:27:55. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:27
I. 03/06 11:27:55. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:27
I. 03/06 11:27:55. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:27
I. 03/06 11:27:57. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:27
I. 03/06 11:27:57. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:27
I. 03/06 11:27:59. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:27
I. 03/06 11:27:59. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:27
I. 03/06 11:28:00. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:00. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:02. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:02. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:03. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:03. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:12. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:12. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:12. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:12. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:14. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:14. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:16. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:16. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:17. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:17. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:17. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:17. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:17. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:17. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:18. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:18. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:21. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:21. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:24. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:24. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:27. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:27. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:28. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:28. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:49. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:49. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:49. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:49. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:49. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:49. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:49. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:49. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:50. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:51. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:52. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:52. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:54. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:54. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:55. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:55. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:58. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:28:58. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:28
I. 03/06 11:29:00. Starting checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:29
I. 03/06 11:29:00. Finished checkpoint of "NEUTRIK" (NEUTRIK.db) at Tue Mar 06 2018 11:29
&lt;/PRE&gt;&lt;/DIV&gt;


&lt;P&gt;Does this can explain the lack of performance ?
If it is not the reason of the lack of performance why the server is doing all this Checkpoints ? on the database we are just doing select, updates, and some times a delete.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 04:23:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/checkpoints/qaq-p/13848717</guid>
      <dc:creator>former_SQLA_member1694891</dc:creator>
      <dc:date>2018-09-17T04:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Checkpoints</title>
      <link>https://community.sap.com/t5/technology-q-a/checkpoints/qaa-p/13848718#M4879561</link>
      <description>&lt;P&gt;Do you use a transaction log? Otherwise, each COMMIT will force a checkpoint, leading to probably horrible performcance, c.f. that &lt;A href="http://dcx.sap.com/index.html#sqla170/en/html/814394686ce21014bd9ecec9f7e0594d.html"&gt;topic&lt;/A&gt;...&lt;/P&gt;
&lt;P&gt;Or have you changed the default settings for checkpoint/recovery time? I.e. what does the following reveal:&lt;/P&gt;
&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;/SPAN&gt;select connection_property('checkpoint_time'), connection_property('recovery_time');
&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 17 Sep 2018 04:34:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/checkpoints/qaa-p/13848718#M4879561</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2018-09-17T04:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Checkpoints</title>
      <link>https://community.sap.com/t5/technology-q-a/checkpoints/qaa-p/13848721#M4879564</link>
      <description>&lt;P&gt;Thanks for your quick reply  :).&lt;/P&gt;
&lt;P&gt;Yes we are using a transaction log.&lt;/P&gt;
&lt;P&gt;We haven't change the setting of the properties checkpoint_time(value 60) and recovery_time (value 2).&lt;/P&gt;
&lt;P&gt;Me migrate this client from SQLAnywhere12 to SQLAnywhere17 a short time ago. During this migration we unload the "sqla12 database" and reload it in a "sqla17 database" instead of upgrating it.&lt;/P&gt;
&lt;P&gt;We are also truncating the log at each database backup, we were doing that with the SQLA12 to.&lt;/P&gt;
&lt;P&gt;And we the option autocomit is on&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 09:05:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/checkpoints/qaa-p/13848721#M4879564</guid>
      <dc:creator>former_SQLA_member1694891</dc:creator>
      <dc:date>2018-09-17T09:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Checkpoints</title>
      <link>https://community.sap.com/t5/technology-q-a/checkpoints/qaa-p/13848719#M4879562</link>
      <description>&lt;P&gt;The checkpoints &lt;STRONG&gt;may&lt;/STRONG&gt; not be related to performance problems at all.&lt;/P&gt;
&lt;P&gt;All the checkpoints are starting and ending within the same second, which probably means they are all taking much less than one second each (otherwise, at least &lt;STRONG&gt;one&lt;/STRONG&gt; Starting Ending pair would span a second boundary, one thinks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This leads one to think that these checkpoints &lt;STRONG&gt;may&lt;/STRONG&gt; be side-effects of some operation(s) that have a checkpoint as a side-effect, like ALTER TABLE, some DROP TABLE statements, some CREATE INDEX statements, &lt;STRIKE&gt;some&lt;/STRIKE&gt; LOAD TABLE statements... and BACKUP, but it's unlikely you're running BACKUP that often :)
&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;B&gt;Update: LOAD TABLE is the most likely culprit... at least it is in my code &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/B&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Another possibility is that explicit CHECKPOINT statements appear in your application code or stored procedures somewhere... CHECKPOINT has sometimes been confused with COMMIT.&lt;/P&gt;
&lt;P&gt;Another possibility is your database is very busy... but that's hard to reconcile with 4 checkpoints in one second (11:28:49).&lt;/P&gt;
&lt;P&gt;Also, &lt;A href="http://www.risingroad.com/foxhound-4-0/Foxhound%204%20Database%20Monitor%20White%20Paper.html"&gt;consider Foxhound&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 15:24:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/checkpoints/qaa-p/13848719#M4879562</guid>
      <dc:creator>Breck_Carter</dc:creator>
      <dc:date>2018-09-17T15:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Checkpoints</title>
      <link>https://community.sap.com/t5/technology-q-a/checkpoints/qaa-p/13848722#M4879565</link>
      <description>&lt;P&gt;&lt;A href="https://sqlanywhere-forum.sap.com/questions/683#684"&gt;Glenn's answer from that older question&lt;/A&gt; has a quite exhaustive list of the statements that have an implicit checkpoint as side effect.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 03:32:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/checkpoints/qaa-p/13848722#M4879565</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2018-09-18T03:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Checkpoints</title>
      <link>https://community.sap.com/t5/technology-q-a/checkpoints/qaa-p/13848723#M4879566</link>
      <description>&lt;P&gt;Thanks for finding that list... I dunno where I got "some LOAD TABLE statements", probably misread some other Help topic.&lt;/P&gt;
&lt;P&gt;CHECKPOINT storms are quite common because repeated LOAD TABLE statements are quite common... so common I've come to ignore them... which explains why I didn't think of the likely answer... or old age &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;...now if you'll excuse me, I have to go and copy Glenn's list into the Foxhound Help.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 11:07:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/checkpoints/qaa-p/13848723#M4879566</guid>
      <dc:creator>Breck_Carter</dc:creator>
      <dc:date>2018-09-18T11:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Checkpoints</title>
      <link>https://community.sap.com/t5/technology-q-a/checkpoints/qaa-p/13848724#M4879567</link>
      <description>&lt;P&gt;Rather easy to find: It's the answer to &lt;A href="https://sqlanywhere-forum.sap.com/users/18/glenn-paulley"&gt;Glenn's&lt;/A&gt; single question:) - although it was actually mine:)&lt;/P&gt;
&lt;P&gt;&lt;DEL&gt;For LOAD TABLE, the WITH CHECKPOINT clause might do the trick...&lt;/DEL&gt;&lt;/P&gt;
&lt;P&gt;Sigh, I'm wrong, the docs state:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;A checkpoint is carried out at the beginning of the operation. A second checkpoint is performed at the end if WITH CHECKPOINT ON is specified.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 18 Sep 2018 11:31:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/checkpoints/qaa-p/13848724#M4879567</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2018-09-18T11:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Checkpoints</title>
      <link>https://community.sap.com/t5/technology-q-a/checkpoints/qaa-p/13848725#M4879568</link>
      <description>&lt;P&gt;Here's the &lt;A href="http://dcx.sap.com/index.html#sqla170/en/html/8134eed66ce2101487c7e84e68ca4c02.html*loio8134eed66ce2101487c7e84e68ca4c02"&gt;current list&lt;/A&gt; from the v17 docs, I guess it was built from Glenn's summary.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 11:34:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/checkpoints/qaa-p/13848725#M4879568</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2018-09-18T11:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Checkpoints</title>
      <link>https://community.sap.com/t5/technology-q-a/checkpoints/qaa-p/13848726#M4879569</link>
      <description>&lt;P&gt;...and for the record, here's the future Foxhound Help topic for the "Checkpoints" column...
&lt;/P&gt;&lt;HR /&gt;
Checkpoints is the number of checkpoint operations that have been executed in the previous interval.&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Performance Tip:&lt;/B&gt; Checkpoint operations can be expensive. More than one checkpoint every once in a while may indicate that undesirable behavior is causing a performance bottleneck. &lt;/P&gt;
&lt;BLOCKQUOTE&gt;
Generally speaking, explicit CHECKPOINT statements are not required in application programs because the server does a good job of scheduling checkpoints to minimize their impact on performance. An explicit CHECKPOINT should never be used without careful consideration, especially in a busy multi-user environment.

Checkpoints are different from commits; a commit ensures that the transaction log file is up to date whereas a checkpoint ensures that the database file is up to date. As long as commits are performed frequently, performance can be greatly improved by delaying checkpoint operations... which is what SQL Anywhere does by default.
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;&lt;B&gt;Performance Tip:&lt;/B&gt; Think twice before running a database without a transaction log. Even if you don't need the log for recovery purposes, SQL Anywhere will perform a checkpoint after every commit if there's no transaction log... and that can be very bad for performance.&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Performance Tip:&lt;/B&gt; If you see an "storm" of checkpoint operations, they may be caused by certain SQL statements (such as LOAD TABLE) that have "checkpoint" as a side-effect; here's the full list:
&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;ALTER INDEX REBUILD&lt;/LI&gt;
&lt;LI&gt;ALTER TABLE unless it adds a nullable column or a referential integrity constraint and does not need modify the table pages in any way&lt;/LI&gt;
&lt;LI&gt;BACKUP&lt;/LI&gt;
&lt;LI&gt;CHECKPOINT &lt;/LI&gt;
&lt;LI&gt;COMMIT when the database doesn't have a transaction log file&lt;/LI&gt;
&lt;LI&gt;CREATE DBSPACE&lt;/LI&gt;
&lt;LI&gt;CREATE INDEX that specifies a computed column&lt;/LI&gt;
&lt;LI&gt;DROP DBSPACE&lt;/LI&gt;
&lt;LI&gt;DROP MATERIALIZED VIEW if the view contains one or more rows&lt;/LI&gt;
&lt;LI&gt;DROP TABLE if the table contains one or more rows&lt;/LI&gt;
&lt;LI&gt;REFRESH MATERIALIZED VIEW&lt;/LI&gt;
&lt;LI&gt;REORGANIZE TABLE&lt;/LI&gt;
&lt;LI&gt;LOAD TABLE &lt;/LI&gt;
&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Checkpoints is based on the server-level Chkpt property for target databases running on SQL Anywhere versions 5 and 6, and on the database-level Chkpt property for versions 7 and later.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 11:48:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/checkpoints/qaa-p/13848726#M4879569</guid>
      <dc:creator>Breck_Carter</dc:creator>
      <dc:date>2018-09-18T11:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Checkpoints</title>
      <link>https://community.sap.com/t5/technology-q-a/checkpoints/qaa-p/13848727#M4879570</link>
      <description>&lt;P&gt;Thank for your reply.&lt;/P&gt;
&lt;P&gt;But in a normal use of our application we don't do all of this stuff (load table, ALTER TABLE, etc).&lt;/P&gt;
&lt;P&gt;We only do (a lot) Select, update, some insert and a few delete.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 12:15:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/checkpoints/qaa-p/13848727#M4879570</guid>
      <dc:creator>former_SQLA_member1694891</dc:creator>
      <dc:date>2018-09-18T12:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: Checkpoints</title>
      <link>https://community.sap.com/t5/technology-q-a/checkpoints/qaa-p/13848720#M4879563</link>
      <description>&lt;P&gt;Thank for your reply.&lt;/P&gt;
&lt;P&gt;But in a normal use of our application we don't do all of this stuff (load table, ALTER TABLE, etc).&lt;/P&gt;
&lt;P&gt;We only do (a lot) Select, update, some insert and a few delete.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 12:15:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/checkpoints/qaa-p/13848720#M4879563</guid>
      <dc:creator>former_SQLA_member1694891</dc:creator>
      <dc:date>2018-09-18T12:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Checkpoints</title>
      <link>https://community.sap.com/t5/technology-q-a/checkpoints/qaa-p/13848728#M4879571</link>
      <description>&lt;P&gt;Do you have any stored procedures or scheduled events inside your database?&lt;/P&gt;
&lt;P&gt;Regardless of the answer, it is unlikely the checkpoints are the originating cause of any performance problems since they are not taking very long.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 15:55:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/checkpoints/qaa-p/13848728#M4879571</guid>
      <dc:creator>Breck_Carter</dc:creator>
      <dc:date>2018-09-18T15:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Checkpoints</title>
      <link>https://community.sap.com/t5/technology-q-a/checkpoints/qaa-p/13848729#M4879572</link>
      <description>&lt;P&gt;Yes we have some stored procedures and functions and scheduled events in our database.&lt;/P&gt;
&lt;P&gt;I don't think either that the checkpoints are the cause of performance problems, but I want to know why we have some checkpoints storms with no reason :).&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 04:25:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/checkpoints/qaa-p/13848729#M4879572</guid>
      <dc:creator>former_SQLA_member1694891</dc:creator>
      <dc:date>2018-09-19T04:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Checkpoints</title>
      <link>https://community.sap.com/t5/technology-q-a/checkpoints/qaa-p/13848730#M4879573</link>
      <description>&lt;P&gt;Oh, there will be a reason &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Try running this query to look for possible "LOAD ..." statements (yes, I know there won't be any inside the views, but this came from a general-purpose template &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;BEGIN
SELECT * FROM SYSTABLE     WHERE view_def     LIKE '%LOAD %';
SELECT * FROM SYSPROCEDURE WHERE proc_defn    LIKE '%LOAD %';
SELECT * FROM SYSTRIGGER   WHERE trigger_defn LIKE '%LOAD %';
SELECT * FROM SYSEVENT     WHERE source       LIKE '%LOAD %';
END;
&lt;/PRE&gt;</description>
      <pubDate>Wed, 19 Sep 2018 08:37:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/checkpoints/qaa-p/13848730#M4879573</guid>
      <dc:creator>Breck_Carter</dc:creator>
      <dc:date>2018-09-19T08:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: Checkpoints</title>
      <link>https://community.sap.com/t5/technology-q-a/checkpoints/qaa-p/13848731#M4879574</link>
      <description>&lt;P&gt;Request level logging can be used to determine what kind of SQL statements are actually coming from the client side.&lt;/P&gt;
&lt;PRE&gt;--------------------------------------------------------------------- 
-- To log incoming SQL requests.

-- On
CALL sa_server_option ( 'Request_level_log_file', 'c:/temp/rlog.txt' );
CALL sa_server_option ( 'Request_level_logging', 'SQL+hostvars' );

-- Off
CALL sa_server_option ( 'Request_level_logging', 'NONE' );
&lt;/PRE&gt;

&lt;P&gt;Note: Yes, this old-style syntax works fine in SQL Anywhere 17.&lt;/P&gt;
&lt;P&gt;Note: Notepad can be used to view the output file while it is still being written to... Notepad is magic &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 08:43:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/checkpoints/qaa-p/13848731#M4879574</guid>
      <dc:creator>Breck_Carter</dc:creator>
      <dc:date>2018-09-19T08:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Checkpoints</title>
      <link>https://community.sap.com/t5/technology-q-a/checkpoints/qaa-p/13848732#M4879575</link>
      <description>&lt;P&gt;FWIW all this effort &lt;B&gt;might not help at all&lt;/B&gt; with the performance problems. Try one of the products listed in Table 1 &lt;A href="http://www.risingroad.com/foxhound-4-0/Foxhound%204%20Database%20Monitor%20White%20Paper.html#Foxhound%20Versus%20The%20Alternatives"&gt;&lt;B&gt;on this page&lt;/B&gt;&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 08:56:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/checkpoints/qaa-p/13848732#M4879575</guid>
      <dc:creator>Breck_Carter</dc:creator>
      <dc:date>2018-09-19T08:56:06Z</dc:date>
    </item>
  </channel>
</rss>

