We are using SQL 2000 v8.00.194 on Server 2003 SP1 with 2GB RAM
At 00:30 at random day intervals, databases on two different servers are
taken offline which causes jobs to be terminated and sessions left open. We
have obtained a trace log using DebugView which contains:
0057110112:30:40 AM[516] 2006-09-21 00:30:40.15 getspinlock pre-Sleep():
spid 8, 10000 yields on lock type "LOGFLUSHQ" (adr 0x1a406f7c)
0057110512:30:47 AM[516] 2006-09-21 00:30:47.05 getspinlock pre-Sleep():
spid 0, 10000 yields on lock type "SRVPROC" (adr 0x1a5fe3f8)
We have no SQL jobs running at 00:30 so this looks like an internal SQL
maintenance job, possibly performance related?
This problem was caused by Veritas Backup Exec trying to backup the database
files (which were obviously in use!). The scripts used to include the
SQLBackup folder but had been changed to include SQLData as well, so removing
SQLData from the script resolved the problem.
"David Grant" wrote:
> We are using SQL 2000 v8.00.194 on Server 2003 SP1 with 2GB RAM
> At 00:30 at random day intervals, databases on two different servers are
> taken offline which causes jobs to be terminated and sessions left open. We
> have obtained a trace log using DebugView which contains:
> 0057110112:30:40 AM[516] 2006-09-21 00:30:40.15 getspinlock pre-Sleep():
> spid 8, 10000 yields on lock type "LOGFLUSHQ" (adr 0x1a406f7c)
>
> 0057110512:30:47 AM[516] 2006-09-21 00:30:47.05 getspinlock pre-Sleep():
> spid 0, 10000 yields on lock type "SRVPROC" (adr 0x1a5fe3f8)
> We have no SQL jobs running at 00:30 so this looks like an internal SQL
> maintenance job, possibly performance related?
>
|||David Grant wrote:
> This problem was caused by Veritas Backup Exec trying to backup the database
> files (which were obviously in use!). The scripts used to include the
> SQLBackup folder but had been changed to include SQLData as well, so removing
> SQLData from the script resolved the problem.
>
Veritas shouldn't have been able to take the databases offline like
this, the data files should have been "in use" by SQL at the time. The
only way I can picture this happening is if you have "Auto-Close"
enabled on your databases. If SQL "closed" the database, Veritas comes
along and starts backing up the data file, and SQL tries to "open" the
database again, it's going to fail. You shouldn't use the AutoClose or
AutoShrink options on a production database.
Tracy McKibben
MCDBA
http://www.realsqlguy.com
|||AutoClose is not enabled on any of our live or test systems. AutoShrink is
only enabled on our test systems.
"Tracy McKibben" wrote:
> David Grant wrote:
> Veritas shouldn't have been able to take the databases offline like
> this, the data files should have been "in use" by SQL at the time. The
> only way I can picture this happening is if you have "Auto-Close"
> enabled on your databases. If SQL "closed" the database, Veritas comes
> along and starts backing up the data file, and SQL tries to "open" the
> database again, it's going to fail. You shouldn't use the AutoClose or
> AutoShrink options on a production database.
>
> --
> Tracy McKibben
> MCDBA
> http://www.realsqlguy.com
>
|||I've seen similar things when the network admins were using
Veritas and VSS. I think it was along the lines that if you
have some activity or high activity in SQL Server, it can
prevent or interfere with the freeze I/O and then you can
get different errors. You may want to check the event logs
to see if you can find more information in there - look for
issues with VSS. The solution is to exclude the SQL Server
data directories. There might be some other configurations
in Veritas that impact this as well - don't know for sure.
-Sue
On Tue, 3 Oct 2006 06:11:02 -0700, David Grant
<DavidGrant@.discussions.microsoft.com> wrote:
[vbcol=seagreen]
>AutoClose is not enabled on any of our live or test systems. AutoShrink is
>only enabled on our test systems.
>"Tracy McKibben" wrote:
Showing posts with label random. Show all posts
Showing posts with label random. Show all posts
Thursday, March 22, 2012
DB taken offline by getspinlock pre-Sleep() error
We are using SQL 2000 v8.00.194 on Server 2003 SP1 with 2GB RAM
At 00:30 at random day intervals, databases on two different servers are
taken offline which causes jobs to be terminated and sessions left open. We
have obtained a trace log using DebugView which contains:
00571101 12:30:40 AM [516] 2006-09-21 00:30:40.15 getspinlock pre-Sleep(
):
spid 8, 10000 yields on lock type "LOGFLUSHQ" (adr 0x1a406f7c)
00571105 12:30:47 AM [516] 2006-09-21 00:30:47.05 getspinlock pre-Sleep(
):
spid 0, 10000 yields on lock type "SRVPROC" (adr 0x1a5fe3f8)
We have no SQL jobs running at 00:30 so this looks like an internal SQL
maintenance job, possibly performance related?This problem was caused by Veritas Backup Exec trying to backup the database
files (which were obviously in use!). The scripts used to include the
SQLBackup folder but had been changed to include SQLData as well, so removin
g
SQLData from the script resolved the problem.
"David Grant" wrote:
> We are using SQL 2000 v8.00.194 on Server 2003 SP1 with 2GB RAM
> At 00:30 at random day intervals, databases on two different servers are
> taken offline which causes jobs to be terminated and sessions left open. W
e
> have obtained a trace log using DebugView which contains:
> 00571101 12:30:40 AM [516] 2006-09-21 00:30:40.15 getspinlock pre-Slee
p():
> spid 8, 10000 yields on lock type "LOGFLUSHQ" (adr 0x1a406f7c)
>
> 00571105 12:30:47 AM [516] 2006-09-21 00:30:47.05 getspinlock pre-Slee
p():
> spid 0, 10000 yields on lock type "SRVPROC" (adr 0x1a5fe3f8)
> We have no SQL jobs running at 00:30 so this looks like an internal SQL
> maintenance job, possibly performance related?
>|||David Grant wrote:
> This problem was caused by Veritas Backup Exec trying to backup the databa
se
> files (which were obviously in use!). The scripts used to include the
> SQLBackup folder but had been changed to include SQLData as well, so remov
ing
> SQLData from the script resolved the problem.
>
Veritas shouldn't have been able to take the databases offline like
this, the data files should have been "in use" by SQL at the time. The
only way I can picture this happening is if you have "Auto-Close"
enabled on your databases. If SQL "closed" the database, Veritas comes
along and starts backing up the data file, and SQL tries to "open" the
database again, it's going to fail. You shouldn't use the AutoClose or
AutoShrink options on a production database.
Tracy McKibben
MCDBA
http://www.realsqlguy.com|||AutoClose is not enabled on any of our live or test systems. AutoShrink is
only enabled on our test systems.
"Tracy McKibben" wrote:
> David Grant wrote:
> Veritas shouldn't have been able to take the databases offline like
> this, the data files should have been "in use" by SQL at the time. The
> only way I can picture this happening is if you have "Auto-Close"
> enabled on your databases. If SQL "closed" the database, Veritas comes
> along and starts backing up the data file, and SQL tries to "open" the
> database again, it's going to fail. You shouldn't use the AutoClose or
> AutoShrink options on a production database.
>
> --
> Tracy McKibben
> MCDBA
> http://www.realsqlguy.com
>|||I've seen similar things when the network admins were using
Veritas and VSS. I think it was along the lines that if you
have some activity or high activity in SQL Server, it can
prevent or interfere with the freeze I/O and then you can
get different errors. You may want to check the event logs
to see if you can find more information in there - look for
issues with VSS. The solution is to exclude the SQL Server
data directories. There might be some other configurations
in Veritas that impact this as well - don't know for sure.
-Sue
On Tue, 3 Oct 2006 06:11:02 -0700, David Grant
<DavidGrant@.discussions.microsoft.com> wrote:
[vbcol=seagreen]
>AutoClose is not enabled on any of our live or test systems. AutoShrink is
>only enabled on our test systems.
>"Tracy McKibben" wrote:
>
At 00:30 at random day intervals, databases on two different servers are
taken offline which causes jobs to be terminated and sessions left open. We
have obtained a trace log using DebugView which contains:
00571101 12:30:40 AM [516] 2006-09-21 00:30:40.15 getspinlock pre-Sleep(
):
spid 8, 10000 yields on lock type "LOGFLUSHQ" (adr 0x1a406f7c)
00571105 12:30:47 AM [516] 2006-09-21 00:30:47.05 getspinlock pre-Sleep(
):
spid 0, 10000 yields on lock type "SRVPROC" (adr 0x1a5fe3f8)
We have no SQL jobs running at 00:30 so this looks like an internal SQL
maintenance job, possibly performance related?This problem was caused by Veritas Backup Exec trying to backup the database
files (which were obviously in use!). The scripts used to include the
SQLBackup folder but had been changed to include SQLData as well, so removin
g
SQLData from the script resolved the problem.
"David Grant" wrote:
> We are using SQL 2000 v8.00.194 on Server 2003 SP1 with 2GB RAM
> At 00:30 at random day intervals, databases on two different servers are
> taken offline which causes jobs to be terminated and sessions left open. W
e
> have obtained a trace log using DebugView which contains:
> 00571101 12:30:40 AM [516] 2006-09-21 00:30:40.15 getspinlock pre-Slee
p():
> spid 8, 10000 yields on lock type "LOGFLUSHQ" (adr 0x1a406f7c)
>
> 00571105 12:30:47 AM [516] 2006-09-21 00:30:47.05 getspinlock pre-Slee
p():
> spid 0, 10000 yields on lock type "SRVPROC" (adr 0x1a5fe3f8)
> We have no SQL jobs running at 00:30 so this looks like an internal SQL
> maintenance job, possibly performance related?
>|||David Grant wrote:
> This problem was caused by Veritas Backup Exec trying to backup the databa
se
> files (which were obviously in use!). The scripts used to include the
> SQLBackup folder but had been changed to include SQLData as well, so remov
ing
> SQLData from the script resolved the problem.
>
Veritas shouldn't have been able to take the databases offline like
this, the data files should have been "in use" by SQL at the time. The
only way I can picture this happening is if you have "Auto-Close"
enabled on your databases. If SQL "closed" the database, Veritas comes
along and starts backing up the data file, and SQL tries to "open" the
database again, it's going to fail. You shouldn't use the AutoClose or
AutoShrink options on a production database.
Tracy McKibben
MCDBA
http://www.realsqlguy.com|||AutoClose is not enabled on any of our live or test systems. AutoShrink is
only enabled on our test systems.
"Tracy McKibben" wrote:
> David Grant wrote:
> Veritas shouldn't have been able to take the databases offline like
> this, the data files should have been "in use" by SQL at the time. The
> only way I can picture this happening is if you have "Auto-Close"
> enabled on your databases. If SQL "closed" the database, Veritas comes
> along and starts backing up the data file, and SQL tries to "open" the
> database again, it's going to fail. You shouldn't use the AutoClose or
> AutoShrink options on a production database.
>
> --
> Tracy McKibben
> MCDBA
> http://www.realsqlguy.com
>|||I've seen similar things when the network admins were using
Veritas and VSS. I think it was along the lines that if you
have some activity or high activity in SQL Server, it can
prevent or interfere with the freeze I/O and then you can
get different errors. You may want to check the event logs
to see if you can find more information in there - look for
issues with VSS. The solution is to exclude the SQL Server
data directories. There might be some other configurations
in Veritas that impact this as well - don't know for sure.
-Sue
On Tue, 3 Oct 2006 06:11:02 -0700, David Grant
<DavidGrant@.discussions.microsoft.com> wrote:
[vbcol=seagreen]
>AutoClose is not enabled on any of our live or test systems. AutoShrink is
>only enabled on our test systems.
>"Tracy McKibben" wrote:
>
DB taken offline by getspinlock pre-Sleep() error
We are using SQL 2000 v8.00.194 on Server 2003 SP1 with 2GB RAM
At 00:30 at random day intervals, databases on two different servers are
taken offline which causes jobs to be terminated and sessions left open. We
have obtained a trace log using DebugView which contains:
00571101 12:30:40 AM [516] 2006-09-21 00:30:40.15 getspinlock pre-Sleep():
spid 8, 10000 yields on lock type "LOGFLUSHQ" (adr 0x1a406f7c)
00571105 12:30:47 AM [516] 2006-09-21 00:30:47.05 getspinlock pre-Sleep():
spid 0, 10000 yields on lock type "SRVPROC" (adr 0x1a5fe3f8)
We have no SQL jobs running at 00:30 so this looks like an internal SQL
maintenance job, possibly performance related?This problem was caused by Veritas Backup Exec trying to backup the database
files (which were obviously in use!). The scripts used to include the
SQLBackup folder but had been changed to include SQLData as well, so removing
SQLData from the script resolved the problem.
"David Grant" wrote:
> We are using SQL 2000 v8.00.194 on Server 2003 SP1 with 2GB RAM
> At 00:30 at random day intervals, databases on two different servers are
> taken offline which causes jobs to be terminated and sessions left open. We
> have obtained a trace log using DebugView which contains:
> 00571101 12:30:40 AM [516] 2006-09-21 00:30:40.15 getspinlock pre-Sleep():
> spid 8, 10000 yields on lock type "LOGFLUSHQ" (adr 0x1a406f7c)
>
> 00571105 12:30:47 AM [516] 2006-09-21 00:30:47.05 getspinlock pre-Sleep():
> spid 0, 10000 yields on lock type "SRVPROC" (adr 0x1a5fe3f8)
> We have no SQL jobs running at 00:30 so this looks like an internal SQL
> maintenance job, possibly performance related?
>|||David Grant wrote:
> This problem was caused by Veritas Backup Exec trying to backup the database
> files (which were obviously in use!). The scripts used to include the
> SQLBackup folder but had been changed to include SQLData as well, so removing
> SQLData from the script resolved the problem.
>
Veritas shouldn't have been able to take the databases offline like
this, the data files should have been "in use" by SQL at the time. The
only way I can picture this happening is if you have "Auto-Close"
enabled on your databases. If SQL "closed" the database, Veritas comes
along and starts backing up the data file, and SQL tries to "open" the
database again, it's going to fail. You shouldn't use the AutoClose or
AutoShrink options on a production database.
Tracy McKibben
MCDBA
http://www.realsqlguy.com|||AutoClose is not enabled on any of our live or test systems. AutoShrink is
only enabled on our test systems.
"Tracy McKibben" wrote:
> David Grant wrote:
> > This problem was caused by Veritas Backup Exec trying to backup the database
> > files (which were obviously in use!). The scripts used to include the
> > SQLBackup folder but had been changed to include SQLData as well, so removing
> > SQLData from the script resolved the problem.
> >
> Veritas shouldn't have been able to take the databases offline like
> this, the data files should have been "in use" by SQL at the time. The
> only way I can picture this happening is if you have "Auto-Close"
> enabled on your databases. If SQL "closed" the database, Veritas comes
> along and starts backing up the data file, and SQL tries to "open" the
> database again, it's going to fail. You shouldn't use the AutoClose or
> AutoShrink options on a production database.
>
> --
> Tracy McKibben
> MCDBA
> http://www.realsqlguy.com
>|||I've seen similar things when the network admins were using
Veritas and VSS. I think it was along the lines that if you
have some activity or high activity in SQL Server, it can
prevent or interfere with the freeze I/O and then you can
get different errors. You may want to check the event logs
to see if you can find more information in there - look for
issues with VSS. The solution is to exclude the SQL Server
data directories. There might be some other configurations
in Veritas that impact this as well - don't know for sure.
-Sue
On Tue, 3 Oct 2006 06:11:02 -0700, David Grant
<DavidGrant@.discussions.microsoft.com> wrote:
>AutoClose is not enabled on any of our live or test systems. AutoShrink is
>only enabled on our test systems.
>"Tracy McKibben" wrote:
>> David Grant wrote:
>> > This problem was caused by Veritas Backup Exec trying to backup the database
>> > files (which were obviously in use!). The scripts used to include the
>> > SQLBackup folder but had been changed to include SQLData as well, so removing
>> > SQLData from the script resolved the problem.
>> >
>> Veritas shouldn't have been able to take the databases offline like
>> this, the data files should have been "in use" by SQL at the time. The
>> only way I can picture this happening is if you have "Auto-Close"
>> enabled on your databases. If SQL "closed" the database, Veritas comes
>> along and starts backing up the data file, and SQL tries to "open" the
>> database again, it's going to fail. You shouldn't use the AutoClose or
>> AutoShrink options on a production database.
>>
>> --
>> Tracy McKibben
>> MCDBA
>> http://www.realsqlguy.com
At 00:30 at random day intervals, databases on two different servers are
taken offline which causes jobs to be terminated and sessions left open. We
have obtained a trace log using DebugView which contains:
00571101 12:30:40 AM [516] 2006-09-21 00:30:40.15 getspinlock pre-Sleep():
spid 8, 10000 yields on lock type "LOGFLUSHQ" (adr 0x1a406f7c)
00571105 12:30:47 AM [516] 2006-09-21 00:30:47.05 getspinlock pre-Sleep():
spid 0, 10000 yields on lock type "SRVPROC" (adr 0x1a5fe3f8)
We have no SQL jobs running at 00:30 so this looks like an internal SQL
maintenance job, possibly performance related?This problem was caused by Veritas Backup Exec trying to backup the database
files (which were obviously in use!). The scripts used to include the
SQLBackup folder but had been changed to include SQLData as well, so removing
SQLData from the script resolved the problem.
"David Grant" wrote:
> We are using SQL 2000 v8.00.194 on Server 2003 SP1 with 2GB RAM
> At 00:30 at random day intervals, databases on two different servers are
> taken offline which causes jobs to be terminated and sessions left open. We
> have obtained a trace log using DebugView which contains:
> 00571101 12:30:40 AM [516] 2006-09-21 00:30:40.15 getspinlock pre-Sleep():
> spid 8, 10000 yields on lock type "LOGFLUSHQ" (adr 0x1a406f7c)
>
> 00571105 12:30:47 AM [516] 2006-09-21 00:30:47.05 getspinlock pre-Sleep():
> spid 0, 10000 yields on lock type "SRVPROC" (adr 0x1a5fe3f8)
> We have no SQL jobs running at 00:30 so this looks like an internal SQL
> maintenance job, possibly performance related?
>|||David Grant wrote:
> This problem was caused by Veritas Backup Exec trying to backup the database
> files (which were obviously in use!). The scripts used to include the
> SQLBackup folder but had been changed to include SQLData as well, so removing
> SQLData from the script resolved the problem.
>
Veritas shouldn't have been able to take the databases offline like
this, the data files should have been "in use" by SQL at the time. The
only way I can picture this happening is if you have "Auto-Close"
enabled on your databases. If SQL "closed" the database, Veritas comes
along and starts backing up the data file, and SQL tries to "open" the
database again, it's going to fail. You shouldn't use the AutoClose or
AutoShrink options on a production database.
Tracy McKibben
MCDBA
http://www.realsqlguy.com|||AutoClose is not enabled on any of our live or test systems. AutoShrink is
only enabled on our test systems.
"Tracy McKibben" wrote:
> David Grant wrote:
> > This problem was caused by Veritas Backup Exec trying to backup the database
> > files (which were obviously in use!). The scripts used to include the
> > SQLBackup folder but had been changed to include SQLData as well, so removing
> > SQLData from the script resolved the problem.
> >
> Veritas shouldn't have been able to take the databases offline like
> this, the data files should have been "in use" by SQL at the time. The
> only way I can picture this happening is if you have "Auto-Close"
> enabled on your databases. If SQL "closed" the database, Veritas comes
> along and starts backing up the data file, and SQL tries to "open" the
> database again, it's going to fail. You shouldn't use the AutoClose or
> AutoShrink options on a production database.
>
> --
> Tracy McKibben
> MCDBA
> http://www.realsqlguy.com
>|||I've seen similar things when the network admins were using
Veritas and VSS. I think it was along the lines that if you
have some activity or high activity in SQL Server, it can
prevent or interfere with the freeze I/O and then you can
get different errors. You may want to check the event logs
to see if you can find more information in there - look for
issues with VSS. The solution is to exclude the SQL Server
data directories. There might be some other configurations
in Veritas that impact this as well - don't know for sure.
-Sue
On Tue, 3 Oct 2006 06:11:02 -0700, David Grant
<DavidGrant@.discussions.microsoft.com> wrote:
>AutoClose is not enabled on any of our live or test systems. AutoShrink is
>only enabled on our test systems.
>"Tracy McKibben" wrote:
>> David Grant wrote:
>> > This problem was caused by Veritas Backup Exec trying to backup the database
>> > files (which were obviously in use!). The scripts used to include the
>> > SQLBackup folder but had been changed to include SQLData as well, so removing
>> > SQLData from the script resolved the problem.
>> >
>> Veritas shouldn't have been able to take the databases offline like
>> this, the data files should have been "in use" by SQL at the time. The
>> only way I can picture this happening is if you have "Auto-Close"
>> enabled on your databases. If SQL "closed" the database, Veritas comes
>> along and starts backing up the data file, and SQL tries to "open" the
>> database again, it's going to fail. You shouldn't use the AutoClose or
>> AutoShrink options on a production database.
>>
>> --
>> Tracy McKibben
>> MCDBA
>> http://www.realsqlguy.com
Tuesday, February 14, 2012
DB file size grows - with double size. DB grows at random interva
Anyone had anything like this?
Background:
The essential problem is that the data and transaction log files for select
SQL Server 2000 databases on one of 2 SQL Server 2000 servers (the two
servers are not related via shared databases, replication, etc.) have been
ballooning at seemingly random intervals. But the data file sizes have
appeared to follow a pattern. In general, the pattern appears to be that the
data file increases by the approximate amount of the original file size each
time it balloons (e.g. a file data.mdf is originally 7GB; the first time it
balloons, it grows to 14GB, the second time, 21GB, etc.). At the same time,
the transaction log file grows by a tremendous amount as well (apparently far
beyond the size to which it has ever previously grown), though the file size
pattern seems less clear with the transaction log files.
Severity:
One of the databases with this problem has a data file that is about 30GB
(proper size), and the other database with this problem is about 10GB (proper
size). If MSSQL Server is unlucky—and the databases balloon two or three
times—all remaining disk space could easily be consumed, causing the server
to go down.
Hypothesis:
My hypothesis was that there was some kind of corruption in the data file,
and SQL Server allocated an amount of disk space equal to the size of the
original data store so that it could produce a second, clean copy. And the
transaction log file is keeping track of the operations SQL Server is
performing when it produces this second copy (it’s easy to see why
duplicating a complex 7GB data store can easily cause a transaction log file
to balloon as well). But, if I’m correct, then something would seem to be
very wrong with the hard disk, SQL Server, or the OS environment, because SQL
Server should be smart enough to identify relatively miniscule regions that
are corrupt and continue to work with the remaining data store. For it to
require a completely new disk allocation seems odd.
Hi Rei,
For the databases, are they set to autogrowth? Which is the autogrowth
configuration? (for example, autogrowth by 10 percent).
Ben Nevarez
"Rei" wrote:
> Anyone had anything like this?
> Background:
> The essential problem is that the data and transaction log files for select
> SQL Server 2000 databases on one of 2 SQL Server 2000 servers (the two
> servers are not related via shared databases, replication, etc.) have been
> ballooning at seemingly random intervals. But the data file sizes have
> appeared to follow a pattern. In general, the pattern appears to be that the
> data file increases by the approximate amount of the original file size each
> time it balloons (e.g. a file data.mdf is originally 7GB; the first time it
> balloons, it grows to 14GB, the second time, 21GB, etc.). At the same time,
> the transaction log file grows by a tremendous amount as well (apparently far
> beyond the size to which it has ever previously grown), though the file size
> pattern seems less clear with the transaction log files.
> Severity:
> One of the databases with this problem has a data file that is about 30GB
> (proper size), and the other database with this problem is about 10GB (proper
> size). If MSSQL Server is unlucky—and the databases balloon two or three
> times—all remaining disk space could easily be consumed, causing the server
> to go down.
> Hypothesis:
> My hypothesis was that there was some kind of corruption in the data file,
> and SQL Server allocated an amount of disk space equal to the size of the
> original data store so that it could produce a second, clean copy. And the
> transaction log file is keeping track of the operations SQL Server is
> performing when it produces this second copy (it’s easy to see why
> duplicating a complex 7GB data store can easily cause a transaction log file
> to balloon as well). But, if I’m correct, then something would seem to be
> very wrong with the hard disk, SQL Server, or the OS environment, because SQL
> Server should be smart enough to identify relatively miniscule regions that
> are corrupt and continue to work with the remaining data store. For it to
> require a completely new disk allocation seems odd.
>
|||Yes, they have 10% auto grow.
But its size doubles.
"Ben Nevarez" wrote:
[vbcol=seagreen]
> Hi Rei,
> For the databases, are they set to autogrowth? Which is the autogrowth
> configuration? (for example, autogrowth by 10 percent).
> Ben Nevarez
>
>
> "Rei" wrote:
|||Hi
If you are going to have autogrow then you should change this to a fixed
amount anyhow.
You don't say if this growth is sudden or not, have you tried to shrink the
file and monitor using perfmon when it grows? Do you run maintenance on this
database?
John
"Rei" wrote:
[vbcol=seagreen]
> Yes, they have 10% auto grow.
> But its size doubles.
> "Ben Nevarez" wrote:
|||John Bell wrote:[vbcol=seagreen]
> Hi
> If you are going to have autogrow then you should change this to a fixed
> amount anyhow.
> You don't say if this growth is sudden or not, have you tried to shrink the
> file and monitor using perfmon when it grows? Do you run maintenance on this
> database?
> John
> "Rei" wrote:
>
When the transaction log grows by a lot - that means there are a lot of
transactions being processed (read, lots of data added). This would
indicate that there is some process loading lots of data. Find those
processes, and you will find out what is causing the databases to grow.
Background:
The essential problem is that the data and transaction log files for select
SQL Server 2000 databases on one of 2 SQL Server 2000 servers (the two
servers are not related via shared databases, replication, etc.) have been
ballooning at seemingly random intervals. But the data file sizes have
appeared to follow a pattern. In general, the pattern appears to be that the
data file increases by the approximate amount of the original file size each
time it balloons (e.g. a file data.mdf is originally 7GB; the first time it
balloons, it grows to 14GB, the second time, 21GB, etc.). At the same time,
the transaction log file grows by a tremendous amount as well (apparently far
beyond the size to which it has ever previously grown), though the file size
pattern seems less clear with the transaction log files.
Severity:
One of the databases with this problem has a data file that is about 30GB
(proper size), and the other database with this problem is about 10GB (proper
size). If MSSQL Server is unlucky—and the databases balloon two or three
times—all remaining disk space could easily be consumed, causing the server
to go down.
Hypothesis:
My hypothesis was that there was some kind of corruption in the data file,
and SQL Server allocated an amount of disk space equal to the size of the
original data store so that it could produce a second, clean copy. And the
transaction log file is keeping track of the operations SQL Server is
performing when it produces this second copy (it’s easy to see why
duplicating a complex 7GB data store can easily cause a transaction log file
to balloon as well). But, if I’m correct, then something would seem to be
very wrong with the hard disk, SQL Server, or the OS environment, because SQL
Server should be smart enough to identify relatively miniscule regions that
are corrupt and continue to work with the remaining data store. For it to
require a completely new disk allocation seems odd.
Hi Rei,
For the databases, are they set to autogrowth? Which is the autogrowth
configuration? (for example, autogrowth by 10 percent).
Ben Nevarez
"Rei" wrote:
> Anyone had anything like this?
> Background:
> The essential problem is that the data and transaction log files for select
> SQL Server 2000 databases on one of 2 SQL Server 2000 servers (the two
> servers are not related via shared databases, replication, etc.) have been
> ballooning at seemingly random intervals. But the data file sizes have
> appeared to follow a pattern. In general, the pattern appears to be that the
> data file increases by the approximate amount of the original file size each
> time it balloons (e.g. a file data.mdf is originally 7GB; the first time it
> balloons, it grows to 14GB, the second time, 21GB, etc.). At the same time,
> the transaction log file grows by a tremendous amount as well (apparently far
> beyond the size to which it has ever previously grown), though the file size
> pattern seems less clear with the transaction log files.
> Severity:
> One of the databases with this problem has a data file that is about 30GB
> (proper size), and the other database with this problem is about 10GB (proper
> size). If MSSQL Server is unlucky—and the databases balloon two or three
> times—all remaining disk space could easily be consumed, causing the server
> to go down.
> Hypothesis:
> My hypothesis was that there was some kind of corruption in the data file,
> and SQL Server allocated an amount of disk space equal to the size of the
> original data store so that it could produce a second, clean copy. And the
> transaction log file is keeping track of the operations SQL Server is
> performing when it produces this second copy (it’s easy to see why
> duplicating a complex 7GB data store can easily cause a transaction log file
> to balloon as well). But, if I’m correct, then something would seem to be
> very wrong with the hard disk, SQL Server, or the OS environment, because SQL
> Server should be smart enough to identify relatively miniscule regions that
> are corrupt and continue to work with the remaining data store. For it to
> require a completely new disk allocation seems odd.
>
|||Yes, they have 10% auto grow.
But its size doubles.
"Ben Nevarez" wrote:
[vbcol=seagreen]
> Hi Rei,
> For the databases, are they set to autogrowth? Which is the autogrowth
> configuration? (for example, autogrowth by 10 percent).
> Ben Nevarez
>
>
> "Rei" wrote:
|||Hi
If you are going to have autogrow then you should change this to a fixed
amount anyhow.
You don't say if this growth is sudden or not, have you tried to shrink the
file and monitor using perfmon when it grows? Do you run maintenance on this
database?
John
"Rei" wrote:
[vbcol=seagreen]
> Yes, they have 10% auto grow.
> But its size doubles.
> "Ben Nevarez" wrote:
|||John Bell wrote:[vbcol=seagreen]
> Hi
> If you are going to have autogrow then you should change this to a fixed
> amount anyhow.
> You don't say if this growth is sudden or not, have you tried to shrink the
> file and monitor using perfmon when it grows? Do you run maintenance on this
> database?
> John
> "Rei" wrote:
>
When the transaction log grows by a lot - that means there are a lot of
transactions being processed (read, lots of data added). This would
indicate that there is some process loading lots of data. Find those
processes, and you will find out what is causing the databases to grow.
DB file size grows - with double size. DB grows at random interva
Anyone had anything like this?
Background:
The essential problem is that the data and transaction log files for select
SQL Server 2000 databases on one of 2 SQL Server 2000 servers (the two
servers are not related via shared databases, replication, etc.) have been
ballooning at seemingly random intervals. But the data file sizes have
appeared to follow a pattern. In general, the pattern appears to be that the
data file increases by the approximate amount of the original file size each
time it balloons (e.g. a file data.mdf is originally 7GB; the first time it
balloons, it grows to 14GB, the second time, 21GB, etc.). At the same time,
the transaction log file grows by a tremendous amount as well (apparently far
beyond the size to which it has ever previously grown), though the file size
pattern seems less clear with the transaction log files.
Severity:
One of the databases with this problem has a data file that is about 30GB
(proper size), and the other database with this problem is about 10GB (proper
size). If MSSQL Server is unluckyâ'and the databases balloon two or three
timesâ'all remaining disk space could easily be consumed, causing the server
to go down.
Hypothesis:
My hypothesis was that there was some kind of corruption in the data file,
and SQL Server allocated an amount of disk space equal to the size of the
original data store so that it could produce a second, clean copy. And the
transaction log file is keeping track of the operations SQL Server is
performing when it produces this second copy (itâ's easy to see why
duplicating a complex 7GB data store can easily cause a transaction log file
to balloon as well). But, if Iâ'm correct, then something would seem to be
very wrong with the hard disk, SQL Server, or the OS environment, because SQL
Server should be smart enough to identify relatively miniscule regions that
are corrupt and continue to work with the remaining data store. For it to
require a completely new disk allocation seems odd.Hi Rei,
For the databases, are they set to autogrowth? Which is the autogrowth
configuration? (for example, autogrowth by 10 percent).
Ben Nevarez
"Rei" wrote:
> Anyone had anything like this?
> Background:
> The essential problem is that the data and transaction log files for select
> SQL Server 2000 databases on one of 2 SQL Server 2000 servers (the two
> servers are not related via shared databases, replication, etc.) have been
> ballooning at seemingly random intervals. But the data file sizes have
> appeared to follow a pattern. In general, the pattern appears to be that the
> data file increases by the approximate amount of the original file size each
> time it balloons (e.g. a file data.mdf is originally 7GB; the first time it
> balloons, it grows to 14GB, the second time, 21GB, etc.). At the same time,
> the transaction log file grows by a tremendous amount as well (apparently far
> beyond the size to which it has ever previously grown), though the file size
> pattern seems less clear with the transaction log files.
> Severity:
> One of the databases with this problem has a data file that is about 30GB
> (proper size), and the other database with this problem is about 10GB (proper
> size). If MSSQL Server is unluckyâ'and the databases balloon two or three
> timesâ'all remaining disk space could easily be consumed, causing the server
> to go down.
> Hypothesis:
> My hypothesis was that there was some kind of corruption in the data file,
> and SQL Server allocated an amount of disk space equal to the size of the
> original data store so that it could produce a second, clean copy. And the
> transaction log file is keeping track of the operations SQL Server is
> performing when it produces this second copy (itâ's easy to see why
> duplicating a complex 7GB data store can easily cause a transaction log file
> to balloon as well). But, if Iâ'm correct, then something would seem to be
> very wrong with the hard disk, SQL Server, or the OS environment, because SQL
> Server should be smart enough to identify relatively miniscule regions that
> are corrupt and continue to work with the remaining data store. For it to
> require a completely new disk allocation seems odd.
>|||Yes, they have 10% auto grow.
But its size doubles.
"Ben Nevarez" wrote:
> Hi Rei,
> For the databases, are they set to autogrowth? Which is the autogrowth
> configuration? (for example, autogrowth by 10 percent).
> Ben Nevarez
>
>
> "Rei" wrote:
> > Anyone had anything like this?
> >
> > Background:
> > The essential problem is that the data and transaction log files for select
> > SQL Server 2000 databases on one of 2 SQL Server 2000 servers (the two
> > servers are not related via shared databases, replication, etc.) have been
> > ballooning at seemingly random intervals. But the data file sizes have
> > appeared to follow a pattern. In general, the pattern appears to be that the
> > data file increases by the approximate amount of the original file size each
> > time it balloons (e.g. a file data.mdf is originally 7GB; the first time it
> > balloons, it grows to 14GB, the second time, 21GB, etc.). At the same time,
> > the transaction log file grows by a tremendous amount as well (apparently far
> > beyond the size to which it has ever previously grown), though the file size
> > pattern seems less clear with the transaction log files.
> >
> > Severity:
> > One of the databases with this problem has a data file that is about 30GB
> > (proper size), and the other database with this problem is about 10GB (proper
> > size). If MSSQL Server is unluckyâ'and the databases balloon two or three
> > timesâ'all remaining disk space could easily be consumed, causing the server
> > to go down.
> >
> > Hypothesis:
> > My hypothesis was that there was some kind of corruption in the data file,
> > and SQL Server allocated an amount of disk space equal to the size of the
> > original data store so that it could produce a second, clean copy. And the
> > transaction log file is keeping track of the operations SQL Server is
> > performing when it produces this second copy (itâ's easy to see why
> > duplicating a complex 7GB data store can easily cause a transaction log file
> > to balloon as well). But, if Iâ'm correct, then something would seem to be
> > very wrong with the hard disk, SQL Server, or the OS environment, because SQL
> > Server should be smart enough to identify relatively miniscule regions that
> > are corrupt and continue to work with the remaining data store. For it to
> > require a completely new disk allocation seems odd.
> >|||Hi
If you are going to have autogrow then you should change this to a fixed
amount anyhow.
You don't say if this growth is sudden or not, have you tried to shrink the
file and monitor using perfmon when it grows? Do you run maintenance on this
database?
John
"Rei" wrote:
> Yes, they have 10% auto grow.
> But its size doubles.
> "Ben Nevarez" wrote:
> >
> > Hi Rei,
> >
> > For the databases, are they set to autogrowth? Which is the autogrowth
> > configuration? (for example, autogrowth by 10 percent).
> >
> > Ben Nevarez
> >
> >
> >
> >
> > "Rei" wrote:
> >
> > > Anyone had anything like this?
> > >
> > > Background:
> > > The essential problem is that the data and transaction log files for select
> > > SQL Server 2000 databases on one of 2 SQL Server 2000 servers (the two
> > > servers are not related via shared databases, replication, etc.) have been
> > > ballooning at seemingly random intervals. But the data file sizes have
> > > appeared to follow a pattern. In general, the pattern appears to be that the
> > > data file increases by the approximate amount of the original file size each
> > > time it balloons (e.g. a file data.mdf is originally 7GB; the first time it
> > > balloons, it grows to 14GB, the second time, 21GB, etc.). At the same time,
> > > the transaction log file grows by a tremendous amount as well (apparently far
> > > beyond the size to which it has ever previously grown), though the file size
> > > pattern seems less clear with the transaction log files.
> > >
> > > Severity:
> > > One of the databases with this problem has a data file that is about 30GB
> > > (proper size), and the other database with this problem is about 10GB (proper
> > > size). If MSSQL Server is unluckyâ'and the databases balloon two or three
> > > timesâ'all remaining disk space could easily be consumed, causing the server
> > > to go down.
> > >
> > > Hypothesis:
> > > My hypothesis was that there was some kind of corruption in the data file,
> > > and SQL Server allocated an amount of disk space equal to the size of the
> > > original data store so that it could produce a second, clean copy. And the
> > > transaction log file is keeping track of the operations SQL Server is
> > > performing when it produces this second copy (itâ's easy to see why
> > > duplicating a complex 7GB data store can easily cause a transaction log file
> > > to balloon as well). But, if Iâ'm correct, then something would seem to be
> > > very wrong with the hard disk, SQL Server, or the OS environment, because SQL
> > > Server should be smart enough to identify relatively miniscule regions that
> > > are corrupt and continue to work with the remaining data store. For it to
> > > require a completely new disk allocation seems odd.
> > >|||John Bell wrote:
> Hi
> If you are going to have autogrow then you should change this to a fixed
> amount anyhow.
> You don't say if this growth is sudden or not, have you tried to shrink the
> file and monitor using perfmon when it grows? Do you run maintenance on this
> database?
> John
> "Rei" wrote:
>
>> Yes, they have 10% auto grow.
>> But its size doubles.
>> "Ben Nevarez" wrote:
>>
>> Hi Rei,
>> For the databases, are they set to autogrowth? Which is the autogrowth
>> configuration? (for example, autogrowth by 10 percent).
>> Ben Nevarez
>>
>>
>> "Rei" wrote:
>>
>> Anyone had anything like this?
>> Background:
>> The essential problem is that the data and transaction log files for select
>> SQL Server 2000 databases on one of 2 SQL Server 2000 servers (the two
>> servers are not related via shared databases, replication, etc.) have been
>> ballooning at seemingly random intervals. But the data file sizes have
>> appeared to follow a pattern. In general, the pattern appears to be that the
>> data file increases by the approximate amount of the original file size each
>> time it balloons (e.g. a file data.mdf is originally 7GB; the first time it
>> balloons, it grows to 14GB, the second time, 21GB, etc.). At the same time,
>> the transaction log file grows by a tremendous amount as well (apparently far
>> beyond the size to which it has ever previously grown), though the file size
>> pattern seems less clear with the transaction log files.
>> Severity:
>> One of the databases with this problem has a data file that is about 30GB
>> (proper size), and the other database with this problem is about 10GB (proper
>> size). If MSSQL Server is unluckyâ'and the databases balloon two or three
>> timesâ'all remaining disk space could easily be consumed, causing the server
>> to go down.
>> Hypothesis:
>> My hypothesis was that there was some kind of corruption in the data file,
>> and SQL Server allocated an amount of disk space equal to the size of the
>> original data store so that it could produce a second, clean copy. And the
>> transaction log file is keeping track of the operations SQL Server is
>> performing when it produces this second copy (itâ's easy to see why
>> duplicating a complex 7GB data store can easily cause a transaction log file
>> to balloon as well). But, if Iâ'm correct, then something would seem to be
>> very wrong with the hard disk, SQL Server, or the OS environment, because SQL
>> Server should be smart enough to identify relatively miniscule regions that
>> are corrupt and continue to work with the remaining data store. For it to
>> require a completely new disk allocation seems odd.
>>
When the transaction log grows by a lot - that means there are a lot of
transactions being processed (read, lots of data added). This would
indicate that there is some process loading lots of data. Find those
processes, and you will find out what is causing the databases to grow.
Background:
The essential problem is that the data and transaction log files for select
SQL Server 2000 databases on one of 2 SQL Server 2000 servers (the two
servers are not related via shared databases, replication, etc.) have been
ballooning at seemingly random intervals. But the data file sizes have
appeared to follow a pattern. In general, the pattern appears to be that the
data file increases by the approximate amount of the original file size each
time it balloons (e.g. a file data.mdf is originally 7GB; the first time it
balloons, it grows to 14GB, the second time, 21GB, etc.). At the same time,
the transaction log file grows by a tremendous amount as well (apparently far
beyond the size to which it has ever previously grown), though the file size
pattern seems less clear with the transaction log files.
Severity:
One of the databases with this problem has a data file that is about 30GB
(proper size), and the other database with this problem is about 10GB (proper
size). If MSSQL Server is unluckyâ'and the databases balloon two or three
timesâ'all remaining disk space could easily be consumed, causing the server
to go down.
Hypothesis:
My hypothesis was that there was some kind of corruption in the data file,
and SQL Server allocated an amount of disk space equal to the size of the
original data store so that it could produce a second, clean copy. And the
transaction log file is keeping track of the operations SQL Server is
performing when it produces this second copy (itâ's easy to see why
duplicating a complex 7GB data store can easily cause a transaction log file
to balloon as well). But, if Iâ'm correct, then something would seem to be
very wrong with the hard disk, SQL Server, or the OS environment, because SQL
Server should be smart enough to identify relatively miniscule regions that
are corrupt and continue to work with the remaining data store. For it to
require a completely new disk allocation seems odd.Hi Rei,
For the databases, are they set to autogrowth? Which is the autogrowth
configuration? (for example, autogrowth by 10 percent).
Ben Nevarez
"Rei" wrote:
> Anyone had anything like this?
> Background:
> The essential problem is that the data and transaction log files for select
> SQL Server 2000 databases on one of 2 SQL Server 2000 servers (the two
> servers are not related via shared databases, replication, etc.) have been
> ballooning at seemingly random intervals. But the data file sizes have
> appeared to follow a pattern. In general, the pattern appears to be that the
> data file increases by the approximate amount of the original file size each
> time it balloons (e.g. a file data.mdf is originally 7GB; the first time it
> balloons, it grows to 14GB, the second time, 21GB, etc.). At the same time,
> the transaction log file grows by a tremendous amount as well (apparently far
> beyond the size to which it has ever previously grown), though the file size
> pattern seems less clear with the transaction log files.
> Severity:
> One of the databases with this problem has a data file that is about 30GB
> (proper size), and the other database with this problem is about 10GB (proper
> size). If MSSQL Server is unluckyâ'and the databases balloon two or three
> timesâ'all remaining disk space could easily be consumed, causing the server
> to go down.
> Hypothesis:
> My hypothesis was that there was some kind of corruption in the data file,
> and SQL Server allocated an amount of disk space equal to the size of the
> original data store so that it could produce a second, clean copy. And the
> transaction log file is keeping track of the operations SQL Server is
> performing when it produces this second copy (itâ's easy to see why
> duplicating a complex 7GB data store can easily cause a transaction log file
> to balloon as well). But, if Iâ'm correct, then something would seem to be
> very wrong with the hard disk, SQL Server, or the OS environment, because SQL
> Server should be smart enough to identify relatively miniscule regions that
> are corrupt and continue to work with the remaining data store. For it to
> require a completely new disk allocation seems odd.
>|||Yes, they have 10% auto grow.
But its size doubles.
"Ben Nevarez" wrote:
> Hi Rei,
> For the databases, are they set to autogrowth? Which is the autogrowth
> configuration? (for example, autogrowth by 10 percent).
> Ben Nevarez
>
>
> "Rei" wrote:
> > Anyone had anything like this?
> >
> > Background:
> > The essential problem is that the data and transaction log files for select
> > SQL Server 2000 databases on one of 2 SQL Server 2000 servers (the two
> > servers are not related via shared databases, replication, etc.) have been
> > ballooning at seemingly random intervals. But the data file sizes have
> > appeared to follow a pattern. In general, the pattern appears to be that the
> > data file increases by the approximate amount of the original file size each
> > time it balloons (e.g. a file data.mdf is originally 7GB; the first time it
> > balloons, it grows to 14GB, the second time, 21GB, etc.). At the same time,
> > the transaction log file grows by a tremendous amount as well (apparently far
> > beyond the size to which it has ever previously grown), though the file size
> > pattern seems less clear with the transaction log files.
> >
> > Severity:
> > One of the databases with this problem has a data file that is about 30GB
> > (proper size), and the other database with this problem is about 10GB (proper
> > size). If MSSQL Server is unluckyâ'and the databases balloon two or three
> > timesâ'all remaining disk space could easily be consumed, causing the server
> > to go down.
> >
> > Hypothesis:
> > My hypothesis was that there was some kind of corruption in the data file,
> > and SQL Server allocated an amount of disk space equal to the size of the
> > original data store so that it could produce a second, clean copy. And the
> > transaction log file is keeping track of the operations SQL Server is
> > performing when it produces this second copy (itâ's easy to see why
> > duplicating a complex 7GB data store can easily cause a transaction log file
> > to balloon as well). But, if Iâ'm correct, then something would seem to be
> > very wrong with the hard disk, SQL Server, or the OS environment, because SQL
> > Server should be smart enough to identify relatively miniscule regions that
> > are corrupt and continue to work with the remaining data store. For it to
> > require a completely new disk allocation seems odd.
> >|||Hi
If you are going to have autogrow then you should change this to a fixed
amount anyhow.
You don't say if this growth is sudden or not, have you tried to shrink the
file and monitor using perfmon when it grows? Do you run maintenance on this
database?
John
"Rei" wrote:
> Yes, they have 10% auto grow.
> But its size doubles.
> "Ben Nevarez" wrote:
> >
> > Hi Rei,
> >
> > For the databases, are they set to autogrowth? Which is the autogrowth
> > configuration? (for example, autogrowth by 10 percent).
> >
> > Ben Nevarez
> >
> >
> >
> >
> > "Rei" wrote:
> >
> > > Anyone had anything like this?
> > >
> > > Background:
> > > The essential problem is that the data and transaction log files for select
> > > SQL Server 2000 databases on one of 2 SQL Server 2000 servers (the two
> > > servers are not related via shared databases, replication, etc.) have been
> > > ballooning at seemingly random intervals. But the data file sizes have
> > > appeared to follow a pattern. In general, the pattern appears to be that the
> > > data file increases by the approximate amount of the original file size each
> > > time it balloons (e.g. a file data.mdf is originally 7GB; the first time it
> > > balloons, it grows to 14GB, the second time, 21GB, etc.). At the same time,
> > > the transaction log file grows by a tremendous amount as well (apparently far
> > > beyond the size to which it has ever previously grown), though the file size
> > > pattern seems less clear with the transaction log files.
> > >
> > > Severity:
> > > One of the databases with this problem has a data file that is about 30GB
> > > (proper size), and the other database with this problem is about 10GB (proper
> > > size). If MSSQL Server is unluckyâ'and the databases balloon two or three
> > > timesâ'all remaining disk space could easily be consumed, causing the server
> > > to go down.
> > >
> > > Hypothesis:
> > > My hypothesis was that there was some kind of corruption in the data file,
> > > and SQL Server allocated an amount of disk space equal to the size of the
> > > original data store so that it could produce a second, clean copy. And the
> > > transaction log file is keeping track of the operations SQL Server is
> > > performing when it produces this second copy (itâ's easy to see why
> > > duplicating a complex 7GB data store can easily cause a transaction log file
> > > to balloon as well). But, if Iâ'm correct, then something would seem to be
> > > very wrong with the hard disk, SQL Server, or the OS environment, because SQL
> > > Server should be smart enough to identify relatively miniscule regions that
> > > are corrupt and continue to work with the remaining data store. For it to
> > > require a completely new disk allocation seems odd.
> > >|||John Bell wrote:
> Hi
> If you are going to have autogrow then you should change this to a fixed
> amount anyhow.
> You don't say if this growth is sudden or not, have you tried to shrink the
> file and monitor using perfmon when it grows? Do you run maintenance on this
> database?
> John
> "Rei" wrote:
>
>> Yes, they have 10% auto grow.
>> But its size doubles.
>> "Ben Nevarez" wrote:
>>
>> Hi Rei,
>> For the databases, are they set to autogrowth? Which is the autogrowth
>> configuration? (for example, autogrowth by 10 percent).
>> Ben Nevarez
>>
>>
>> "Rei" wrote:
>>
>> Anyone had anything like this?
>> Background:
>> The essential problem is that the data and transaction log files for select
>> SQL Server 2000 databases on one of 2 SQL Server 2000 servers (the two
>> servers are not related via shared databases, replication, etc.) have been
>> ballooning at seemingly random intervals. But the data file sizes have
>> appeared to follow a pattern. In general, the pattern appears to be that the
>> data file increases by the approximate amount of the original file size each
>> time it balloons (e.g. a file data.mdf is originally 7GB; the first time it
>> balloons, it grows to 14GB, the second time, 21GB, etc.). At the same time,
>> the transaction log file grows by a tremendous amount as well (apparently far
>> beyond the size to which it has ever previously grown), though the file size
>> pattern seems less clear with the transaction log files.
>> Severity:
>> One of the databases with this problem has a data file that is about 30GB
>> (proper size), and the other database with this problem is about 10GB (proper
>> size). If MSSQL Server is unluckyâ'and the databases balloon two or three
>> timesâ'all remaining disk space could easily be consumed, causing the server
>> to go down.
>> Hypothesis:
>> My hypothesis was that there was some kind of corruption in the data file,
>> and SQL Server allocated an amount of disk space equal to the size of the
>> original data store so that it could produce a second, clean copy. And the
>> transaction log file is keeping track of the operations SQL Server is
>> performing when it produces this second copy (itâ's easy to see why
>> duplicating a complex 7GB data store can easily cause a transaction log file
>> to balloon as well). But, if Iâ'm correct, then something would seem to be
>> very wrong with the hard disk, SQL Server, or the OS environment, because SQL
>> Server should be smart enough to identify relatively miniscule regions that
>> are corrupt and continue to work with the remaining data store. For it to
>> require a completely new disk allocation seems odd.
>>
When the transaction log grows by a lot - that means there are a lot of
transactions being processed (read, lots of data added). This would
indicate that there is some process loading lots of data. Find those
processes, and you will find out what is causing the databases to grow.
Subscribe to:
Posts (Atom)