Bloody_Nokia_Adept
Advanced Member | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору Megard Цитата: Я создаю новую базу, и там сразу появляются system tables, они для чего-то нужны или их сразу можно поудалять? | Слушай, а когда ты покупаешь комп с предустановленной системой, то тоже пытаешься ее замочить и потом мучаешься на raw device? Это же system tables, разве не понятно, что они нужны?! Вот выдержка из BOL: Цитата: Each database in Microsoft SQL Server contains system tables that record the data needed by the SQL Server components. The successful operation of SQL Server depends on the integrity of information in the system tables; therefore, Microsoft does not support users who directly update information in the system tables. | Где твой здравый смысл был, когда задавался этот вопрос? Сразу предупреждая следующий вопрос про базы данных и какие из них можно замочить: Цитата: System Databases and Data Microsoft SQL Server 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. The master database records the existence of all other databases and the location of the primary files that contain the initialization information for the user databases. The master database records the initialization information for SQL Server; always have a recent backup of master available. tempdb The tempdb database holds all temporary tables and temporary stored procedures and fills any other temporary storage needs. The tempdb database is a global resource; the temporary tables and stored procedures for all users connected to the system are stored there. The tempdb database 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 automatically dropped 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. The tempdb database grows automatically as needed. Each time the system is started, tempdb is reset to its default size. You can avoid the overhead of having tempdb grow automatically by using ALTER TABLE 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, which uses the model database, 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 for recording operators. | Читай документацию по MS SQL!
---------- Дядя Фёдор, пес и кот - все в одном лице живет! Он обфукать любит сразу, вот такая вот зараза! Эпиграмма на меня, "1001 ночь ХАИ", 535 гр., 1999 г. |
|