由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - When should I reorganize Index/Rebuuild Index?
相关主题
log shipping 问题扯扯Senior SQL Server DBA咋整 (2)
问个Index的问题how to implement horizontal fragmentation with tuple-level security granularity
Oracle 请问怎么删除一个实时都在更新的表里的历史数据再问I/O WAIT的问题
mysql rebuild index very slow我来考你们一下
SQL 2008 Create Index vs Rebuild Index (Alter Index)OPTIMIZE 数据库的 绝招求分享。谢谢!
关于in的效率请教partition table
partition 表How to make import (>200M) faster?
more q: how to make database size smaller骑驴找马记
相关话题的讨论汇总
话题: index话题: reorganize话题: rebuild话题: when话题: rebuuild
进入Database版参与讨论
1 (共1页)
U****D
发帖数: 113
1
Is there a standard? Thanks.
i****a
发帖数: 36252
2
Check index fragmentation.

【在 U****D 的大作中提到】
: Is there a standard? Thanks.
U****D
发帖数: 113
3
Thanks.
We have a 800G database. The administrator set the reorganize/Rebuild index
once a week. It takes more than 2 hours to reorganize index and over 8
hours to rebuild index. Is there a way to shorten the time?

【在 i****a 的大作中提到】
: Check index fragmentation.
B*****g
发帖数: 34098
4
Are you a administrator?

index

【在 U****D 的大作中提到】
: Thanks.
: We have a 800G database. The administrator set the reorganize/Rebuild index
: once a week. It takes more than 2 hours to reorganize index and over 8
: hours to rebuild index. Is there a way to shorten the time?

U****D
发帖数: 113
5
Want to be one.

【在 B*****g 的大作中提到】
: Are you a administrator?
:
: index

i****a
发帖数: 36252
6
SQL server? 2005 or later?
you can have horizontally partitioned tables, and only rebuild index on
the partitions that have fragments. but it's not a simple change if the
database is not already setup this way

index

【在 U****D 的大作中提到】
: Thanks.
: We have a 800G database. The administrator set the reorganize/Rebuild index
: once a week. It takes more than 2 hours to reorganize index and over 8
: hours to rebuild index. Is there a way to shorten the time?

U****D
发帖数: 113
7
2008 SQL server.
Unfortunately, no partition at all.

【在 i****a 的大作中提到】
: SQL server? 2005 or later?
: you can have horizontally partitioned tables, and only rebuild index on
: the partitions that have fragments. but it's not a simple change if the
: database is not already setup this way
:
: index

i****a
发帖数: 36252
8
then only rebuild the index that's fragmented

【在 U****D 的大作中提到】
: 2008 SQL server.
: Unfortunately, no partition at all.

U****D
发帖数: 113
9
OK. Thanks.

【在 i****a 的大作中提到】
: then only rebuild the index that's fragmented
g***l
发帖数: 18555
10
是的,可以写个SP CHECK FRAMENTATION所有的INDEX,然后REBUILD FRAMENTATION到一
定程度,比如40%+的。注意REBUILD要在系统IDLE的时候半夜鸡叫的时候,不要有其它
JOB或者BACKUP RUN,看你的时间那么长,你的数据可能需要ARCHIVE了
a9
发帖数: 21638
11
index碎片影响到底有多大?感觉实际上没什么太大影响吧?

【在 g***l 的大作中提到】
: 是的,可以写个SP CHECK FRAMENTATION所有的INDEX,然后REBUILD FRAMENTATION到一
: 定程度,比如40%+的。注意REBUILD要在系统IDLE的时候半夜鸡叫的时候,不要有其它
: JOB或者BACKUP RUN,看你的时间那么长,你的数据可能需要ARCHIVE了

1 (共1页)
进入Database版参与讨论
相关主题
骑驴找马记SQL 2008 Create Index vs Rebuild Index (Alter Index)
请问MySQL 可以快速处理table有1亿条数据么?关于in的效率
sql server 面试题 (4)partition 表
Microsoft is attacking its own database productmore q: how to make database size smaller
log shipping 问题扯扯Senior SQL Server DBA咋整 (2)
问个Index的问题how to implement horizontal fragmentation with tuple-level security granularity
Oracle 请问怎么删除一个实时都在更新的表里的历史数据再问I/O WAIT的问题
mysql rebuild index very slow我来考你们一下
相关话题的讨论汇总
话题: index话题: reorganize话题: rebuild话题: when话题: rebuuild