<?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: DBSpace size limit in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/dbspace-size-limit/qaa-p/13825601#M4856444</link>
    <description>&lt;P&gt;&amp;gt; This is a consolidated database involved in SQL Remote replication.&lt;/P&gt;
&lt;P&gt;LOL! You &lt;B&gt;got&lt;/B&gt; me! (to suggest a solution that breaks replication:)&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jan 2021 11:20:12 GMT</pubDate>
    <dc:creator>Breck_Carter</dc:creator>
    <dc:date>2021-01-12T11:20:12Z</dc:date>
    <item>
      <title>DBSpace size limit</title>
      <link>https://community.sap.com/t5/technology-q-a/dbspace-size-limit/qaq-p/13825594</link>
      <description>&lt;P&gt;SQL ANYWHERE 16 &lt;/P&gt;
&lt;P&gt;I am reaching the DBSpace limit on one of our databases.  There is a 4K page size so our DBSpace limit is 1 TB.  My question is can I move existing tables into a new database space or must I unload and reload.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 15:25:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dbspace-size-limit/qaq-p/13825594</guid>
      <dc:creator>JimDiaz</dc:creator>
      <dc:date>2021-01-11T15:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: DBSpace size limit</title>
      <link>https://community.sap.com/t5/technology-q-a/dbspace-size-limit/qaa-p/13825597#M4856440</link>
      <description>&lt;P&gt;Sorry this is SQL Anywhere 17.0.10.6160&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 15:34:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dbspace-size-limit/qaa-p/13825597#M4856440</guid>
      <dc:creator>JimDiaz</dc:creator>
      <dc:date>2021-01-11T15:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: DBSpace size limit</title>
      <link>https://community.sap.com/t5/technology-q-a/dbspace-size-limit/qaa-p/13825595#M4856438</link>
      <description>&lt;P&gt;&lt;B&gt;Update:&lt;/B&gt; This is a &lt;B&gt;VERY BAD ANSWER&lt;/B&gt; because the database uses SQL Remote replication.&lt;/P&gt;
&lt;HR /&gt;

&lt;P&gt;&amp;gt; can I move existing tables into a new database space or must I unload and reload&lt;/P&gt;
&lt;P&gt;AFAIK UNLOAD and LOAD &lt;B&gt;is&lt;/B&gt; the fastest way to move, er, copy tables.&lt;/P&gt;
&lt;P&gt;Based on a recent conversation I believe dbunload -ac uses named pipes, or you can go bare metal for individual tables like Foxhound does when upgrading to a new version, using the technique described here &lt;/P&gt;
&lt;P&gt;&lt;A href="http://sqlanywhere.blogspot.com/2010/12/unload-and-load-via-named-pipes.html"&gt;http://sqlanywhere.blogspot.com/2010/12/unload-and-load-via-named-pipes.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;and here &lt;/P&gt;
&lt;P&gt;&lt;A href="http://sqlanywhere.blogspot.com/2011/08/unload-to-named-pipe-beats-unload.html"&gt;http://sqlanywhere.blogspot.com/2011/08/unload-to-named-pipe-beats-unload.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;HR /&gt;
&lt;P&gt;
&lt;IMG width="200" src="https://i.pinimg.com/474x/b9/c7/2c/b9c72cb42ae1a7d75fbebf69f7539bc6.jpg" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 16:10:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dbspace-size-limit/qaa-p/13825595#M4856438</guid>
      <dc:creator>Breck_Carter</dc:creator>
      <dc:date>2021-01-11T16:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: DBSpace size limit</title>
      <link>https://community.sap.com/t5/technology-q-a/dbspace-size-limit/qaa-p/13825598#M4856441</link>
      <description>&lt;P&gt;Here's what I am thinking I need to do.  Following the logic associated wit unloading and reloading a database involved in replication.  This is a consolidated database involved in SQL Remote replication. I want to move certain tables and their indexes to a new DBSpace I'm thinking I will duplicate the table structures with a new table name and insert into select.  Then truncate the tables in the original DBSpace and rename the tables in the new DBSpace.&lt;/P&gt;
&lt;P&gt;Does this sound ok?  Of course I'll test first&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 16:12:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dbspace-size-limit/qaa-p/13825598#M4856441</guid>
      <dc:creator>JimDiaz</dc:creator>
      <dc:date>2021-01-11T16:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: DBSpace size limit</title>
      <link>https://community.sap.com/t5/technology-q-a/dbspace-size-limit/qaa-p/13825599#M4856442</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;1 TB&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Awesome... your indexes may benefit greatly as well, with 8K page size.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 16:13:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dbspace-size-limit/qaa-p/13825599#M4856442</guid>
      <dc:creator>Breck_Carter</dc:creator>
      <dc:date>2021-01-11T16:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: DBSpace size limit</title>
      <link>https://community.sap.com/t5/technology-q-a/dbspace-size-limit/qaa-p/13825600#M4856443</link>
      <description>&lt;P&gt;Hm, I would do an unload/reload with a modified script with the according table created in a different dbspace, see &lt;A href="https://sqlanywhere-forum.sap.com/questions/10949/how-to-move-table-to-dbspace"&gt;here&lt;/A&gt;. Your suggestion to create a new table and then copying data might be more tricky w.r.t. log offsets and other effects on publications...&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 17:10:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dbspace-size-limit/qaa-p/13825600#M4856443</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2021-01-11T17:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: DBSpace size limit</title>
      <link>https://community.sap.com/t5/technology-q-a/dbspace-size-limit/qaa-p/13825601#M4856444</link>
      <description>&lt;P&gt;&amp;gt; This is a consolidated database involved in SQL Remote replication.&lt;/P&gt;
&lt;P&gt;LOL! You &lt;B&gt;got&lt;/B&gt; me! (to suggest a solution that breaks replication:)&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 11:20:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dbspace-size-limit/qaa-p/13825601#M4856444</guid>
      <dc:creator>Breck_Carter</dc:creator>
      <dc:date>2021-01-12T11:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: DBSpace size limit</title>
      <link>https://community.sap.com/t5/technology-q-a/dbspace-size-limit/qaa-p/13825602#M4856445</link>
      <description>&lt;P&gt;&amp;gt; I want to move certain tables and their indexes to a new DBSpace &lt;/P&gt;
&lt;P&gt;Are you proposing &lt;B&gt;avoiding&lt;/B&gt; the 1TB file size limit by creating an &lt;B&gt;additional&lt;/B&gt; dbspace file, rather than &lt;B&gt;increasing&lt;/B&gt; the limit to 2TB by changing the page size to 8K? (it's probably a dumb question, but I gotta be sure &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Have you considered "sharding" the table(s), possibly along subscription lines?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 11:39:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dbspace-size-limit/qaa-p/13825602#M4856445</guid>
      <dc:creator>Breck_Carter</dc:creator>
      <dc:date>2021-01-12T11:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: DBSpace size limit</title>
      <link>https://community.sap.com/t5/technology-q-a/dbspace-size-limit/qaa-p/13825596#M4856439</link>
      <description>&lt;P&gt;I have decided to follow the help and do a manual unload and reload of a database involved in replication.  I will then modify the reload script to locate certain tables in a new dbspace.  My current plan is to create three or four new spaces as well as use an 8K page size giving me a maximum database size of 6 or 8 TB.  Of course all DBSpaces will not expand equally so this is only a very rough max db size.&lt;/P&gt;
&lt;P&gt;I do have several related questions
1) Can I turn off the automatic dbspace expansion?
2) If auto expansion is enabled how will these be expanded each separately as required I assume?
3) When extracting new databases will these default to use the same dbspace configuration?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 16:12:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dbspace-size-limit/qaa-p/13825596#M4856439</guid>
      <dc:creator>JimDiaz</dc:creator>
      <dc:date>2021-01-14T16:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: DBSpace size limit</title>
      <link>https://community.sap.com/t5/technology-q-a/dbspace-size-limit/qaa-p/13825603#M4856446</link>
      <description>&lt;P&gt;As to your first two questions: What do you mean by "automatic dbspace expansion"? AFAIK, like the default system dbspace addional dbspaces do automatically grow when more database pages are needed - if they would not (say, because of a disk full condition), the according transaction would fail... - you can monitor file growth via an GrowDB event...&lt;/P&gt;
&lt;P&gt;I don't know how dbspaces affect the default extract process, however, you could certainly customize that.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 02:58:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dbspace-size-limit/qaa-p/13825603#M4856446</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2021-01-15T02:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: DBSpace size limit</title>
      <link>https://community.sap.com/t5/technology-q-a/dbspace-size-limit/qaa-p/13825604#M4856447</link>
      <description>&lt;P&gt;I ran a test on a large 1TB database and was able to crash the database by inserting data until the system auto expanded the "System" dbspace and reached the maximum.  Once this occurs the db will not restart using normal dbsrv parameters.  I was able to force a restart by renaming the log file and using the -f parameter.  It's interesting because the log file created with -f starts at an offset less than the ending offset of the log file in place when the maximum space was exceeded.  I believe a checkpoint might have caused the expansion not sure though.&lt;/P&gt;
&lt;P&gt;I'll be looking deeper&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 12:16:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dbspace-size-limit/qaa-p/13825604#M4856447</guid>
      <dc:creator>JimDiaz</dc:creator>
      <dc:date>2021-01-15T12:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: DBSpace size limit</title>
      <link>https://community.sap.com/t5/technology-q-a/dbspace-size-limit/qaa-p/13825605#M4856448</link>
      <description>&lt;P&gt;Well, as stated, the according GrowDB system events might be of help here - I don't know whether the dbsrvX -fc option does also handle file limits or only disk full conditions.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 12:26:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dbspace-size-limit/qaa-p/13825605#M4856448</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2021-01-15T12:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: DBSpace size limit</title>
      <link>https://community.sap.com/t5/technology-q-a/dbspace-size-limit/qaa-p/13825606#M4856449</link>
      <description>&lt;P&gt;The &lt;A href="https://help.sap.com/viewer/dc2260c1b8de4966b6cdee9c6d5cbcb2/17.0/en-US/95f0a6326ea11014b6deda57940fd83f.html?q=dbxtract"&gt;&lt;B&gt;V17 dbxtract page&lt;/B&gt;&lt;/A&gt; does not contain the string "dbspace"&lt;/P&gt;
&lt;P&gt;That would fill me with dread if I had your responsibilities, and would prompt me to mark the rest of January and all of February for "testing" &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; ...the good news is, it is clear that SQL Remote is actively maintained if the vast increase in dbxtract options is any indication.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 16:03:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dbspace-size-limit/qaa-p/13825606#M4856449</guid>
      <dc:creator>Breck_Carter</dc:creator>
      <dc:date>2021-01-15T16:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: DBSpace size limit</title>
      <link>https://community.sap.com/t5/technology-q-a/dbspace-size-limit/qaa-p/13825607#M4856450</link>
      <description>&lt;P&gt;&amp;gt; follow the help and do a manual unload and reload of a database involved in replication&lt;/P&gt;
&lt;P&gt;...bet that lifted a great weight off your mind &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 16:07:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dbspace-size-limit/qaa-p/13825607#M4856450</guid>
      <dc:creator>Breck_Carter</dc:creator>
      <dc:date>2021-01-15T16:07:56Z</dc:date>
    </item>
  </channel>
</rss>

