Showing posts with label automatically. Show all posts
Showing posts with label automatically. Show all posts

Friday, March 30, 2012

Scheduling SQL Server start/stop

I have an instance of SQLServer which I would like to restart automatically
once a day due to memory leak issues. How can I best achieve this?
Thanks in advance for your help.rmuram wrote:
> I have an instance of SQLServer which I would like to restart
> automatically once a day due to memory leak issues. How can I best
> achieve this?
> Thanks in advance for your help.
I think before you go this route, we should discuss the memory issues. I
have not seen any reported memory leak issues with SQL Server. Some may
exist, but I have not seen them. What is often reported as a memory leak
issue is generally not a problem, but a SQL Server design. If what you're
seeing is that SQL Server gradually consumes more and more memory on the
server without returning that memory to the server, this is by design. If
you are finding that you require additional memory for other services on the
server, then you should set an upper memory limit for the server to prevent
it from consuming too much. If OTOH you are seeing a memory leak issue,
please let us know in more detail what you are seeing.
To start stop the server manually, you can look at "Starting SQL Server
Manually" and "Stopping SQL Server" in BOL.
David Gugick
Quest Software|||Hi,
>From SQL Server it is imposssible to schedule a restart of SQL
Server.But can create a BATCH file.
HTH
from
Killer
rmuram wrote:
> I have an instance of SQLServer which I would like to restart automatically
> once a day due to memory leak issues. How can I best achieve this?
> Thanks in advance for your help.|||Thanks David for the reply.
My use of the descrition 'memory leak' was notã'not entirely correct and what
I am seeing is as described you described below.
> If what you're seeing is that SQL Server gradually consumes more and more
> memory on the server without returning that memory to the server, this is by
> design.
What happens if I set the upperlimit to the memory usage? Will it free up
memory to serve additional requests etc?
I would still like to know if there are ways to automate startup/shutdown if
anybody has any experience.
Thanks.
"David Gugick" wrote:
> rmuram wrote:
> > I have an instance of SQLServer which I would like to restart
> > automatically once a day due to memory leak issues. How can I best
> > achieve this?
> > Thanks in advance for your help.
> I think before you go this route, we should discuss the memory issues. I
> have not seen any reported memory leak issues with SQL Server. Some may
> exist, but I have not seen them. What is often reported as a memory leak
> issue is generally not a problem, but a SQL Server design. If what you're
> seeing is that SQL Server gradually consumes more and more memory on the
> server without returning that memory to the server, this is by design. If
> you are finding that you require additional memory for other services on the
> server, then you should set an upper memory limit for the server to prevent
> it from consuming too much. If OTOH you are seeing a memory leak issue,
> please let us know in more detail what you are seeing.
> To start stop the server manually, you can look at "Starting SQL Server
> Manually" and "Stopping SQL Server" in BOL.
>
> --
> David Gugick
> Quest Software
>
>|||Thanks for the reply.
Do you have a sample I can work from?
"doller" wrote:
> Hi,
> >From SQL Server it is imposssible to schedule a restart of SQL
> Server.But can create a BATCH file.
> HTH
> from
> Killer
> rmuram wrote:
> > I have an instance of SQLServer which I would like to restart automatically
> > once a day due to memory leak issues. How can I best achieve this?
> > Thanks in advance for your help.
>|||Hi rmura,
If u want to create a backfile to start and stop of sql server the u
have to follow these steps
open command prompt
write net stop mssqlsever
if will ask u to stop sql agent y/n : press y
then it will ask u to stop sql server y/n : press y
so u can create a backfile
like this
cd \
net stop mssqlserver
y
to start sql sever
add the code
net start mssqlserver
now u need to start sql agent
add these code
net start sqlserveragent
HTH
from
Killer|||Here's some info on SQL Server's memory usage:
INF: SQL Server Memory Usage
http://support.microsoft.com/default.aspx?scid=kb;en-us;q321363
http://www.mssqlserver.com/faq/troubleshooting-memoryleak.asp
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"rmuram" <rmuram@.discussions.microsoft.com> wrote in message
news:CCC09FAF-9647-4210-9C2A-779AF6FB760C@.microsoft.com...
>I have an instance of SQLServer which I would like to restart automatically
> once a day due to memory leak issues. How can I best achieve this?
> Thanks in advance for your help.

Wednesday, March 28, 2012

Scheduling MSSQL Databases Daily Backup

Hi -
I want to Schedule Daily Backup of MSSQL Databases .. How can i do it .. How can i schedule it so that it get backuped everyday automatically at desired time.
Kind RegardsYou need to read up on Maintenance Plans on BOL. How yoyur databases are setup and each applications recovery requirements in order to setup the backups properly. Also read up on Recovery Plans.|||You can use the SQL Server Agent Utility (available through Enterprise Manager) to schedule jobs to run at regular times. The Maintenance Plan wizard merely creates the jobs for you (and also provides a convenient method of grouping databases upon which to perform identical maintenance).

blindman

scheduling job in sql server 2005

Hi,

I created a scheduled job in sql server 2005 which takes a daily backup of database.

My problem is this job does not run automatically.but when i execute it manually it runs on that instance.

do i need to activate any servrice to have scheduling of jobs running perfectly on my machine ?

Please guide me on this.

Thanks,

Prashant

The SQL Agent Server must be running (Check in Services) and have OS permission to the backup file location.

The Job must be 'Enabled'.

The Schedule must be 'Enabled'

scheduling from Excel to SQL Server

how do i automatically import an excel file to sql server every 12 hours?Use scheduled DTS job in Enterprise manager.

Good Luck.sql

Monday, March 26, 2012

Scheduling a task using DTS

Hey Guys!
I have a SQL Update Query that I want to run automatically everyday andI have read through the posts and I do not understand very clearly howto go about creating one.
The SQL query I want to run is this:
UPDATE Rental
SET TotalFee = ExtraFee + TotalFee
WHERE DaysOverdue >= 0
Once I have made a DTS package. How do I declare it in my coding?
Thanks in advance!
If you have access to add a job in SQL Agent, you can create a job and just run the query. You don't need DTS at all. If you don't have access to create a new job, then you'll have to do something outside of SQL using a different scheduling mechanism. Either way, there's no need for DTS to run a query like this. DTS is more for importing and/or exporting data and objects. Even if you did it in DTS, it's the SQL Agent service you'd use to create and schedule a job to run the DTS package.|||I never knew that there was another way of scheduling a SQL task.
I have tried to create a SQL Agent Task by going to Management >> SQL Server Agent >> Jobs
But for some reason it is not working even through I have scheduled a job so that it will run the query automatically.
I tested the SQL Agent Job by right clicking over my job and selecting 'Start Job'. Then an error occurs:
error 22022SQLServerAgent is not currently running so it cannot be notified forthis action
So how do i go about running it?
|||You have to start the Agent service. Once that's running, it will run the job on the schedule you define. Refer to Books on Line for more details on the Agent service.|||It works now!
Thanks!
sql

Friday, March 23, 2012

Scheduled task alerts in 6.5

Is it possible to setup SQL server 6.5 to automatically inform me via email
when a scheduled task fails? Im told that this is possible in 2000, but not
in 6.5.
Is there any work around? some scripts or a 3rd party util ?
olly
________________________________________________
Macinley.co.uk
http://www.macinley.co.uk
Hi,
Yes, You can do an Email alert in SQL 6.5
1. Enterprise manager -- Select Server menu -- choose Alerts / Operators
2. Click in the Operator tab -- New OPerator -- Mention a operator ID and
give the email address
3. CLick OK
4. Go to ALerts tab -- CReate new alert
5. Mention and id and in the respose definition select the "Scheduled Task
to fire"
6. Mention the Alert Notification message and click ok
So when ever there is a error raised an Email alert will be send.
Thanks
Hari
MCDBA
"Harry Hudini" <harry.hudini@.nospam@.simplicity.co.uk> wrote in message
news:#dzjybIcEHA.3016@.tk2msftngp13.phx.gbl...
> Is it possible to setup SQL server 6.5 to automatically inform me via
email
> when a scheduled task fails? Im told that this is possible in 2000, but
not
> in 6.5.
> Is there any work around? some scripts or a 3rd party util ?
> olly
> --
> ________________________________________________
> Macinley.co.uk
> http://www.macinley.co.uk
>
|||Harry,
As a side note, you should be aware that SQL Server 6.5 is no longer
supported by Microsoft. I do not recommend you use it in production (or
anywhere else). Upgrade to SQL Server 2000 as soon as you can.
Mark Allison, SQL Server MVP
http://www.markallison.co.uk
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Harry Hudini wrote:
> Is it possible to setup SQL server 6.5 to automatically inform me via email
> when a scheduled task fails? Im told that this is possible in 2000, but not
> in 6.5.
> Is there any work around? some scripts or a 3rd party util ?
> olly
>

Scheduled task alerts in 6.5

Is it possible to setup SQL server 6.5 to automatically inform me via email
when a scheduled task fails? Im told that this is possible in 2000, but not
in 6.5.
Is there any work around? some scripts or a 3rd party util ?
olly
________________________________________
________
Macinley.co.uk
http://www.macinley.co.ukHi,
Yes, You can do an Email alert in SQL 6.5
1. Enterprise manager -- Select Server menu -- choose Alerts / Operators
2. Click in the Operator tab -- New OPerator -- Mention a operator ID and
give the email address
3. CLick OK
4. Go to ALerts tab -- CReate new alert
5. Mention and id and in the respose definition select the "Scheduled Task
to fire"
6. Mention the Alert Notification message and click ok
So when ever there is a error raised an Email alert will be send.
Thanks
Hari
MCDBA
"Harry Hudini" <harry.hudini@.nospam@.simplicity.co.uk> wrote in message
news:#dzjybIcEHA.3016@.tk2msftngp13.phx.gbl...
> Is it possible to setup SQL server 6.5 to automatically inform me via
email
> when a scheduled task fails? Im told that this is possible in 2000, but
not
> in 6.5.
> Is there any work around? some scripts or a 3rd party util ?
> olly
> --
> ________________________________________
________
> Macinley.co.uk
> http://www.macinley.co.uk
>|||Harry,
As a side note, you should be aware that SQL Server 6.5 is no longer
supported by Microsoft. I do not recommend you use it in production (or
anywhere else). Upgrade to SQL Server 2000 as soon as you can.
--
Mark Allison, SQL Server MVP
http://www.markallison.co.uk
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Harry Hudini wrote:
> Is it possible to setup SQL server 6.5 to automatically inform me via emai
l
> when a scheduled task fails? Im told that this is possible in 2000, but no
t
> in 6.5.
> Is there any work around? some scripts or a 3rd party util ?
> olly
>sql

Scheduled task alerts in 6.5

Is it possible to setup SQL server 6.5 to automatically inform me via email
when a scheduled task fails? Im told that this is possible in 2000, but not
in 6.5.
Is there any work around? some scripts or a 3rd party util ?
olly
--
________________________________________________
Macinley.co.uk
http://www.macinley.co.ukHi,
Yes, You can do an Email alert in SQL 6.5
1. Enterprise manager -- Select Server menu -- choose Alerts / Operators
2. Click in the Operator tab -- New OPerator -- Mention a operator ID and
give the email address
3. CLick OK
4. Go to ALerts tab -- CReate new alert
5. Mention and id and in the respose definition select the "Scheduled Task
to fire"
6. Mention the Alert Notification message and click ok
So when ever there is a error raised an Email alert will be send.
Thanks
Hari
MCDBA
"Harry Hudini" <harry.hudini@.nospam@.simplicity.co.uk> wrote in message
news:#dzjybIcEHA.3016@.tk2msftngp13.phx.gbl...
> Is it possible to setup SQL server 6.5 to automatically inform me via
email
> when a scheduled task fails? Im told that this is possible in 2000, but
not
> in 6.5.
> Is there any work around? some scripts or a 3rd party util ?
> olly
> --
> ________________________________________________
> Macinley.co.uk
> http://www.macinley.co.uk
>|||Harry,
As a side note, you should be aware that SQL Server 6.5 is no longer
supported by Microsoft. I do not recommend you use it in production (or
anywhere else). Upgrade to SQL Server 2000 as soon as you can.
--
Mark Allison, SQL Server MVP
http://www.markallison.co.uk
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Harry Hudini wrote:
> Is it possible to setup SQL server 6.5 to automatically inform me via email
> when a scheduled task fails? Im told that this is possible in 2000, but not
> in 6.5.
> Is there any work around? some scripts or a 3rd party util ?
> olly
>

Scheduled Task

Does anyone know how I can run a t-SQL script using the Microsoft Scheduled Task Wizard? I want either Q.A, or E.M to automatically start up and then run a script that I saved on my c: drive.
ThanksSQLAgent service account must have READ access to your C drive. You can have an OS command in the job step that fired OSQL with an -i ponting to the UNC of your C drive (\\your_pc_name\c$ or \\your_pc_name\share_name)|||Try osql and BAT.|||I've never used osql before and am having trouble logging in. It prompts me for the password and the just closes the window. I am putting in my windows password.
Thanks|||-E will let you in without having to enter the password if you have your login on the server.|||I am getting an error that says it doesn't exist or access denied.|||-S your_server_name -E|||Everything worked. Thank you very much for your help.

Wednesday, March 7, 2012

Schedule Reports to Print Automatically?

Is it possible to schedule a report in SRS to print automatically the first of every month?

Thanks!

Sure, try the printer delivery sample...

http://www.codeplex.com/MSFTRSProdSamples/Wiki/View.aspx?title=SS2005!Printer%20Delivery%20Extension%20Sample&referringTitle=Home

cheers,

Andrew

schedule package

I am trying to create a job to automatically execute a package.The package was created by use of the wizard.It’s very simple…export a view to a flat file.If I run the package as is it generated the file.However when I create a job and try to run the job it errors out with package cannot be found even though the path of the dtsx file is correct.

Shouldn’t I be able to schedule a package which was created by the wizard?Do you have any idea when I’d get a msg that package cannot be found even though the path is correct?

Please let me know your thoughts on this issue…I am at a lost.

Thanks,

Nats

Did you promote the package to the server where SQL Server Agent exists? (I assume you're using SQL Server Agent)|||Yes I am using SQL Server Agent. What do you mean "promote the package to the server"?|||Well, the package has to be on the server where SQL Server Agent is running.

If you developed the package on your desktop and are using SQL Server Agent on another machine, the package has to be moved to that machine.

If you do have it on the same machine, then you have to be sure that SQL Server Agent has access to the folder/file.|||

The package was save to my desktop...once i moved it out to the server it works fine.

Thanks for the the advise.

schedule MOLAP question

I have a question regarding storage configuration for storage modes and cache options. If I use schedule molap then

processing occurs automatically every 24 hours. If we load date at certain time (i.g. 4 am and 6 am) and we want to reprocess cubes after that

time then do I need to create IS packages for the specific time? I'm not clear when actually processing occurs with schedule molap.

Please let me know if anybody knows.

Thanks.

Take a look at the Analysis Services Processing task. If you are using SSIS to handle your ETL, I would recommend you tie the processing to your existing package using this task. As a general rule, keep your solutions as simple as is possible. This will improve the supportability of your solution.

If you need info on processing options, you may want to check out this paper:

http://msdn2.microsoft.com/en-us/library/ms345142.aspx

B.

|||

There is also a Analysis Services Processing Best Practices article that I would also recommend.

http://www.microsoft.com/technet/prodtechnol/sql/bestpractice/ssaspbpr.mspx

Have to confess we went with the SSIS route because it was the easiest. If I had to do it all over again, I would go the xmla route using the ascmd utility available in the SP2 sample download. http://msdn2.microsoft.com/en-us/library/ms365187.aspx We use that route in our production deployments now but our nightly loads rely on the SSIS Analysis Services processing task.

|||You're right the documentation could be clearer on this. I think the timing depends on the time when it was last processed. And I'm hoping that this would be measured from when the last process operation started. So if you deploy and process it at 3:27pm it will always reprocess at this time until you change something at which point you may change the processing time. As the other guys have suggested, it is probably better to have an explicit task initiating the processing. It gives you much more control.|||

Hi all,

Thanks for the valuable comments.

I'd better create SSIS packages for the better control.

Thanks again Smile

Saturday, February 25, 2012

schedule database growth for midnight.

Hi Everybody
My MSSQL 2000 8.00.818 database stores large amounts of binary data
and can be gigabytes in size. When the databases automatically grow,
they can take a while. This causes web pages which are waiting for
results from queries, to fail. Growth has been set to 1% to decrease
grow time. But I want to know if it is possible to set a schedule to
run at night, to make sure there is at least 10% free space. Can this
be done?
Why don't you just increase the database size by a LOT once, anticipating
long-term growth, instead of trying to predict reactionary growth?
"geist3" <jcockrell@.gmail.com> wrote in message
news:1184679861.142847.322970@.z28g2000prd.googlegr oups.com...
> Hi Everybody
> My MSSQL 2000 8.00.818 database stores large amounts of binary data
> and can be gigabytes in size. When the databases automatically grow,
> they can take a while. This causes web pages which are waiting for
> results from queries, to fail. Growth has been set to 1% to decrease
> grow time. But I want to know if it is possible to set a schedule to
> run at night, to make sure there is at least 10% free space. Can this
> be done?
>
|||I agree 100% with Aaron in that you should make it as large as you think it
needs to be for quite some time. In any case you can schedule growth by
using a standard SQL Agent job and ALTER DATABASE command. And don't set the
auto growth to a %. Use a fixed amount in MB or GB that you know can grow in
well under the timeout period. A percentage is useless as the size gets
larger each time the db grows and you no longer have control in how long
each one takes.
Andrew J. Kelly SQL MVP
"geist3" <jcockrell@.gmail.com> wrote in message
news:1184679861.142847.322970@.z28g2000prd.googlegr oups.com...
> Hi Everybody
> My MSSQL 2000 8.00.818 database stores large amounts of binary data
> and can be gigabytes in size. When the databases automatically grow,
> they can take a while. This causes web pages which are waiting for
> results from queries, to fail. Growth has been set to 1% to decrease
> grow time. But I want to know if it is possible to set a schedule to
> run at night, to make sure there is at least 10% free space. Can this
> be done?
>
|||Put me down for third on the "be proactive" side. Just make the darn
database HUGE once. This will also avoid disk file fragmentation and lead
to better performance in the long run, as well as providing free space so
that index maintenance can lay data back down in sequential order - again
improving performance.
TheSQLGuru
President
Indicium Resources, Inc.
"Andrew J. Kelly" <sqlmvpnooospam@.shadhawk.com> wrote in message
news:ORghqCIyHHA.4276@.TK2MSFTNGP05.phx.gbl...
>I agree 100% with Aaron in that you should make it as large as you think it
>needs to be for quite some time. In any case you can schedule growth by
>using a standard SQL Agent job and ALTER DATABASE command. And don't set
>the auto growth to a %. Use a fixed amount in MB or GB that you know can
>grow in well under the timeout period. A percentage is useless as the size
>gets larger each time the db grows and you no longer have control in how
>long each one takes.
> --
> Andrew J. Kelly SQL MVP
> "geist3" <jcockrell@.gmail.com> wrote in message
> news:1184679861.142847.322970@.z28g2000prd.googlegr oups.com...
>

schedule database growth for midnight.

Hi Everybody
My MSSQL 2000 8.00.818 database stores large amounts of binary data
and can be gigabytes in size. When the databases automatically grow,
they can take a while. This causes web pages which are waiting for
results from queries, to fail. Growth has been set to 1% to decrease
grow time. But I want to know if it is possible to set a schedule to
run at night, to make sure there is at least 10% free space. Can this
be done?Why don't you just increase the database size by a LOT once, anticipating
long-term growth, instead of trying to predict reactionary growth?
"geist3" <jcockrell@.gmail.com> wrote in message
news:1184679861.142847.322970@.z28g2000prd.googlegroups.com...
> Hi Everybody
> My MSSQL 2000 8.00.818 database stores large amounts of binary data
> and can be gigabytes in size. When the databases automatically grow,
> they can take a while. This causes web pages which are waiting for
> results from queries, to fail. Growth has been set to 1% to decrease
> grow time. But I want to know if it is possible to set a schedule to
> run at night, to make sure there is at least 10% free space. Can this
> be done?
>|||I agree 100% with Aaron in that you should make it as large as you think it
needs to be for quite some time. In any case you can schedule growth by
using a standard SQL Agent job and ALTER DATABASE command. And don't set the
auto growth to a %. Use a fixed amount in MB or GB that you know can grow in
well under the timeout period. A percentage is useless as the size gets
larger each time the db grows and you no longer have control in how long
each one takes.
Andrew J. Kelly SQL MVP
"geist3" <jcockrell@.gmail.com> wrote in message
news:1184679861.142847.322970@.z28g2000prd.googlegroups.com...
> Hi Everybody
> My MSSQL 2000 8.00.818 database stores large amounts of binary data
> and can be gigabytes in size. When the databases automatically grow,
> they can take a while. This causes web pages which are waiting for
> results from queries, to fail. Growth has been set to 1% to decrease
> grow time. But I want to know if it is possible to set a schedule to
> run at night, to make sure there is at least 10% free space. Can this
> be done?
>|||Put me down for third on the "be proactive" side. Just make the darn
database HUGE once. This will also avoid disk file fragmentation and lead
to better performance in the long run, as well as providing free space so
that index maintenance can lay data back down in sequential order - again
improving performance.
TheSQLGuru
President
Indicium Resources, Inc.
"Andrew J. Kelly" <sqlmvpnooospam@.shadhawk.com> wrote in message
news:ORghqCIyHHA.4276@.TK2MSFTNGP05.phx.gbl...
>I agree 100% with Aaron in that you should make it as large as you think it
>needs to be for quite some time. In any case you can schedule growth by
>using a standard SQL Agent job and ALTER DATABASE command. And don't set
>the auto growth to a %. Use a fixed amount in MB or GB that you know can
>grow in well under the timeout period. A percentage is useless as the size
>gets larger each time the db grows and you no longer have control in how
>long each one takes.
> --
> Andrew J. Kelly SQL MVP
> "geist3" <jcockrell@.gmail.com> wrote in message
> news:1184679861.142847.322970@.z28g2000prd.googlegroups.com...
>

schedule database growth for midnight.

Hi Everybody
My MSSQL 2000 8.00.818 database stores large amounts of binary data
and can be gigabytes in size. When the databases automatically grow,
they can take a while. This causes web pages which are waiting for
results from queries, to fail. Growth has been set to 1% to decrease
grow time. But I want to know if it is possible to set a schedule to
run at night, to make sure there is at least 10% free space. Can this
be done?Why don't you just increase the database size by a LOT once, anticipating
long-term growth, instead of trying to predict reactionary growth?
"geist3" <jcockrell@.gmail.com> wrote in message
news:1184679861.142847.322970@.z28g2000prd.googlegroups.com...
> Hi Everybody
> My MSSQL 2000 8.00.818 database stores large amounts of binary data
> and can be gigabytes in size. When the databases automatically grow,
> they can take a while. This causes web pages which are waiting for
> results from queries, to fail. Growth has been set to 1% to decrease
> grow time. But I want to know if it is possible to set a schedule to
> run at night, to make sure there is at least 10% free space. Can this
> be done?
>|||I agree 100% with Aaron in that you should make it as large as you think it
needs to be for quite some time. In any case you can schedule growth by
using a standard SQL Agent job and ALTER DATABASE command. And don't set the
auto growth to a %. Use a fixed amount in MB or GB that you know can grow in
well under the timeout period. A percentage is useless as the size gets
larger each time the db grows and you no longer have control in how long
each one takes.
--
Andrew J. Kelly SQL MVP
"geist3" <jcockrell@.gmail.com> wrote in message
news:1184679861.142847.322970@.z28g2000prd.googlegroups.com...
> Hi Everybody
> My MSSQL 2000 8.00.818 database stores large amounts of binary data
> and can be gigabytes in size. When the databases automatically grow,
> they can take a while. This causes web pages which are waiting for
> results from queries, to fail. Growth has been set to 1% to decrease
> grow time. But I want to know if it is possible to set a schedule to
> run at night, to make sure there is at least 10% free space. Can this
> be done?
>|||Put me down for third on the "be proactive" side. Just make the darn
database HUGE once. This will also avoid disk file fragmentation and lead
to better performance in the long run, as well as providing free space so
that index maintenance can lay data back down in sequential order - again
improving performance.
--
TheSQLGuru
President
Indicium Resources, Inc.
"Andrew J. Kelly" <sqlmvpnooospam@.shadhawk.com> wrote in message
news:ORghqCIyHHA.4276@.TK2MSFTNGP05.phx.gbl...
>I agree 100% with Aaron in that you should make it as large as you think it
>needs to be for quite some time. In any case you can schedule growth by
>using a standard SQL Agent job and ALTER DATABASE command. And don't set
>the auto growth to a %. Use a fixed amount in MB or GB that you know can
>grow in well under the timeout period. A percentage is useless as the size
>gets larger each time the db grows and you no longer have control in how
>long each one takes.
> --
> Andrew J. Kelly SQL MVP
> "geist3" <jcockrell@.gmail.com> wrote in message
> news:1184679861.142847.322970@.z28g2000prd.googlegroups.com...
>> Hi Everybody
>> My MSSQL 2000 8.00.818 database stores large amounts of binary data
>> and can be gigabytes in size. When the databases automatically grow,
>> they can take a while. This causes web pages which are waiting for
>> results from queries, to fail. Growth has been set to 1% to decrease
>> grow time. But I want to know if it is possible to set a schedule to
>> run at night, to make sure there is at least 10% free space. Can this
>> be done?
>