Solved

Maintenance tasks for Sql Server Express 2008

Posted on 2013-11-13
2
208 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

726 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