Sybase asa database restoration method

Source: Internet
Author: User

When the sybase asa database is shut DOWN abnormally, it is prone to exceptions, such as table or index errors. The trouble is that the database will go DOWN when you delete a table using drop table t_name. Below are two common restoration methods:

Sybase asa database restoration method

When the sybase asa database is shut DOWN abnormally, it is prone to exceptions, such as table or index errors. The trouble is that the database will go DOWN when you delete a table using drop table t_name. Below are two common restoration methods:

I. Restore with backup database

1. Start with backup database

2. translation error. The database log may contain multiple files)

3. Execute the translated log files and read files in order.

2. No Database Backup

Symptom: set rowcount 10

Select * from table_name when data goes down

An error is reported when dbvalid is used to check this table.

Check
Solution:
1. Delete the publishing and view of table_name
2. dbunload-c "uid = dba; pwd = SQL; dbf = d: \ sybdata \ dbname. db"-e table_name-an d: \ db_new \ dbname. db"
3. Start with a new database
4. Create a table named table_name with no data)

Bkjia.com (

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.