473,395 Members | 1,639 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

DB shrinks without request

Hi,

I have a DB where I would like to maintain a fixed size and control it
by myslef.
I do not have the options: "Auto-Grow" and "Auto-Shrink" enabled.
From time to time, without a notice, or any logging, the database files

gets shrinker and this causes a database full error.
As I wrote, I would like to maintain the size of the database by myself
and not automatioc by the DB server.

Please help me find out what can cause this problem and how to solve
this issue.
Thnaks,
- Ze'ev

Feb 20 '06 #1
6 1301
Check to make sure there isn't a maintenance job set up on the server
that shrinks the db.

Feb 20 '06 #2
I do not have such a job defined.
This is really wierd...

Thanks!

Feb 20 '06 #3

"eg**@egpo.net" <gi****@gmail.com> wrote in message
news:11*********************@g14g2000cwa.googlegro ups.com...
I do not have such a job defined.
This is really wierd...
Could someone be executing a DBCC Shrinkfile|db as a scheduled task or
ad-hoc?


Thanks!

Feb 22 '06 #4
I was thinking that someone did execute this, or a virus of somekind. I
lready changed the password on the server.

when executing:
exec sp_dboption "DB_NME" I see that this option is enabled: "trunc.
log on chkpt.
". Could this cause the problem of DB shrinker ?

Thanks !

- Ze'ev

Feb 23 '06 #5
eg**@egpo.net (gi****@gmail.com) writes:
I was thinking that someone did execute this, or a virus of somekind. I
lready changed the password on the server.

when executing:
exec sp_dboption "DB_NME" I see that this option is enabled: "trunc.
log on chkpt.
". Could this cause the problem of DB shrinker ?


No. That options means you are running in simple recovery. That is, SQL
Server truncates the transaction log after each committed transaction
(more or less). But unless autoshrink is on, that will not cause any
shrinkage.
--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Feb 23 '06 #6
Thanks Erland !!

Feb 26 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: reddy | last post by:
I am trying to insert a node into an XMLFile. using XMLTextwriter. My Question is Is it possible to do without using XMLDocument. Because its loading all the the file into memory. I just want to...
9
by: Lyn | last post by:
Hi, I have a form which is opened from a button on another form. The form is used to display a list of records from a recordset in Continuous Mode. It is sized vertically to display about 25...
3
by: Pooja Renukdas | last post by:
Hello, I have this web site where only two pages have to be secure pages and I need to call them using https, but since I have my development server and my production web server, I dont want to...
9
by: McGeeky | last post by:
Is there a way to get a user control to remember its state across pages? I have a standard page layout I use with a header and footer as user controls. Each page uses the same layout by means of...
7
by: erin.sebastian | last post by:
Hello All, I have taken over some code for a website and am trying to finish it. I have noticed that when loading each page the site expands and then shrinks to the normal size, i don't want this...
3
by: lk | last post by:
I need some help regarding the mechanism to put in place to be able to dynamically update a remote object when the assembly where it is defined is modified, and this whitout having service...
4
by: xx75vulcan | last post by:
Can anyone tell me why the IE 7 Beta, (and I can only assume the final releae) takes my javascript and shrinks all the items being displayed, and makes them appear one-on-top-of-each-other? Link...
1
by: TomT | last post by:
I am having a difficult time solving a problem. Whenever I use :hover in a certain <div> the page shrinks in IE6. Of course, this problem does not exist with other browsers. It is even more vexing...
10
by: =?Utf-8?B?TWFyaw==?= | last post by:
Hi... We've been trying to migrate our asp.net apps off older, underpowered hardware to newer, bigger boxes but when we do, we see our databases start to melt. When I started to look into it,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.