Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

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


Report this thread to moderator Post Follow-up to this message
Old Post
egpo@egpo.net
02-20-06 02:23 PM


Re: DB shrinks without request
Check to make sure there isn't a maintenance job set up on the server
that shrinks the db.


Report this thread to moderator Post Follow-up to this message
Old Post
ggrater@hotmail.com
02-20-06 04:23 PM


Re: DB shrinks without request
I do not have such a job defined.
This is really wierd...

Thanks!


Report this thread to moderator Post Follow-up to this message
Old Post
egpo@egpo.net
02-20-06 04:23 PM


Re: DB shrinks without request
"egpo@egpo.net" <giboni@gmail.com> wrote in message
news:1140452128.413183.49760@g14g2000cwa.googlegroups.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!
>



Report this thread to moderator Post Follow-up to this message
Old Post
Greg D. Moore \(Strider\)
02-25-06 02:44 PM


Re: DB shrinks without request
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


Report this thread to moderator Post Follow-up to this message
Old Post
egpo@egpo.net
02-25-06 02:45 PM


Re: DB shrinks without request
egpo@egpo.net (giboni@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, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pr...oads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodin...ions/books.mspx

Report this thread to moderator Post Follow-up to this message
Old Post
Erland Sommarskog
02-25-06 02:45 PM


Re: DB shrinks without request
Thanks Erland !!


Report this thread to moderator Post Follow-up to this message
Old Post
egpo@egpo.net
03-01-06 01:29 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

Microsoft SQL Server forum archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 04:49 AM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006