• linkedu视频
  • 平面设计
  • 电脑入门
  • 操作系统
  • 办公应用
  • 电脑硬件
  • 动画设计
  • 3D设计
  • 网页设计
  • CAD设计
  • 影音处理
  • 数据库
  • 程序设计
  • 认证考试
  • 信息管理
  • 信息安全
菜单
linkedu.com
  • 网页制作
  • 数据库
  • 程序设计
  • 操作系统
  • CMS教程
  • 游戏攻略
  • 脚本语言
  • 平面设计
  • 软件教程
  • 网络安全
  • 电脑知识
  • 服务器
  • 视频教程
  • MsSql
  • Mysql
  • oracle
  • MariaDB
  • DB2
  • SQLite
  • PostgreSQL
  • MongoDB
  • Redis
  • Access
  • 数据库其它
  • sybase
  • HBase
您的位置:首页 > 数据库 >sybase > FAQs about Database dumps and loads

FAQs about Database dumps and loads

作者:匿名 字体:[增加 减小] 来源:互联网

匿名通过本文主要向大家介绍了faqs,faqs是什么意思,faqs是指,faqs是什么,c faqs等相关知识,希望本文的分享对您有所帮助
</div>
FAQs about Database dumps and loads 

This TechNote answers frequently asked questions about Sybase SQL Server and Adaptive Server Enterprise dumps and loads. 


This document answers frequently asked questions about database dump and loads with Adaptive Server Enterprise and Sybase SQL Server 11.0.x. It comprises the following sections:

Logs

Dumps and Loads

Backups and Maintenance


Logs

What information is tracked by the logptr column in master..sysdatabases?

The logptr column points to the first data page in the transaction log. This column is necessary for the dump tran with no_truncate command to function.


If the transaction log is kept on a separate physical device, you can use the dump tran with no_truncate command to dump the current transaction log even if the database itself has become inaccessible. This feature lets you rebuild a database to its state at the moment it was lost due to media failure.

WARNING! Do not use the dump tran with no_truncate command with a database that is in use. For more information, see the Sybase Adaptive ServerTM Enterprise System Administration Guide.
 


Media recovery from the current log is possible because the logptr column is located outside the user database, in the master database.


Why does my log grow during dump, even with trunc log on chkpt option?

A database is configured to have trunc log on chkpt. During a dump of that database, the syslogs table continues to grow until the dump is finished. Why doesn't the log truncate?


The log cannot truncate because the checkpoint process occurs only at the start and at the completion of the database dump.


Dumps and Loads

What effect does select into/bulkcopy have on dump transaction?

Why are dump transaction commands not allowed for a database when it has the select into/bulkcopy option set? Trying to do so generates Error 4207.


This happens only when a minimally logged operation occurred and the select into/bulkcopy option is set. When the select into/bulkcopy option is set in a database, rows added with fast bulkcopy are not logged. Only the space allocated during the fast bulkcopy is logged. The transaction log is not complete and could not be used for load transaction.


To perform a dump transaction for that database, the following must be true: 

select into/bulkcopy option must be disabled with sp_dboption.

The database must be dumped with dump database before you dump the transaction log.

See the Sybase Adaptive ServerTM Enterprise Reference Manual and the Sybase Adaptive ServerTM Enterprise System Administration Guide for details.


What is the effect of a database's growth on dump database time?

As the number of pages used by a database increases, does the time for a dump increase because the dump database command has to check all the pages in that database or does it remain constant?


The time required for dumping a database increases as the number of pages increases. The dump process dumps only the allocated pages being used in that database. The dump does not need to check every page, only the allocated pages. 


What are the differences between dump transaction and dump transaction with no_truncate?

When a dump transaction command is issued, the server makes a copy of all the inactive transactions that occurred on a particular database up to the point of the actual time of dump, and those transactions are removed from the log. When thedump transaction with no_truncate command is issued, the server makes a copy of the inactive transactions but does not remove those transactions from the log.


Therefore, if successive transaction log dumps are performed using dump transaction with no_truncate, the log will grow in size and will eventually have to be purged either via dump transaction or dump transaction with truncate_only. 

Note: The dump transaction with truncate_only command does not make a copy of the log, but purges the log of all inactive transactions.
 


What are the differences between dump transaction with truncate_only and dump transaction with no_log?

Neither dump transaction with truncate_only nor dump transaction with no_log make a copy of the log records. Both reduce the space used in syslogs whenever possible. 


The dump transaction command adds checkpoint records and&
分享到:QQ空间新浪微博腾讯微博微信百度贴吧QQ好友复制网址打印

您可能想查找下面的文章:

  • FAQs about Database dumps and loads

相关文章

  • 数据库上的书城
  • 如何动手修改interfaces文件
  • 如何恢复master数据库
  • Sybase的临时数据库tempdb
  • sybase数据库备份策略
  • SYBASE在ALPHA上的安装
  • Sybase华联超市计算机信息管理解决方案
  • Sybase的数据定义语言
  • Sybase IQ数据仓库领域革命性产品
  • Sybase 12.5各版本新功能完全展示

文章分类

  • MsSql
  • Mysql
  • oracle
  • MariaDB
  • DB2
  • SQLite
  • PostgreSQL
  • MongoDB
  • Redis
  • Access
  • 数据库其它
  • sybase
  • HBase

最近更新的内容

    • sybase数据库恢复
    • 农业银行城乡储蓄通存通兑
    • C/S体系中设置工作站与服务器时钟同步
    • Sybase临时数据库tempdb
    • 什么是游标
    • 教你学会怎样升级到SQL Anywhere 10(4)
    • Sybase数据库中分离日志与数据文件
    • 精细讲解实战经验创建Sybase用户数据库
    • sybase的备份
    • Sybase数据库函数库

关于我们 - 联系我们 - 免责声明 - 网站地图

©2020-2025 All Rights Reserved. linkedu.com 版权所有