免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 7503 | 回复: 7
打印 上一主题 下一主题

请教sybase load问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-09-12 17:03 |只看该作者 |倒序浏览
Adaptive Server cannot load this database because the database that was dumped
was not quiescent when the dump was performed. Run sp_flushstats before DUMP
DATABASE and ensure that the database is not updated during the dump.

数据库无法online啊 怎么办 高手指导下吧

论坛徽章:
1
2017金鸡报晓
日期:2017-01-10 15:19:56
2 [报告]
发表于 2007-09-13 10:14 |只看该作者
是跨不同的操作系统平台进行dump和load吗?
sybase的版本是什么?

论坛徽章:
0
3 [报告]
发表于 2007-09-13 14:20 |只看该作者
看样子是像跨平台导库.
sp_flushstats checkpoint load

论坛徽章:
0
4 [报告]
发表于 2007-09-14 10:55 |只看该作者
是不是需要dbcc一下..

论坛徽章:
0
5 [报告]
发表于 2007-09-14 15:59 |只看该作者
是的 跨平台 aix - windows 12.53

我重启了数据库 重做的 dump 然后 load 就 ok 了 3ks all

论坛徽章:
0
6 [报告]
发表于 2007-09-16 18:01 |只看该作者

~

跨平台做dump,有什么需要注意的吗!请指教。
我需要从solaris到windows,ase V12.5

谢谢。

论坛徽章:
1
2017金鸡报晓
日期:2017-01-10 15:19:56
7 [报告]
发表于 2007-09-17 08:27 |只看该作者
sybase手册上是这么写的:

1.Verify the database runs cleanly by executing dbcc checkdb and dbcc checkalloc.

2.To prevent concurrent updates from open transactions by other processes during dump database, use sp_dboption to place the database in a single- user mode.

3.Flush statistics to systabstats using sp_flushstats.

4.Wait for 10 to 30 seconds, depending on the database size and activity.

5.Run checkpoint against the database to flush updated pages.

6.Run dump database

论坛徽章:
0
8 [报告]
发表于 2009-03-19 12:13 |只看该作者
原帖由 xdd 于 2007-9-14 15:59 发表
是的 跨平台 aix - windows 12.53

我重启了数据库 重做的 dump 然后 load 就 ok 了 3ks all



不重启数据库,在dump之前执行以下sp_flushstats这个存储过程把内存中的信息保存到系统表里面就行了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP