Quick question, I have a maintinence job that optimizes (reorganizes back to
original size my databases back to the original amount of free space). I also
have jobs that defrag specific tables.
Will the maintinence job defrag as well as reorgainize.
I would like to get rid of my defrag jobs and have one maintinence job that
does both.
Yes. If you select Reorganize data and index pages in the maintenance
plans, it will execute dbcc dbreindex. If you select Remove unused
space from database files, it will execute dbcc shrinkdatabase.
Considerations in going this route is that dbreindex is your only
option in using a maintenance plan. There are different considerations
to take into account when determining whether to use dbreindex or
indexdefrag. You would want to check the following article:
Microsoft SQL Server 2000 Index Defragmentation Best Practices
http://www.microsoft.com/technet/pro.../ss2kidbp.mspx
A consideration with shrinking is that it is a resource intensive
operation. Additionally, the maintenance plan will limit you to using
shrinkdatabase instead of shrinkfile. You have less control and
somewhat unpredictable individual file sizes when using
shrinkdatabase. If you shrink a database, then it grows back to the
size it was before the shrink and then you shrink it again, the
process can unnecessarily waste a lot of resources as well as
contributing to OS level fragmentation. You can find additional
information in this article:
http://www.karaszi.com/sqlserver/info_dont_shrink.asp
-Sue
On Mon, 25 Oct 2004 09:59:05 -0700, "robert_at_cbb"
<robertatcbb@.discussions.microsoft.com> wrote:
>Quick question, I have a maintinence job that optimizes (reorganizes back to
>original size my databases back to the original amount of free space). I also
>have jobs that defrag specific tables.
>Will the maintinence job defrag as well as reorgainize.
>I would like to get rid of my defrag jobs and have one maintinence job that
>does both.
|||Another consideration is that shrinking introduces logical fragmentation
that dbcc dbreindex removes - if you reindex then shrink you're shooting
yourself in the foot...
You should ask yourself why you have to shrink repeatedly - the reason the
db size grows is that SQL needs the extra space. If the db size grows and
then remains relatively static, you'd do best to leave it alone otherwise
you're wasting resources as Sue says.
Regards.
Paul Randal
Dev Lead, Microsoft SQL Server Storage Engine
This posting is provided "AS IS" with no warranties, and confers no rights.
"Sue Hoegemeier" <Sue_H@.nomail.please> wrote in message
news:knfvn0tq38v3a905ff208i5u134m35top5@.4ax.com...
> Yes. If you select Reorganize data and index pages in the maintenance
> plans, it will execute dbcc dbreindex. If you select Remove unused
> space from database files, it will execute dbcc shrinkdatabase.
> Considerations in going this route is that dbreindex is your only
> option in using a maintenance plan. There are different considerations
> to take into account when determining whether to use dbreindex or
> indexdefrag. You would want to check the following article:
> Microsoft SQL Server 2000 Index Defragmentation Best Practices
>
http://www.microsoft.com/technet/pro.../ss2kidbp.mspx[vbcol=seagreen]
> A consideration with shrinking is that it is a resource intensive
> operation. Additionally, the maintenance plan will limit you to using
> shrinkdatabase instead of shrinkfile. You have less control and
> somewhat unpredictable individual file sizes when using
> shrinkdatabase. If you shrink a database, then it grows back to the
> size it was before the shrink and then you shrink it again, the
> process can unnecessarily waste a lot of resources as well as
> contributing to OS level fragmentation. You can find additional
> information in this article:
> http://www.karaszi.com/sqlserver/info_dont_shrink.asp
> -Sue
> On Mon, 25 Oct 2004 09:59:05 -0700, "robert_at_cbb"
> <robertatcbb@.discussions.microsoft.com> wrote:
to[vbcol=seagreen]
also[vbcol=seagreen]
that
>
Showing posts with label optimizes. Show all posts
Showing posts with label optimizes. Show all posts
Friday, March 9, 2012
Maintinence Jobs vs Defag Jobs
Maintinence Jobs vs Defag Jobs
Quick question, I have a maintinence job that optimizes (reorganizes back to
original size my databases back to the original amount of free space). I also
have jobs that defrag specific tables.
Will the maintinence job defrag as well as reorgainize.
I would like to get rid of my defrag jobs and have one maintinence job that
does both.Yes. If you select Reorganize data and index pages in the maintenance
plans, it will execute dbcc dbreindex. If you select Remove unused
space from database files, it will execute dbcc shrinkdatabase.
Considerations in going this route is that dbreindex is your only
option in using a maintenance plan. There are different considerations
to take into account when determining whether to use dbreindex or
indexdefrag. You would want to check the following article:
Microsoft SQL Server 2000 Index Defragmentation Best Practices
http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/ss2kidbp.mspx
A consideration with shrinking is that it is a resource intensive
operation. Additionally, the maintenance plan will limit you to using
shrinkdatabase instead of shrinkfile. You have less control and
somewhat unpredictable individual file sizes when using
shrinkdatabase. If you shrink a database, then it grows back to the
size it was before the shrink and then you shrink it again, the
process can unnecessarily waste a lot of resources as well as
contributing to OS level fragmentation. You can find additional
information in this article:
http://www.karaszi.com/sqlserver/info_dont_shrink.asp
-Sue
On Mon, 25 Oct 2004 09:59:05 -0700, "robert_at_cbb"
<robertatcbb@.discussions.microsoft.com> wrote:
>Quick question, I have a maintinence job that optimizes (reorganizes back to
>original size my databases back to the original amount of free space). I also
>have jobs that defrag specific tables.
>Will the maintinence job defrag as well as reorgainize.
>I would like to get rid of my defrag jobs and have one maintinence job that
>does both.|||Another consideration is that shrinking introduces logical fragmentation
that dbcc dbreindex removes - if you reindex then shrink you're shooting
yourself in the foot...
You should ask yourself why you have to shrink repeatedly - the reason the
db size grows is that SQL needs the extra space. If the db size grows and
then remains relatively static, you'd do best to leave it alone otherwise
you're wasting resources as Sue says.
Regards.
--
Paul Randal
Dev Lead, Microsoft SQL Server Storage Engine
This posting is provided "AS IS" with no warranties, and confers no rights.
"Sue Hoegemeier" <Sue_H@.nomail.please> wrote in message
news:knfvn0tq38v3a905ff208i5u134m35top5@.4ax.com...
> Yes. If you select Reorganize data and index pages in the maintenance
> plans, it will execute dbcc dbreindex. If you select Remove unused
> space from database files, it will execute dbcc shrinkdatabase.
> Considerations in going this route is that dbreindex is your only
> option in using a maintenance plan. There are different considerations
> to take into account when determining whether to use dbreindex or
> indexdefrag. You would want to check the following article:
> Microsoft SQL Server 2000 Index Defragmentation Best Practices
>
http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/ss2kidbp.mspx
> A consideration with shrinking is that it is a resource intensive
> operation. Additionally, the maintenance plan will limit you to using
> shrinkdatabase instead of shrinkfile. You have less control and
> somewhat unpredictable individual file sizes when using
> shrinkdatabase. If you shrink a database, then it grows back to the
> size it was before the shrink and then you shrink it again, the
> process can unnecessarily waste a lot of resources as well as
> contributing to OS level fragmentation. You can find additional
> information in this article:
> http://www.karaszi.com/sqlserver/info_dont_shrink.asp
> -Sue
> On Mon, 25 Oct 2004 09:59:05 -0700, "robert_at_cbb"
> <robertatcbb@.discussions.microsoft.com> wrote:
> >Quick question, I have a maintinence job that optimizes (reorganizes back
to
> >original size my databases back to the original amount of free space). I
also
> >have jobs that defrag specific tables.
> >
> >Will the maintinence job defrag as well as reorgainize.
> >
> >I would like to get rid of my defrag jobs and have one maintinence job
that
> >does both.
>
original size my databases back to the original amount of free space). I also
have jobs that defrag specific tables.
Will the maintinence job defrag as well as reorgainize.
I would like to get rid of my defrag jobs and have one maintinence job that
does both.Yes. If you select Reorganize data and index pages in the maintenance
plans, it will execute dbcc dbreindex. If you select Remove unused
space from database files, it will execute dbcc shrinkdatabase.
Considerations in going this route is that dbreindex is your only
option in using a maintenance plan. There are different considerations
to take into account when determining whether to use dbreindex or
indexdefrag. You would want to check the following article:
Microsoft SQL Server 2000 Index Defragmentation Best Practices
http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/ss2kidbp.mspx
A consideration with shrinking is that it is a resource intensive
operation. Additionally, the maintenance plan will limit you to using
shrinkdatabase instead of shrinkfile. You have less control and
somewhat unpredictable individual file sizes when using
shrinkdatabase. If you shrink a database, then it grows back to the
size it was before the shrink and then you shrink it again, the
process can unnecessarily waste a lot of resources as well as
contributing to OS level fragmentation. You can find additional
information in this article:
http://www.karaszi.com/sqlserver/info_dont_shrink.asp
-Sue
On Mon, 25 Oct 2004 09:59:05 -0700, "robert_at_cbb"
<robertatcbb@.discussions.microsoft.com> wrote:
>Quick question, I have a maintinence job that optimizes (reorganizes back to
>original size my databases back to the original amount of free space). I also
>have jobs that defrag specific tables.
>Will the maintinence job defrag as well as reorgainize.
>I would like to get rid of my defrag jobs and have one maintinence job that
>does both.|||Another consideration is that shrinking introduces logical fragmentation
that dbcc dbreindex removes - if you reindex then shrink you're shooting
yourself in the foot...
You should ask yourself why you have to shrink repeatedly - the reason the
db size grows is that SQL needs the extra space. If the db size grows and
then remains relatively static, you'd do best to leave it alone otherwise
you're wasting resources as Sue says.
Regards.
--
Paul Randal
Dev Lead, Microsoft SQL Server Storage Engine
This posting is provided "AS IS" with no warranties, and confers no rights.
"Sue Hoegemeier" <Sue_H@.nomail.please> wrote in message
news:knfvn0tq38v3a905ff208i5u134m35top5@.4ax.com...
> Yes. If you select Reorganize data and index pages in the maintenance
> plans, it will execute dbcc dbreindex. If you select Remove unused
> space from database files, it will execute dbcc shrinkdatabase.
> Considerations in going this route is that dbreindex is your only
> option in using a maintenance plan. There are different considerations
> to take into account when determining whether to use dbreindex or
> indexdefrag. You would want to check the following article:
> Microsoft SQL Server 2000 Index Defragmentation Best Practices
>
http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/ss2kidbp.mspx
> A consideration with shrinking is that it is a resource intensive
> operation. Additionally, the maintenance plan will limit you to using
> shrinkdatabase instead of shrinkfile. You have less control and
> somewhat unpredictable individual file sizes when using
> shrinkdatabase. If you shrink a database, then it grows back to the
> size it was before the shrink and then you shrink it again, the
> process can unnecessarily waste a lot of resources as well as
> contributing to OS level fragmentation. You can find additional
> information in this article:
> http://www.karaszi.com/sqlserver/info_dont_shrink.asp
> -Sue
> On Mon, 25 Oct 2004 09:59:05 -0700, "robert_at_cbb"
> <robertatcbb@.discussions.microsoft.com> wrote:
> >Quick question, I have a maintinence job that optimizes (reorganizes back
to
> >original size my databases back to the original amount of free space). I
also
> >have jobs that defrag specific tables.
> >
> >Will the maintinence job defrag as well as reorgainize.
> >
> >I would like to get rid of my defrag jobs and have one maintinence job
that
> >does both.
>
Maintinence Jobs vs Defag Jobs
Quick question, I have a maintinence job that optimizes (reorganizes back to
original size my databases back to the original amount of free space). I als
o
have jobs that defrag specific tables.
Will the maintinence job defrag as well as reorgainize.
I would like to get rid of my defrag jobs and have one maintinence job that
does both.Yes. If you select Reorganize data and index pages in the maintenance
plans, it will execute dbcc dbreindex. If you select Remove unused
space from database files, it will execute dbcc shrinkdatabase.
Considerations in going this route is that dbreindex is your only
option in using a maintenance plan. There are different considerations
to take into account when determining whether to use dbreindex or
indexdefrag. You would want to check the following article:
Microsoft SQL Server 2000 Index Defragmentation Best Practices
http://www.microsoft.com/technet/pr...n/ss2kidbp.mspx
A consideration with shrinking is that it is a resource intensive
operation. Additionally, the maintenance plan will limit you to using
shrinkdatabase instead of shrinkfile. You have less control and
somewhat unpredictable individual file sizes when using
shrinkdatabase. If you shrink a database, then it grows back to the
size it was before the shrink and then you shrink it again, the
process can unnecessarily waste a lot of resources as well as
contributing to OS level fragmentation. You can find additional
information in this article:
http://www.karaszi.com/sqlserver/info_dont_shrink.asp
-Sue
On Mon, 25 Oct 2004 09:59:05 -0700, "robert_at_cbb"
<robertatcbb@.discussions.microsoft.com> wrote:
>Quick question, I have a maintinence job that optimizes (reorganizes back t
o
>original size my databases back to the original amount of free space). I al
so
>have jobs that defrag specific tables.
>Will the maintinence job defrag as well as reorgainize.
>I would like to get rid of my defrag jobs and have one maintinence job that
>does both.|||Another consideration is that shrinking introduces logical fragmentation
that dbcc dbreindex removes - if you reindex then shrink you're shooting
yourself in the foot...
You should ask yourself why you have to shrink repeatedly - the reason the
db size grows is that SQL needs the extra space. If the db size grows and
then remains relatively static, you'd do best to leave it alone otherwise
you're wasting resources as Sue says.
Regards.
Paul Randal
Dev Lead, Microsoft SQL Server Storage Engine
This posting is provided "AS IS" with no warranties, and confers no rights.
"Sue Hoegemeier" <Sue_H@.nomail.please> wrote in message
news:knfvn0tq38v3a905ff208i5u134m35top5@.
4ax.com...
> Yes. If you select Reorganize data and index pages in the maintenance
> plans, it will execute dbcc dbreindex. If you select Remove unused
> space from database files, it will execute dbcc shrinkdatabase.
> Considerations in going this route is that dbreindex is your only
> option in using a maintenance plan. There are different considerations
> to take into account when determining whether to use dbreindex or
> indexdefrag. You would want to check the following article:
> Microsoft SQL Server 2000 Index Defragmentation Best Practices
>
http://www.microsoft.com/technet/pr...n/ss2kidbp.mspx
> A consideration with shrinking is that it is a resource intensive
> operation. Additionally, the maintenance plan will limit you to using
> shrinkdatabase instead of shrinkfile. You have less control and
> somewhat unpredictable individual file sizes when using
> shrinkdatabase. If you shrink a database, then it grows back to the
> size it was before the shrink and then you shrink it again, the
> process can unnecessarily waste a lot of resources as well as
> contributing to OS level fragmentation. You can find additional
> information in this article:
> http://www.karaszi.com/sqlserver/info_dont_shrink.asp
> -Sue
> On Mon, 25 Oct 2004 09:59:05 -0700, "robert_at_cbb"
> <robertatcbb@.discussions.microsoft.com> wrote:
>
to[vbcol=seagreen]
also[vbcol=seagreen]
that[vbcol=seagreen]
>
original size my databases back to the original amount of free space). I als
o
have jobs that defrag specific tables.
Will the maintinence job defrag as well as reorgainize.
I would like to get rid of my defrag jobs and have one maintinence job that
does both.Yes. If you select Reorganize data and index pages in the maintenance
plans, it will execute dbcc dbreindex. If you select Remove unused
space from database files, it will execute dbcc shrinkdatabase.
Considerations in going this route is that dbreindex is your only
option in using a maintenance plan. There are different considerations
to take into account when determining whether to use dbreindex or
indexdefrag. You would want to check the following article:
Microsoft SQL Server 2000 Index Defragmentation Best Practices
http://www.microsoft.com/technet/pr...n/ss2kidbp.mspx
A consideration with shrinking is that it is a resource intensive
operation. Additionally, the maintenance plan will limit you to using
shrinkdatabase instead of shrinkfile. You have less control and
somewhat unpredictable individual file sizes when using
shrinkdatabase. If you shrink a database, then it grows back to the
size it was before the shrink and then you shrink it again, the
process can unnecessarily waste a lot of resources as well as
contributing to OS level fragmentation. You can find additional
information in this article:
http://www.karaszi.com/sqlserver/info_dont_shrink.asp
-Sue
On Mon, 25 Oct 2004 09:59:05 -0700, "robert_at_cbb"
<robertatcbb@.discussions.microsoft.com> wrote:
>Quick question, I have a maintinence job that optimizes (reorganizes back t
o
>original size my databases back to the original amount of free space). I al
so
>have jobs that defrag specific tables.
>Will the maintinence job defrag as well as reorgainize.
>I would like to get rid of my defrag jobs and have one maintinence job that
>does both.|||Another consideration is that shrinking introduces logical fragmentation
that dbcc dbreindex removes - if you reindex then shrink you're shooting
yourself in the foot...
You should ask yourself why you have to shrink repeatedly - the reason the
db size grows is that SQL needs the extra space. If the db size grows and
then remains relatively static, you'd do best to leave it alone otherwise
you're wasting resources as Sue says.
Regards.
Paul Randal
Dev Lead, Microsoft SQL Server Storage Engine
This posting is provided "AS IS" with no warranties, and confers no rights.
"Sue Hoegemeier" <Sue_H@.nomail.please> wrote in message
news:knfvn0tq38v3a905ff208i5u134m35top5@.
4ax.com...
> Yes. If you select Reorganize data and index pages in the maintenance
> plans, it will execute dbcc dbreindex. If you select Remove unused
> space from database files, it will execute dbcc shrinkdatabase.
> Considerations in going this route is that dbreindex is your only
> option in using a maintenance plan. There are different considerations
> to take into account when determining whether to use dbreindex or
> indexdefrag. You would want to check the following article:
> Microsoft SQL Server 2000 Index Defragmentation Best Practices
>
http://www.microsoft.com/technet/pr...n/ss2kidbp.mspx
> A consideration with shrinking is that it is a resource intensive
> operation. Additionally, the maintenance plan will limit you to using
> shrinkdatabase instead of shrinkfile. You have less control and
> somewhat unpredictable individual file sizes when using
> shrinkdatabase. If you shrink a database, then it grows back to the
> size it was before the shrink and then you shrink it again, the
> process can unnecessarily waste a lot of resources as well as
> contributing to OS level fragmentation. You can find additional
> information in this article:
> http://www.karaszi.com/sqlserver/info_dont_shrink.asp
> -Sue
> On Mon, 25 Oct 2004 09:59:05 -0700, "robert_at_cbb"
> <robertatcbb@.discussions.microsoft.com> wrote:
>
to[vbcol=seagreen]
also[vbcol=seagreen]
that[vbcol=seagreen]
>
Saturday, February 25, 2012
Maintenance Plans
Hi I'm getting the following error on an maintanence plan that Optimizes the
database.
Error 1105:[Microsoft SQL-DMO (ODBC SQLState: 42000)] Error 1105:
[Microsoft][ODBC SQL Server Driver][SQL Server]Could not allocate
space for object '(SYSTEM table id: -21614735)' in database 'itiserver'
because the
'ITEMDATAI' filegroup is full.
I have "Reorganize data and index pages", "Change free space percentage per
page to 10 percent" checked off.
"Remove unused space is not checked"
I have plenty of room to grow on this file, can anyone give me some pointers
to get pass this issue.
The first thing would be to ensure this particle file is on the drive you
believe it to be. But I would manually grow the file instead of letting
autogrow kick in and that should take care of it. You should always have
plenty of free space int he DB files anyway so you may want to address all
of them. Never rely on Autogrow.
Andrew J. Kelly SQL MVP
"robert_at_cbb" <robertatcbb@.discussions.microsoft.com> wrote in message
news:382B64D2-6150-4572-A99E-6BB47B3ECF9C@.microsoft.com...
> Hi I'm getting the following error on an maintanence plan that Optimizes
the
> database.
> Error 1105:[Microsoft SQL-DMO (ODBC SQLState: 42000)] Error 1105:
> [Microsoft][ODBC SQL Server Driver][SQL Server]Could not allocate
> space for object '(SYSTEM table id: -21614735)' in database 'itiserver'
> because the
> 'ITEMDATAI' filegroup is full.
> I have "Reorganize data and index pages", "Change free space percentage
per
> page to 10 percent" checked off.
> "Remove unused space is not checked"
> I have plenty of room to grow on this file, can anyone give me some
pointers
> to get pass this issue.
>
|||Thanks, when you say manually grow the file are you refering to the database
properties, auto grow, max file size? I have the auto grow set to grow by
600mb and the max size restricted to 26000gb, its at 21000 right now. So how
do I manually grow the file, do I increase the restricted max?
"Andrew J. Kelly" wrote:
> The first thing would be to ensure this particle file is on the drive you
> believe it to be. But I would manually grow the file instead of letting
> autogrow kick in and that should take care of it. You should always have
> plenty of free space int he DB files anyway so you may want to address all
> of them. Never rely on Autogrow.
> --
> Andrew J. Kelly SQL MVP
>
> "robert_at_cbb" <robertatcbb@.discussions.microsoft.com> wrote in message
> news:382B64D2-6150-4572-A99E-6BB47B3ECF9C@.microsoft.com...
> the
> per
> pointers
>
>
|||By manually grow I mean either use the command ALTER DATABASE like:
ALTER DATABASE Test1
MODIFY FILE
(NAME = test1dat3,
SIZE = 20MB)
or use EM and change the size of the file in the properties dialog where it
shows the actual file size. The Max file size is how large it can grow
before it stops growing. This way you can control when and how the file
grows. But ideally you want to make it as large as you will need for quite
some time and then you won't have to worry about it growing<g>.
Andrew J. Kelly SQL MVP
"robert_at_cbb" <robertatcbb@.discussions.microsoft.com> wrote in message
news:C3F2DC9E-B1B6-43EC-A2A1-08D114B13CEF@.microsoft.com...
> Thanks, when you say manually grow the file are you refering to the
database
> properties, auto grow, max file size? I have the auto grow set to grow by
> 600mb and the max size restricted to 26000gb, its at 21000 right now. So
how[vbcol=seagreen]
> do I manually grow the file, do I increase the restricted max?
> "Andrew J. Kelly" wrote:
you[vbcol=seagreen]
have[vbcol=seagreen]
all[vbcol=seagreen]
Optimizes[vbcol=seagreen]
'itiserver'[vbcol=seagreen]
percentage[vbcol=seagreen]
database.
Error 1105:[Microsoft SQL-DMO (ODBC SQLState: 42000)] Error 1105:
[Microsoft][ODBC SQL Server Driver][SQL Server]Could not allocate
space for object '(SYSTEM table id: -21614735)' in database 'itiserver'
because the
'ITEMDATAI' filegroup is full.
I have "Reorganize data and index pages", "Change free space percentage per
page to 10 percent" checked off.
"Remove unused space is not checked"
I have plenty of room to grow on this file, can anyone give me some pointers
to get pass this issue.
The first thing would be to ensure this particle file is on the drive you
believe it to be. But I would manually grow the file instead of letting
autogrow kick in and that should take care of it. You should always have
plenty of free space int he DB files anyway so you may want to address all
of them. Never rely on Autogrow.
Andrew J. Kelly SQL MVP
"robert_at_cbb" <robertatcbb@.discussions.microsoft.com> wrote in message
news:382B64D2-6150-4572-A99E-6BB47B3ECF9C@.microsoft.com...
> Hi I'm getting the following error on an maintanence plan that Optimizes
the
> database.
> Error 1105:[Microsoft SQL-DMO (ODBC SQLState: 42000)] Error 1105:
> [Microsoft][ODBC SQL Server Driver][SQL Server]Could not allocate
> space for object '(SYSTEM table id: -21614735)' in database 'itiserver'
> because the
> 'ITEMDATAI' filegroup is full.
> I have "Reorganize data and index pages", "Change free space percentage
per
> page to 10 percent" checked off.
> "Remove unused space is not checked"
> I have plenty of room to grow on this file, can anyone give me some
pointers
> to get pass this issue.
>
|||Thanks, when you say manually grow the file are you refering to the database
properties, auto grow, max file size? I have the auto grow set to grow by
600mb and the max size restricted to 26000gb, its at 21000 right now. So how
do I manually grow the file, do I increase the restricted max?
"Andrew J. Kelly" wrote:
> The first thing would be to ensure this particle file is on the drive you
> believe it to be. But I would manually grow the file instead of letting
> autogrow kick in and that should take care of it. You should always have
> plenty of free space int he DB files anyway so you may want to address all
> of them. Never rely on Autogrow.
> --
> Andrew J. Kelly SQL MVP
>
> "robert_at_cbb" <robertatcbb@.discussions.microsoft.com> wrote in message
> news:382B64D2-6150-4572-A99E-6BB47B3ECF9C@.microsoft.com...
> the
> per
> pointers
>
>
|||By manually grow I mean either use the command ALTER DATABASE like:
ALTER DATABASE Test1
MODIFY FILE
(NAME = test1dat3,
SIZE = 20MB)
or use EM and change the size of the file in the properties dialog where it
shows the actual file size. The Max file size is how large it can grow
before it stops growing. This way you can control when and how the file
grows. But ideally you want to make it as large as you will need for quite
some time and then you won't have to worry about it growing<g>.
Andrew J. Kelly SQL MVP
"robert_at_cbb" <robertatcbb@.discussions.microsoft.com> wrote in message
news:C3F2DC9E-B1B6-43EC-A2A1-08D114B13CEF@.microsoft.com...
> Thanks, when you say manually grow the file are you refering to the
database
> properties, auto grow, max file size? I have the auto grow set to grow by
> 600mb and the max size restricted to 26000gb, its at 21000 right now. So
how[vbcol=seagreen]
> do I manually grow the file, do I increase the restricted max?
> "Andrew J. Kelly" wrote:
you[vbcol=seagreen]
have[vbcol=seagreen]
all[vbcol=seagreen]
Optimizes[vbcol=seagreen]
'itiserver'[vbcol=seagreen]
percentage[vbcol=seagreen]
Labels:
1105microsoft,
database,
error,
following,
maintanence,
maintenance,
microsoft,
mysql,
odbc,
optimizes,
oracle,
plan,
plans,
server,
sql,
sql-dmo,
sqlstate,
thedatabase
Maintenance Plans
Hi I'm getting the following error on an maintanence plan that Optimizes the
database.
Error 1105:[Microsoft SQL-DMO (ODBC SQLState: 42000)] Error 1105:
[Microsoft][ODBC SQL Server Driver][SQL Server]Could not allocat
e
space for object '(SYSTEM table id: -21614735)' in database 'itiserver'
because the
'ITEMDATAI' filegroup is full.
I have "Reorganize data and index pages", "Change free space percentage per
page to 10 percent" checked off.
"Remove unused space is not checked"
I have plenty of room to grow on this file, can anyone give me some pointers
to get pass this issue.The first thing would be to ensure this particle file is on the drive you
believe it to be. But I would manually grow the file instead of letting
autogrow kick in and that should take care of it. You should always have
plenty of free space int he DB files anyway so you may want to address all
of them. Never rely on Autogrow.
Andrew J. Kelly SQL MVP
"robert_at_cbb" <robertatcbb@.discussions.microsoft.com> wrote in message
news:382B64D2-6150-4572-A99E-6BB47B3ECF9C@.microsoft.com...
> Hi I'm getting the following error on an maintanence plan that Optimizes
the
> database.
> Error 1105:[Microsoft SQL-DMO (ODBC SQLState: 42000)] Error 1105:
> [Microsoft][ODBC SQL Server Driver][SQL Server]Could not alloc
ate
> space for object '(SYSTEM table id: -21614735)' in database 'itiserver'
> because the
> 'ITEMDATAI' filegroup is full.
> I have "Reorganize data and index pages", "Change free space percentage
per
> page to 10 percent" checked off.
> "Remove unused space is not checked"
> I have plenty of room to grow on this file, can anyone give me some
pointers
> to get pass this issue.
>|||Thanks, when you say manually grow the file are you refering to the database
properties, auto grow, max file size? I have the auto grow set to grow by
600mb and the max size restricted to 26000gb, its at 21000 right now. So how
do I manually grow the file, do I increase the restricted max?
"Andrew J. Kelly" wrote:
> The first thing would be to ensure this particle file is on the drive you
> believe it to be. But I would manually grow the file instead of letting
> autogrow kick in and that should take care of it. You should always have
> plenty of free space int he DB files anyway so you may want to address all
> of them. Never rely on Autogrow.
> --
> Andrew J. Kelly SQL MVP
>
> "robert_at_cbb" <robertatcbb@.discussions.microsoft.com> wrote in message
> news:382B64D2-6150-4572-A99E-6BB47B3ECF9C@.microsoft.com...
> the
> per
> pointers
>
>|||By manually grow I mean either use the command ALTER DATABASE like:
ALTER DATABASE Test1
MODIFY FILE
(NAME = test1dat3,
SIZE = 20MB)
or use EM and change the size of the file in the properties dialog where it
shows the actual file size. The Max file size is how large it can grow
before it stops growing. This way you can control when and how the file
grows. But ideally you want to make it as large as you will need for quite
some time and then you won't have to worry about it growing<g>.
Andrew J. Kelly SQL MVP
"robert_at_cbb" <robertatcbb@.discussions.microsoft.com> wrote in message
news:C3F2DC9E-B1B6-43EC-A2A1-08D114B13CEF@.microsoft.com...
> Thanks, when you say manually grow the file are you refering to the
database
> properties, auto grow, max file size? I have the auto grow set to grow by
> 600mb and the max size restricted to 26000gb, its at 21000 right now. So
how[vbcol=seagreen]
> do I manually grow the file, do I increase the restricted max?
> "Andrew J. Kelly" wrote:
>
you[vbcol=seagreen]
have[vbcol=seagreen]
all[vbcol=seagreen]
Optimizes[vbcol=seagreen]
'itiserver'[vbcol=seagreen]
percentage[vbcol=seagreen]
database.
Error 1105:[Microsoft SQL-DMO (ODBC SQLState: 42000)] Error 1105:
[Microsoft][ODBC SQL Server Driver][SQL Server]Could not allocat
e
space for object '(SYSTEM table id: -21614735)' in database 'itiserver'
because the
'ITEMDATAI' filegroup is full.
I have "Reorganize data and index pages", "Change free space percentage per
page to 10 percent" checked off.
"Remove unused space is not checked"
I have plenty of room to grow on this file, can anyone give me some pointers
to get pass this issue.The first thing would be to ensure this particle file is on the drive you
believe it to be. But I would manually grow the file instead of letting
autogrow kick in and that should take care of it. You should always have
plenty of free space int he DB files anyway so you may want to address all
of them. Never rely on Autogrow.
Andrew J. Kelly SQL MVP
"robert_at_cbb" <robertatcbb@.discussions.microsoft.com> wrote in message
news:382B64D2-6150-4572-A99E-6BB47B3ECF9C@.microsoft.com...
> Hi I'm getting the following error on an maintanence plan that Optimizes
the
> database.
> Error 1105:[Microsoft SQL-DMO (ODBC SQLState: 42000)] Error 1105:
> [Microsoft][ODBC SQL Server Driver][SQL Server]Could not alloc
ate
> space for object '(SYSTEM table id: -21614735)' in database 'itiserver'
> because the
> 'ITEMDATAI' filegroup is full.
> I have "Reorganize data and index pages", "Change free space percentage
per
> page to 10 percent" checked off.
> "Remove unused space is not checked"
> I have plenty of room to grow on this file, can anyone give me some
pointers
> to get pass this issue.
>|||Thanks, when you say manually grow the file are you refering to the database
properties, auto grow, max file size? I have the auto grow set to grow by
600mb and the max size restricted to 26000gb, its at 21000 right now. So how
do I manually grow the file, do I increase the restricted max?
"Andrew J. Kelly" wrote:
> The first thing would be to ensure this particle file is on the drive you
> believe it to be. But I would manually grow the file instead of letting
> autogrow kick in and that should take care of it. You should always have
> plenty of free space int he DB files anyway so you may want to address all
> of them. Never rely on Autogrow.
> --
> Andrew J. Kelly SQL MVP
>
> "robert_at_cbb" <robertatcbb@.discussions.microsoft.com> wrote in message
> news:382B64D2-6150-4572-A99E-6BB47B3ECF9C@.microsoft.com...
> the
> per
> pointers
>
>|||By manually grow I mean either use the command ALTER DATABASE like:
ALTER DATABASE Test1
MODIFY FILE
(NAME = test1dat3,
SIZE = 20MB)
or use EM and change the size of the file in the properties dialog where it
shows the actual file size. The Max file size is how large it can grow
before it stops growing. This way you can control when and how the file
grows. But ideally you want to make it as large as you will need for quite
some time and then you won't have to worry about it growing<g>.
Andrew J. Kelly SQL MVP
"robert_at_cbb" <robertatcbb@.discussions.microsoft.com> wrote in message
news:C3F2DC9E-B1B6-43EC-A2A1-08D114B13CEF@.microsoft.com...
> Thanks, when you say manually grow the file are you refering to the
database
> properties, auto grow, max file size? I have the auto grow set to grow by
> 600mb and the max size restricted to 26000gb, its at 21000 right now. So
how[vbcol=seagreen]
> do I manually grow the file, do I increase the restricted max?
> "Andrew J. Kelly" wrote:
>
you[vbcol=seagreen]
have[vbcol=seagreen]
all[vbcol=seagreen]
Optimizes[vbcol=seagreen]
'itiserver'[vbcol=seagreen]
percentage[vbcol=seagreen]
Labels:
110591microsoft,
database,
error,
following,
maintanence,
maintenance,
microsoft,
mysql,
odbc,
optimizes,
oracle,
plan,
plans,
server,
sql,
sql-dmo,
sqlstate,
thedatabase
Subscribe to:
Posts (Atom)