Quantcast
Channel: Questions Tagged With validation
Browsing latest articles
Browse All 58 View Live
↧

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 Article


How 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 Article


Are 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 Article

Backup 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 Article

What 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 Article


Validation 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 Article

how to do an integrity check

what is the equivalent to MSSQL DBCC checkdb in sybase?

View Article

Validation 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 Article


Suggestions 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 Article


Validate 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 Article

dbvalid 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 Article

sa_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 Article


The 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 Article

dbvalid gives 'Run time SQL error' on certain tables

[SQL Anywhere 12.0.1.3423 64-bit]I ran dbvalid against an offline database using this command:"%SQLANY12%\bin64\dbvalid.exe" -c "uid=dba;pwd=***;dbf=mydatabase.db;eng=validate;start=dbeng12 -r -ch...

View Article


Inconsistent 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 Article

Validation 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 Article


Failure 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 Article

What 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 Article

Assertierung 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


Validate sql statements

I was thinking that I could use:SELECT PLAN('statement goes here');If the result is some text, then I know the syntax of the sql statement is valid. Is there a better way of doing such validations?I'm...

View Article


dbvalid.exe options

I'm trying to sort out exactly what validation methods are used with the different switches for dbvalid.exeThe docs say that by default "dbvalid validates all the tables, materialized views, and...

View Article

dbvalid.exe unable to start database

When replaying logs on a standby database and then validating it in (in read only mode) we occasionally come across this oddity. DBValid is unable to start the database even though the previous log...

View Article

Primary key Index error

Some of our customers faced this problem: After some time of heavy usage of one table (many inserts and deletes, but max about 200 rows in average table size) sometimes the primary key index of this...

View Article


Corrupt blob in table.

On validating a SQLA 16 database we get the following. Can this be fixed ?Rogue page found in blob on page 00036a00 of table "Ticket_Templates" in database file "c:\sdata\store18_m.db" Invalid blob...

View Article

How does the VALIDATE TABLE SQL statement report an error?

Does it raise an exception?( or can someone tell me how to force an error? )For example, the dbvalid.exe utility appears to run VALIDATE TABLE statements, and is able to determine "No errors...

View Article

Validate table progress

Is the statement validate table logging anywhere its Progress? Can I find anything in the server messages or the request logging?

View Article

Backup of Database while in Use

I have a 40gb database (SQL Anywhere 17) that I am trying to backup and have begun to get errors when validating a certain table. I am using a maintenance plan that runs when the database should be at...

View Article


Browsing latest articles
Browse All 58 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>