Is sa_validate() the same as sa_validate(null, null)?
Hi all,according to the SA 11 and above docs, there seems to be a (slight) difference between runningcall sa_validate(); andcall sa_validate(null, null); From the SA 11.0.1 docs:If you specify...
View ArticleHow do I get the maximum amount of information from dbvalid?
How many runs of 11.0.1.2472 dbvalid.exe do I have to run, using which options, to perform the maximum amount of checking?I am guessing two runs...One run with the defaults (no -d -fx -i -s or -t)One...
View ArticleAre the default checks of sa_validate() and DBVALID identical?
Just a follow-up from this question on DBVALID:If my understanding of John's clarifications in the cited question is correct, then DBVALID with no arguments does a VALIDATE DATABASE and a VALIDATE...
View ArticleBackup creating invalid database file
I've got a maintenance plan running that does a validation and then a backup usingbackup database directory 'P:\\GKBackups' wait before start transaction log rename; There seems to be something wrong...
View ArticleWhat happens when a CHECKSUM check fails?
SQL Anywhere 11.01.2527We're looking to enable by default CHECKSUM clause on all of our databases as it sounds like a good thing.However, what exactly will happen if a checksum check fails whilst the...
View ArticleValidation should check the signature, too
Based on that question, I would suggest that the validation of a database should check the signature string, too.As John and Mark have explained in comments on this answer, some bytes in the first...
View ArticleValidation speed in v12 against v10
I'm doing some testing of some relatively large databases (40 - 100 GB) in v12.0.1 (moving from v10.0.1).I have been comparing times for full checks (using the Sybase Central wizard) and I'm getting...
View ArticleSuggestions with dbvalid error
I'm trying to get the validation utility running on our SQL Anywhere 12 database similar to how we had it working with our ASA6 database.Basic design is that we have replication running every hour at...
View ArticleValidate Database for UltraliteJ
How can I validate an Ultralite database using the UltraliteJ's api for Android? I would like to validate the database after execute a ALTER DATABASE FROM FILE command.If there isn't a way to do that,...
View Article-300 sql run time error while validating database
I have encountered below problem.-300 sql run time error while validating database..sybase asa 12 db.Run time SQL error -- %1Item Value SQLCode -300 Constant SQLE_ERROR SQLState 40000 ODBC State S1000...
View Articledbvalid giving different errors?
SQL Anywhere 11.0.1.2837 (Windows 2008 R1 64bit)We run dbvalid on a backup of a database. The database has two dbspaces, total size is 26GB.Backup is performed...
View Articlesa_validate() should return a language-agnostic return value
We use sa_validate() within system events to validate the database. As such, the procedure's return value is checked for successful runs.The v12.0.1 doc does state the following:The procedure returns a...
View ArticleThe database could not be validated.
HiWhen running VALIDATE DATABASE from Sybase Central (or in Interactive SQL as command) I get the following messages:Page 0000037d of database file "E:\SQLAnywhere12\databases\Hades.db" references a...
View ArticleInconsistent orphaned page validation error
SQLAnwyhere:11.0.1.2817OS:Windows200864bitQ: Does anyone have any ideas as to why some validations pass, whilst others return an orphaned page error?Details:We got notified about an orphaned page error...
View ArticleValidation Errors
SQL Anywhere Validation Utility Version 12.0.1.3810Seeing several errors and wondering how critical each are and what it would take to correct:Issue...
View ArticleFailure to apply transaction log - can I force apply of log?
I have a database that had an assertion failed. When I get the last backup and try to apply the LOG file I get a validation error. Come to find out the indexes on 6 tables needed to be rebuilt. The...
View Article-1230 error Ultralight. Too many cursors
Hi, I have written some 200 SQL statements to run in different preparestatements.After executing each statement iam closing the prepare statement. and after fectching data from resultset m closing the...
View ArticleWhat can I do when my database has become corrupt or I lost my credentials?
Preface: That question has been answered by Jeff Albion in comments on an answer to question dba account. Nevertheless, I think it's worthwhile to document it here on its own, in an attempt to protect...
View ArticleAssertierung fehlgeschlagen: 101412 (SB10) - DB still online
I used dbvalid for checking a copy of my productiv database in Sybase 10. Today i got an error like this Foreign key "XXXXX_FK" has invalid or duplicate index entries SQL error (-300) Run-time SQL...
View Article