<?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: The database  could not be validated. in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/the-database-could-not-be-validated/qaa-p/13844787#M4875630</link>
    <description>&lt;P&gt;Did rebuild the productive database – validates correctly (again &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 25 Sep 2013 04:23:22 GMT</pubDate>
    <dc:creator>huber1</dc:creator>
    <dc:date>2013-09-25T04:23:22Z</dc:date>
    <item>
      <title>The database  could not be validated.</title>
      <link>https://community.sap.com/t5/technology-q-a/the-database-could-not-be-validated/qaq-p/13844775</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;When running VALIDATE DATABASE from Sybase Central (or in Interactive SQL as command) I get the following messages:&lt;/P&gt;
&lt;PRE&gt;Page 0000037d of database file "E:\\SQLAnywhere12\\databases\\Hades.db" references a physical index (1295, 1) that doesn't exist
Orphaned page (00000695) found in database file "E:\\SQLAnywhere12\\databases\\Hades.db"
Page 00000df8 of database file "E:\\SQLAnywhere12\\databases\\Hades.db" references a physical index (1295, 1) that doesn't exist
Orphaned page (00000ecc) found in database file "E:\\SQLAnywhere12\\databases\\Hades.db"
Page 00000efa of database file "E:\\SQLAnywhere12\\databases\\Hades.db" references a physical index (1295, 1) that doesn't exist
Orphaned page (00000efc) found in database file "E:\\SQLAnywhere12\\databases\\Hades.db"
java.sql.SQLException: [Sybase][ODBC Driver][SQL Anywhere]Run time SQL error -- Database validation failed for database file "E:\\SQLAnywhere12\\databases\\Hades.db"
The database 'Hades' could not be validated.
&lt;/PRE&gt;

&lt;P&gt;Any hint how to cure that problem?&lt;/P&gt;
&lt;P&gt;Thanks, Robert&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jan 2013 16:43:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/the-database-could-not-be-validated/qaq-p/13844775</guid>
      <dc:creator>huber1</dc:creator>
      <dc:date>2013-01-27T16:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: The database  could not be validated.</title>
      <link>https://community.sap.com/t5/technology-q-a/the-database-could-not-be-validated/qaa-p/13844777#M4875620</link>
      <description>&lt;P&gt;Make sure there are no other users connected when you run the validation.&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jan 2013 17:01:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/the-database-could-not-be-validated/qaa-p/13844777#M4875620</guid>
      <dc:creator>Breck_Carter</dc:creator>
      <dc:date>2013-01-27T17:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: The database  could not be validated.</title>
      <link>https://community.sap.com/t5/technology-q-a/the-database-could-not-be-validated/qaa-p/13844778#M4875621</link>
      <description>&lt;P&gt;Is the database used by other connections (and are these possibly doing transactions)? - If so, note that validation should be done on a "quite" database, otherwise false positives may be shown.&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jan 2013 17:02:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/the-database-could-not-be-validated/qaa-p/13844778#M4875621</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2013-01-27T17:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: The database  could not be validated.</title>
      <link>https://community.sap.com/t5/technology-q-a/the-database-could-not-be-validated/qaa-p/13844779#M4875622</link>
      <description>&lt;P&gt;&lt;A href="https://sqlanywhere-forum.sap.com/users/26/volker-barth/"&gt;@Volker&lt;/A&gt;: I assume you meant to write "quiet" &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2013 03:46:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/the-database-could-not-be-validated/qaa-p/13844779#M4875622</guid>
      <dc:creator>reimer_pods</dc:creator>
      <dc:date>2013-01-28T03:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: The database  could not be validated.</title>
      <link>https://community.sap.com/t5/technology-q-a/the-database-could-not-be-validated/qaa-p/13844780#M4875623</link>
      <description>&lt;P&gt;&lt;A href="https://sqlanywhere-forum.sap.com/users/2/breck-carter/"&gt;@Breck&lt;/A&gt;: There are no other users connected when I run the validation. I should also mention that I validated all tables and indexes, and got no errors reported.
I am wondering what a physical index is? What other indexes exist?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2013 07:49:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/the-database-could-not-be-validated/qaa-p/13844780#M4875623</guid>
      <dc:creator>huber1</dc:creator>
      <dc:date>2013-01-28T07:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: The database  could not be validated.</title>
      <link>https://community.sap.com/t5/technology-q-a/the-database-could-not-be-validated/qaa-p/13844781#M4875624</link>
      <description>&lt;P&gt;A physical index is the real thing. If two logical indexes (the kind you create with CREATE INDEX, PRIMARY KEY, UNIQUE constraint, etc) refer to the same columns in the same order then they will implemented by the same single physical index. Otherwise, no difference.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2013 09:06:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/the-database-could-not-be-validated/qaa-p/13844781#M4875624</guid>
      <dc:creator>Breck_Carter</dc:creator>
      <dc:date>2013-01-28T09:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: The database  could not be validated.</title>
      <link>https://community.sap.com/t5/technology-q-a/the-database-could-not-be-validated/qaa-p/13844782#M4875625</link>
      <description>&lt;P&gt;Time to call tech support, or recover from a backup.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2013 09:07:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/the-database-could-not-be-validated/qaa-p/13844782#M4875625</guid>
      <dc:creator>Breck_Carter</dc:creator>
      <dc:date>2013-01-28T09:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: The database  could not be validated.</title>
      <link>https://community.sap.com/t5/technology-q-a/the-database-could-not-be-validated/qaa-p/13844776#M4875619</link>
      <description>&lt;P&gt;Hello Robert,&lt;/P&gt;
&lt;P&gt;I believe that the errors are likely real and likely caused by an old bug in the software.  The cause of the errors is that there are some pages in the database file that seem to still be allocated to an object (index in this case) that no longer exists.  These pages haven't been freed and thereby cannot be re-used for another purpose.  They are essentially leaked pages in the database file.  They don't actually present a problem other than the validation errors that they cause.  Rebuilding the database (unloading and reloading) will solve the issue for you.  I'd recommend using a more recent build to prevent this from occurring again as I do recall some issues that could cause this behavior.&lt;/P&gt;
&lt;P&gt;Jason Noack&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2013 13:26:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/the-database-could-not-be-validated/qaa-p/13844776#M4875619</guid>
      <dc:creator>jason_noack</dc:creator>
      <dc:date>2013-01-28T13:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: The database  could not be validated.</title>
      <link>https://community.sap.com/t5/technology-q-a/the-database-could-not-be-validated/qaa-p/13844783#M4875626</link>
      <description>&lt;P&gt;Jason,&lt;/P&gt;
&lt;P&gt;Thanks a lot for your answer, I am relieved to hear that. At a good moment, I will do what you suggest.&lt;/P&gt;
&lt;P&gt;Regards, Robert&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2013 08:21:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/the-database-could-not-be-validated/qaa-p/13844783#M4875626</guid>
      <dc:creator>huber1</dc:creator>
      <dc:date>2013-01-30T08:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: The database  could not be validated.</title>
      <link>https://community.sap.com/t5/technology-q-a/the-database-could-not-be-validated/qaa-p/13844784#M4875627</link>
      <description>&lt;P&gt;I am still a bit uncertain what to understand by Rebuilding (unload and reload) the database.
I did it with Sybase Central, menu Tool &amp;gt; SQL Anywhere 12 &amp;gt; Unload Database then followed the on-screen messages to the screen Connect ot the Database which I unchecked and that created a database file and a log file to the desktop. Which I put after shutting down the database into the correct folder. Now validation was ok. Is that one of the correct ways to rebuild a database? I assume so, but would be glad to hear it's correct.&lt;/P&gt;
&lt;P&gt;Robert Huber&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2013 10:20:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/the-database-could-not-be-validated/qaa-p/13844784#M4875627</guid>
      <dc:creator>huber1</dc:creator>
      <dc:date>2013-09-24T10:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: The database  could not be validated.</title>
      <link>https://community.sap.com/t5/technology-q-a/the-database-could-not-be-validated/qaa-p/13844785#M4875628</link>
      <description>&lt;P&gt;Yes - &lt;B&gt;Unloading&lt;/B&gt; and &lt;B&gt;Reloading&lt;/B&gt; are the processes need to &lt;B&gt;Rebuild&lt;/B&gt; a database. You can also do the same thing with command line tools - see dbunload.exe&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2013 10:57:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/the-database-could-not-be-validated/qaa-p/13844785#M4875628</guid>
      <dc:creator>justin_willey</dc:creator>
      <dc:date>2013-09-24T10:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: The database  could not be validated.</title>
      <link>https://community.sap.com/t5/technology-q-a/the-database-could-not-be-validated/qaa-p/13844786#M4875629</link>
      <description>&lt;P&gt;Yes Robert that is precisely the mechanism I was referring to.&lt;/P&gt;
&lt;P&gt;Good luck to you!&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2013 11:09:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/the-database-could-not-be-validated/qaa-p/13844786#M4875629</guid>
      <dc:creator>jason_noack</dc:creator>
      <dc:date>2013-09-24T11:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: The database  could not be validated.</title>
      <link>https://community.sap.com/t5/technology-q-a/the-database-could-not-be-validated/qaa-p/13844787#M4875630</link>
      <description>&lt;P&gt;Did rebuild the productive database – validates correctly (again &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2013 04:23:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/the-database-could-not-be-validated/qaa-p/13844787#M4875630</guid>
      <dc:creator>huber1</dc:creator>
      <dc:date>2013-09-25T04:23:22Z</dc:date>
    </item>
  </channel>
</rss>

