|
Коварство экзамена 70-229: FILLFACTOR
|
|||
---|---|---|---|
#18+
You are a database developer for Luceme Publishing. The company stores its sales data in a SQL Server 2000 database. This database contains a table named Orders. There is currently a clustered index on the table, which is generated by using a customer’s name and the current date. The orders table currently contains 750,000 rows, and the number of rows increased by 5 percent each week. The company plans to launch a promotion next week that will increase the volume of inserts to the Orders table by 50 percent. You want to optimize inserts to the Orders table during the promotion. What should you do? A. Create a job that rebuilds the clustered index each night by using the default FILLFACTOR B. Add additional indexes to the Orders table C. Partition the Orders table vertically D. Rebuild the clustered index with a FILLFACTOR of 50 E. Execute the UPDATE STATISTICS statement on the Orders table Ответил D исходя из определения FILLFACTOR'а. Неправ? ... |
|||
:
Нравится:
Не нравится:
|
|||
18.11.2002, 15:59 |
|
Коварство экзамена 70-229: FILLFACTOR
|
|||
---|---|---|---|
#18+
Мы хотим оптимизировать INSERT, значит "B" и "E" вычеркиваем (как оптимизирующие SELECT и точно уж не убыстряющие insert ).\r "A" вычеркиваем как тупое решение, скорее подошедшее бы сюда.\r "C" вычеркиваем, так как Vertical partitioning segments a table into multiple tables containing fewer columns. The two types of vertical partitioning are normalization and row splitting . Думаю так издеваться над БД - не очень хорошая идея. \r Остается "D". В общем оно либо ускорит insert, либо ничего не изменится. Так что ответ - "D".\r \r ps. Давай остальные вопросы :-) ... |
|||
:
Нравится:
Не нравится:
|
|||
19.11.2002, 15:26 |
|
Коварство экзамена 70-229: FILLFACTOR
|
|||
---|---|---|---|
#18+
Правы, правы. Вопрос на знание как всталяются данные при наличии кластерного индекса. Т.к. у нас "There is currently a clustered index on the table, which is generated by using a customer’s name and the current date ", то при добавление запросто может оказатся, что понадобится расщеплять страницы. А так как еще "to launch a promotion next week that will increase the volume of inserts to the Orders table by 50 percent ", то нужно заранее побеспокоиться о наличии места в кластерном идексе. ... |
|||
:
Нравится:
Не нравится:
|
|||
19.11.2002, 15:39 |
|
|
start [/forum/topic.php?fid=34&fpage=64&tid=1552137]: |
0ms |
get settings: |
11ms |
get forum list: |
15ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
31ms |
get topic data: |
14ms |
get forum data: |
3ms |
get page messages: |
48ms |
get tp. blocked users: |
2ms |
others: | 241ms |
total: | 373ms |
0 / 0 |