Solved

Maintenance tasks for Sql Server Express 2008

Posted on 2013-11-13
2
204 Views
Last Modified: 2014-02-25
Hi
I've built a multi-user system with Access 2010 as the front end and Sql server express 2008 as the backend
I've got a question:
 What can I do in Sql Server express that is comparable to a "compact and repair" in Access ?
I have Sql server Management Studio, but I'm not very proficient with it, so I would appreciate  detailed instructions on how to do this.
thanks
Paul
0
Comment
Question by:LearningToProgram
2 Comments
 
LVL 12

Accepted Solution

by:
Tony303 earned 500 total points
ID: 39647089
Hi Paul,

What you need to do prior to your "compact and repair" equivalent is to work out a DR plan that includes a backup of the Database and the log files. The treatment of the log files and backup etc. of same determines the growth of the log file. If you look here or on Google, there are zillions of articles about drives filled up because of log files growing.

Here is an EE article I participated in regarding this...

http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/Q_28261867.html


After that the DBCC CheckDB is the process that you need to do schedule to run on a regular basis.
See...
http://social.msdn.microsoft.com/Forums/en-US/53dd39a4-8920-4415-9cb1-7d3aa89ea601/what-is-compact-and-repair-sql-database?forum=sqlexpress

Scheduling will require you to setup SQL agent and setup a SQL job to run.
The books on line article here will help with the backup, you can add a task before the backup to do the DBCC CheckDB....
http://support.microsoft.com/kb/2019698

I hope this gets you started.

T
0
 

Author Comment

by:LearningToProgram
ID: 39699893
thanks. that got me started
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now