Hi, ALL!
Готовлюсь к экзамену MCTS 70-431 по книжке MCTS 70-431: Implementing and Maintaining Microsoft® SQL Server 2005 издательства Que. В ней пара наборов(каждый ~30штук) пробных вопросов с ответами. Один из:
из книжки |
23. You are moving a database to a new server. The database is used by a data entry application. You need to minimize the amount of time the application is unavailable. What should you do?
A. Set up transactional replication between the servers.
B. Move the data files and provide the new location by using ALTER DATABASE.
C. Back up the database. Restore the database to the new server.
D. Detach the current database. Copy the data files to the new server. Attach the files.
E. Move the database to the new server by using the SMO method in the Copy Database Wizard.
|
Далее правильный ответ - D(???) и объяснение:
та же книжка |
Answer D is correct. The fastest way to move a database to another server it to simply take the database offline and transfer the files to the new server. When it is on the new server, you can use the ATTACH method to install the database in the new environment. All-in-all, the process takes only a minimal time over and above the actual file transfer time. Transactional replication does not move the database. |
Вот сижу - думаю... Наверно совсем тупой, но: как только мы де-аттачнули оригинальную базу наше data entry application(из условия) тут же скопытилось - факт? Далее, допустим стали мы сливать де-аттачнутую базу на новый серв. Где в условиях сказано, что у нас гигабитная оптоволоконка к нему, а? Может у нас скорость слива - 2Kb/sec. А вся база - 2гектара, допустим. Это ничего, если все "полежит" пока все не сольется с такой вот скоростью?
В тоже время - рассмотрим ответ E. В BOL, английским по белому:
BOL |
The Copy Database Wizard lets you move or copy databases and their objects easily from one server to another, with no server downtime. |
Вот и думаю - мож я условие задачи не внимательно читаю? Прочтите вы, плииз....