Ad hoc update to system catalogs is not supported

Source: Internet
Author: User
Tags server memory
Exec sp_configure 'show advanced options', 1 reconfigureexec sp_configure 'ad hoc distributed queries ', 1 reconfigure: configuration option 'show advanced options' changed from 1 to 1. run the reconfigure statement to install. MSG 5808, level 16, state 1, line 49ad hoc update to system catalogs is not supported. if it is changed to the following, the following error will not be reported: exec sp_configure 'show advanced options', 1 reconfigure with overrideexec sp_configure 'ad hoc distributed queries ', and 1 reconfigure with override:
Configuration option 'show advanced options' changed from 1 to 1. run the reconfigure statement to install. configuration option 'ad hoc distributed queries 'changed from 1 to 1. run the reconfigure statement to install.

The online documentation I read explains the differences between reconfigure and reconfigure with override as follows:

Reconfigure and reconfigure with override are valid for each configuration option. However, the basic reconfigure statement rejects any option values that are out of a reasonable range or may cause an option conflict. For example, ifRecovery IntervalThe value is greater than 60 minutes, orAffinity maskAndAffinity I/O maskReconfigure will generate an error. In contrast, reconfigure with override accepts any option value with the correct data type and forces reconfiguration with the specified value.

Note: an inappropriate option value will adversely affect the configuration of the server instance. Use reconfigure with override with caution.

In addition, we need to know the following information about reconfigure:

The reconfigure statement can dynamically update certain options, while the update of other options requires the server to be stopped and then restarted. For example, the database engine dynamically updatesMin Server MemoryAndMax Server MemoryServer Memory options, so you can change these two options without restarting the server. In contrast, reconfigurationFill FactorYou must restart the database engine.

After you run reconfigure on a configuration option, you can runSp_configure'Option_name'To check whether this option has been dynamically updated. For dynamic update options,Run_valueColumn andConfig_valueThe column value should match. You can also viewSYS. configurationsDirectory ViewIs_dynamicColumn to determine which options are dynamic.

Note: If the value specified for the option is too highRun_valueThe column will reflect the fact that the database engine uses dynamic memory by default, instead of invalid settings.

 

Ad hoc update to system catalogs is not supported

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.