Solved

Maintenance tasks for Sql Server Express 2008

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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Re-appearing SQL Server Agent jobs 7 29
SSMS Opening Mode 9 18
SQL Group By Question 4 19
MS SQL query to show nearest date 6 35
Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

856 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