由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - Any Suggestions on a SQL Server database maintenance plan
相关主题
Looking for SQL Server Database Engineers in Austin TX我的背景做BI需要准备什么?求高人指点
请教sql server DB 大侠推荐: 初级、中高级SSIS ETL 教材
Multi-Dimensional DatabasesDatabase Backup Question
下定决心转行数据库,真诚求教,database developer需要学习哪些课程sql server 面试题 (8)
SQL SERVER 2K5 schema vs. Oracle schema发包子,每周一题
A question about MS SQL Server database designsql server: database backup 请教
Diff two SQL databases请教高手关于database query的问题
【有什么说可以恶补一下data warehousing的知识?】how to compare two schemas to look for missing indices
相关话题的讨论汇总
话题: database话题: sql话题: server话题: data话题: backup
进入Database版参与讨论
1 (共1页)
p*********r
发帖数: 1440
1
A SQL server database, has more than 10K tables. Current size is about 800G,
after data compression. ETL process happens every night. Most of them get
updated data daily, some of them get updated data weekly, and the rest get
updated data monthly. The current maintenance plan is like this:
1. Sunday - Thursday, differential backup, including data integrity check.
2. Friday, rebuild index. As of last Friday, it took 18 hours to finish
3. Saturday, full database backup, including data integrity check and update
statistics - column only. As of last Saturday, it took 24 hours to finish:
5 hours data integrity check, 15 hours update statistics, and 4 hours full
database backup.
Is there a way I can improve the plan performance?
Thanks in advance.
i****a
发帖数: 36252
2
What version of sql server?
[发表自未名空间手机版 - m.mitbbs.com]
p*********r
发帖数: 1440
3
2008 Enterprise.

【在 i****a 的大作中提到】
: What version of sql server?
: [发表自未名空间手机版 - m.mitbbs.com]

s**********o
发帖数: 14359
4
OLAP还做什么DIFF BACKUP,你的ETL JOB估计都RUN不完,不知道你的UPDATE DAILY
WEEKLY MONTHLY是指什么,注意DATABASE要用SIMPLE RECOVERY MODEL,关键还是看你
的ETL JOB怎么写的,如果去OLAP 做UPDATE大量数据,效果会很差。
p*********r
发帖数: 1440
5
because people create store procedures and views day by day. and most of
them don't keep the scripts themselves.
btw, the database is in simple recovery model. that is why no transaction
backup. ETL jobs are developed by vendor.

【在 s**********o 的大作中提到】
: OLAP还做什么DIFF BACKUP,你的ETL JOB估计都RUN不完,不知道你的UPDATE DAILY
: WEEKLY MONTHLY是指什么,注意DATABASE要用SIMPLE RECOVERY MODEL,关键还是看你
: 的ETL JOB怎么写的,如果去OLAP 做UPDATE大量数据,效果会很差。

s**********o
发帖数: 14359
6
就说VEDNOR的东西要看着,人哪管你有800G的东西,开发完了事。你不是PRODUCTION
SERVER么,怎么会有
people create store procedures and views day by day,那不就是DBA在RELEASE,
弄个SCRIPT JOB BACKUP一下SCHEMA就完了,DIFF BACKUP估计会越来越长,会跟ETL
JOB冲突。

【在 p*********r 的大作中提到】
: because people create store procedures and views day by day. and most of
: them don't keep the scripts themselves.
: btw, the database is in simple recovery model. that is why no transaction
: backup. ETL jobs are developed by vendor.

i****a
发帖数: 36252
7
can see if table partitioning helps you

【在 p*********r 的大作中提到】
: 2008 Enterprise.
p*********r
发帖数: 1440
8
Have not tried that one yet. Thanks.
Oh,there are 8 data files in the primary filegroup, each resides on a
different LUN.

【在 i****a 的大作中提到】
: can see if table partitioning helps you
w*******e
发帖数: 1622
9
So, you use the "maintenance plan" to do all these jobs?
You should avoid to use SQL Server maintenance plan but uee your own script
to rebuild indexes and update stats.

800G,
get
get
update

【在 p*********r 的大作中提到】
: A SQL server database, has more than 10K tables. Current size is about 800G,
: after data compression. ETL process happens every night. Most of them get
: updated data daily, some of them get updated data weekly, and the rest get
: updated data monthly. The current maintenance plan is like this:
: 1. Sunday - Thursday, differential backup, including data integrity check.
: 2. Friday, rebuild index. As of last Friday, it took 18 hours to finish
: 3. Saturday, full database backup, including data integrity check and update
: statistics - column only. As of last Saturday, it took 24 hours to finish:
: 5 hours data integrity check, 15 hours update statistics, and 4 hours full
: database backup.

1 (共1页)
进入Database版参与讨论
相关主题
how to compare two schemas to look for missing indicesSQL SERVER 2K5 schema vs. Oracle schema
sql server 面试题 (2)A question about MS SQL Server database design
请教一个数据库/仓库设计的问题Diff two SQL databases
发现好像讨论OLAP, Cube, SSAS的不多啊【有什么说可以恶补一下data warehousing的知识?】
Looking for SQL Server Database Engineers in Austin TX我的背景做BI需要准备什么?求高人指点
请教sql server DB 大侠推荐: 初级、中高级SSIS ETL 教材
Multi-Dimensional DatabasesDatabase Backup Question
下定决心转行数据库,真诚求教,database developer需要学习哪些课程sql server 面试题 (8)
相关话题的讨论汇总
话题: database话题: sql话题: server话题: data话题: backup