dbTalk Databases Forums  

Database Size grow rapidly

microsoft.public.sqlserver.clients microsoft.public.sqlserver.clients


Discuss Database Size grow rapidly in the microsoft.public.sqlserver.clients forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Noor
 
Posts: n/a

Default Database Size grow rapidly - 03-28-2009 , 05:36 PM






Dear Professional,

Just want to ask one question.

Three months a ago one of my database size was 5 GB and now it's 12 GB but I
didn't see much data from last three months, is there anyway I can findout,
do I have to shrink the data file or shrink the database because in three
months double the size means something is fishy.

Please advice.

Thanks in advance



Reply With Quote
  #2  
Old   
Paul Shapiro
 
Posts: n/a

Default Re: Database Size grow rapidly - 03-28-2009 , 05:59 PM






If the database is in Full Recovery mode and you're not doing transaction
log backups, the transaction log continues to grow forever. Look in Books
OnLine for details and the backup procedure. You will also see how to check
the separate data and log sizes. Shrinking the database will make the
transaction log grow even bigger, negating any size reduction from the data
portion.

"Noor" <naissani (AT) hotmail (DOT) com> wrote

Quote:
Dear Professional,

Just want to ask one question.

Three months a ago one of my database size was 5 GB and now it's 12 GB but
I didn't see much data from last three months, is there anyway I can
findout, do I have to shrink the data file or shrink the database because
in three months double the size means something is fishy.


Reply With Quote
  #3  
Old   
Noor
 
Posts: n/a

Default Re: Database Size grow rapidly - 03-28-2009 , 06:06 PM



Thanks Paul,

Recovery Model is FULL
This database also Mirror to another Servers. (implemented database
mirroring)

I shrink the log file and that works fine, I am worry about DATA FILE.

Please advice.

Thanks
"Paul Shapiro" <paul (AT) hideme (DOT) broadwayData.com> wrote

Quote:
If the database is in Full Recovery mode and you're not doing transaction
log backups, the transaction log continues to grow forever. Look in Books
OnLine for details and the backup procedure. You will also see how to
check the separate data and log sizes. Shrinking the database will make
the transaction log grow even bigger, negating any size reduction from the
data portion.

"Noor" <naissani (AT) hotmail (DOT) com> wrote in message
news:uouRX4$rJHA.3792 (AT) TK2MSFTNGP06 (DOT) phx.gbl...
Dear Professional,

Just want to ask one question.

Three months a ago one of my database size was 5 GB and now it's 12 GB
but I didn't see much data from last three months, is there anyway I can
findout, do I have to shrink the data file or shrink the database because
in three months double the size means something is fishy.




Reply With Quote
  #4  
Old   
Tibor Karaszi
 
Posts: n/a

Default Re: Database Size grow rapidly - 03-30-2009 , 01:02 AM



Impossible for us to say. Something causes the database data files to
autogrow (as you told us), but that is also all you told us. Index
fragmentation is one possibility. Or perhaps something just added data
enough to justify that growth. Did you analyze things such as used
space, free space what tables and indexes uses most space?

--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi


"Noor" <naissani (AT) hotmail (DOT) com> wrote

Quote:
Thanks Paul,

Recovery Model is FULL
This database also Mirror to another Servers. (implemented database
mirroring)

I shrink the log file and that works fine, I am worry about DATA
FILE.

Please advice.

Thanks
"Paul Shapiro" <paul (AT) hideme (DOT) broadwayData.com> wrote in message
news:uqWLGFAsJHA.5912 (AT) TK2MSFTNGP02 (DOT) phx.gbl...
If the database is in Full Recovery mode and you're not doing
transaction log backups, the transaction log continues to grow
forever. Look in Books OnLine for details and the backup procedure.
You will also see how to check the separate data and log sizes.
Shrinking the database will make the transaction log grow even
bigger, negating any size reduction from the data portion.

"Noor" <naissani (AT) hotmail (DOT) com> wrote in message
news:uouRX4$rJHA.3792 (AT) TK2MSFTNGP06 (DOT) phx.gbl...
Dear Professional,

Just want to ask one question.

Three months a ago one of my database size was 5 GB and now it's
12 GB but I didn't see much data from last three months, is there
anyway I can findout, do I have to shrink the data file or shrink
the database because in three months double the size means
something is fishy.





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.