powered by simpleCommunicator - 2.0.59     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / Microsoft SQL Server [игнор отключен] [закрыт для гостей] / Подскажите
5 сообщений из 5, страница 1 из 1
Подскажите
    #32014384
Andrew R.
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
имена постоянных баз на SQL сервере.
Знаю только одну - master. Есть ли еще какие?
Задача состоит в том, чтобы показывая юзеру доступные базы не показывать те, которые заведомо не пользовательские.
...
Рейтинг: 0 / 0
Подскажите
    #32014387
Glory
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
msdb
tempdb
model

Northwind и pubs если они были выбраны при установке сервера.
...
Рейтинг: 0 / 0
Подскажите
    #32014388
Andrew R.
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
т.е. эти три (msdb, tempdb, model) нельзя удалить и создать свои с такими же именами, верно?
А имена Northwind и pubs, если не были заказаны при инсталляции, могут быть использованы для создания своей базы, так?
...
Рейтинг: 0 / 0
Подскажите
    #32014390
Glory
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Удалить можно все (ну или почти все) если есть соответсвующие права
"Microsoft® SQL Server™ 2000 systems have four system databases:

master
The master database records all of the system level information for a SQL Server system. It records all login accounts and all system configuration settings. master is the database that records the existence of all other databases, including the location of the database files. master records the initialization information for SQL Server; always have a recent backup of master available.

tempdb
tempdb holds all temporary tables and temporary stored procedures. It also fills any other temporary storage needs such as work tables generated by SQL Server. tempdb is a global resource; the temporary tables and stored procedures for all users connected to the system are stored there. tempdb is re-created every time SQL Server is started so the system starts with a clean copy of the database. Because temporary tables and stored procedures are dropped automatically on disconnect, and no connections are active when the system is shut down, there is never anything in tempdb to be saved from one session of SQL Server to another.

By default, tempdb autogrows as needed while SQL Server is running. Unlike other databases, however, it is reset to its initial size each time the database engine is started. If the size defined for tempdb is small, part of your system processing load may be taken up with autogrowing tempdb to the size needed to support your workload each time to restart SQL Server. You can avoid this overhead by using ALTER DATABASE to increase the size of tempdb.

model
The model database is used as the template for all databases created on a system. When a CREATE DATABASE statement is issued, the first part of the database is created by copying in the contents of the model database, then the remainder of the new database is filled with empty pages. Because tempdb is created every time SQL Server is started, the model database must always exist on a SQL Server system.

msdb
The msdb database is used by SQL Server Agent for scheduling alerts and jobs, and recording operators.
"
Т.е. после удаления, например, msdb просто перестанет работать SQL Server Agent, что в свою очередь приведет к прекращению скажем репликации данных и далее, и далее....


Northwind и pubs простые базы и включены в установку с целью использования в примерах, которые даются в help-e по SQL-ю. Т.е. их удаление ничем серьезным не грозит.
...
Рейтинг: 0 / 0
Подскажите
    #32014392
Andrew R.
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
subj
...
Рейтинг: 0 / 0
5 сообщений из 5, страница 1 из 1
Форумы / Microsoft SQL Server [игнор отключен] [закрыт для гостей] / Подскажите
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]