- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
It is recommended that the user options
database flag for SQL Server instance not be configured.
The user options
flag specifies global defaults for all users. A list of default query processing options is established for the duration of a user’s work session. The user options flag allows you to change the default values of the SET options (if the server’s default settings are not appropriate).
A user can override these defaults by using the SET statement. You can configure user options dynamically for new logins. After you change the setting of user options, new login sessions use the new setting; current login sessions are not affected. This recommendation is applicable to SQL Server database instances.
In some instances, setting custom flags via the command line causes all omitted flags to be reset to their defaults. This might cause you to lose custom flags and could result in unforeseen complications or instance restarts. Because of this, it is recommended you apply these flag changes during a period of low usage.
List all Cloud SQL database Instances:
gcloud sql instances list
Clear the user options database flag for every Cloud SQL SQL Server database instance using either of the below commands:
To clear all flags and reset them to their default values:
gcloud sql instances patch <INSTANCE_NAME> --clear-database-flags
To clear only the user options
database flag, re-enter all of database flags that you want to configure and exclude the user options
flag and its value:
gcloud sql instances patch <INSTANCE_NAME> --database-flags [FLAG1=VALUE1,FLAG2=VALUE2]
Note: This command overwrites all database flags previously set. To keep those flags and add new ones, include the values for all flags you want set on the instance. Any flag not specifically included is set to its default value. For flags that do not take a value, specify the flag name followed by an equals sign ("=").
By default, ‘user options’ is not configured.
Some database flag settings can affect instance availability or stability, and remove the instance from the Cloud SQL SLA. For information about these flags, see Operational Guidelines.
Configuring the above flag does not restart the Cloud SQL instance.