473,378 Members | 1,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Pre-installed databases?

After installing MS SQL Server 7 several databases appears in the database
folder named: distribution, master, model, msdb, northwind, pubs and tempdb.

Is it safe to delete any of those pre-installed bases?

Regards Kim Christensen
Jul 20 '05 #1
2 3570
On Mon, 26 Apr 2004 07:53:09 +0200, Kim Christensen wrote:
After installing MS SQL Server 7 several databases appears in the database
folder named: distribution, master, model, msdb, northwind, pubs and tempdb.

Is it safe to delete any of those pre-installed bases?

Regards Kim Christensen


Hi Kim,

The master database is where information about all other databases and
about logins and such is kept. If you delete this, SQL Server will no
longer operate. Keep it.

The tempdb is used to store temporary tables, both those that are
explicitly created by users and those implicitly created by the query
optimizer as past of the query execution plan. Keep it.

The msdb database is where information about backups and restores is
kept, as well as information on scheduled maintenance. I *think* that
SQL Server will still operate without it. If you plan to do any
scheduled maintenance, you must keep it. If you're sure you'll do all
maintenance manually, I'd still advise you to keep it.

Northwind and pubs are sample databases. Many books on SQL Server use
these databases to provide examples that the reader can safely toy
with. The same goes for many examples in Books Online. And some posts
in SQL Server related newsgroups use pubs or Northwind as well. It's
an easy way to illustrate what you want, since you can assume that
everyone who uses SQL Server has this database.
It is safe to delete these databases, allthough they consume very
little space. If you delete them now and change your mind later: on
the CD are scripts to recreate both pubs and northwind.

Finally: distribution. I don't have this one (using SQL Server 2000).
Maybe it's specific to version 7.0, or maybe it is only installed if
you choose specific options. Judging by the name, it might have
something to do with distributed transaction processing, but that's a
terrain I'm not familiar with.

Best, Hugo
--

(Remove _NO_ and _SPAM_ to get my e-mail address)
Jul 20 '05 #2
"Kim Christensen" <du****@mailme.dk> wrote in message news:<40*********************@dread12.news.tele.dk >...
After installing MS SQL Server 7 several databases appears in the database
folder named: distribution, master, model, msdb, northwind, pubs and tempdb.

Is it safe to delete any of those pre-installed bases?

Regards Kim Christensen


master, model, msdb and tempdb are system databases, and it's not
possible to drop them. See Books Online for more information about
what they're used for (in BOL2000 the page is called "System Databases
and Data", not sure about BOL7). The distribution database is used for
replication, but can be removed if you remove replication.

pubs and Northwind are sample databases which are used in examples in
Books Online and many other places - it's usually worth keeping them
on development/test servers, but many people drop them from production
servers. You can recreate them from scripts in the \Install directory
- instpub.sql and northwind.sql, or something similar.

Simon
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
by: Headless | last post by:
I've marked up song lyrics with the <pre> tag because it seems the most appropriate type of markup for the type of data. This results in inefficient use of horizontal space due to UA's default...
3
Pre
by: Neal | last post by:
A few questions about pre... When presenting preformatted text using the white-space: pre; property/value, Opera renders long lines at small viewport widths as exiting the borders of the...
7
by: Alan Illeman | last post by:
How do I set several different properties for PRE in a CSS stylesheet, rather than resorting to this: <BODY> <PRE STYLE="font-family:monospace; font-size:0.95em; width:40%; border:red 2px...
2
by: Buck Turgidson | last post by:
I want to have a css with 2 PRE styles, one bold with large font, and another non-bold and smaller font. I am new to CSS (and not exactly an expert in HTML, for that matter). Is there a way to...
5
by: Michael Shell | last post by:
Greetings, Consider the XHTML document attached at the end of this post. When viewed under Firefox 1.0.5 on Linux, highlighting and pasting (into a text editor) the <pre> tag listing will...
8
by: Jarno Suni not | last post by:
It seems to be invalid in HTML 4.01, but valid in XHTML 1.0. Why is there the difference? Can that pose a problem when such a XHTML document is served as text/html?
7
by: Rocky Moore | last post by:
I have a web site called HintsAndTips.com. On this site people post tips using a very simply webform with a multi line TextBox for inputing the tip text. This text is encode to HTML so that no...
9
by: Eric Lindsay | last post by:
I can't figure how to best display little snippets of shell script using <pre>. I just got around to organising to bulk validate some of my web pages, and one of the problems occurs with Bash...
23
by: Xah Lee | last post by:
The Concepts and Confusions of Pre-fix, In-fix, Post-fix and Fully Functional Notations Xah Lee, 2006-03-15 Let me summarize: The LISP notation, is a functional notation, and is not a...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.