ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • ヘルプ
  • Sign Out
ArcGIS Desktop

ArcGIS Online

組織のマッピング プラットフォーム

ArcGIS Desktop

完全なプロ仕様の GIS

ArcGIS Enterprise

エンタープライズ GIS

ArcGIS Developers

位置情報利用アプリの開発ツール

ArcGIS Solutions

各種業界向けの無料のテンプレート マップおよびテンプレート アプリケーション

ArcGIS Marketplace

組織で使えるアプリとデータを取得

  • ドキュメント
  • サポート
Esri
  • サイン イン
user
  • マイ プロフィール
  • サイン アウト

ArcMap

  • ホーム
  • はじめに
  • マップ
  • 解析
  • データ管理
  • ツール
  • エクステンション

Verifying the FileGroup storage for the Workflow Manager (Classic) workspace in SQL Server

Workflow Manager のライセンスで利用可能。

  • Verifying storage
複雑度:
初心者
データ要件:
ArcGIS Tutorial Data for Desktop
メモ:

Copying and pasting the example may cause syntax errors.

Verifying storage

Ensure that the workspace was created under the correct FileGroups for proper data storage and the reduction of disk contention. Using the DBTUNE configuration that you modified previously, you can run the following script examples in SQL Server Management Studio:

Set the current database.

USE WMXDB
GO

List all FileGroups and data files in a specific database.

EXEC sp_helpdb wmxdb
GO

List the data files for a specific FileGroup. In this example, the PRIMARY FileGroup data files will be listed.

EXEC sp_helpfilegroup 'PRIMARY'
GO

List tables by FileGroup.

SELECT USER_NAME(o.uid) [Owner],
 OBJECT_NAME(i.id) [Table Name], 
 FILEGROUP_NAME(groupid) AS [Filegroup Name]
 FROM sysindexes i inner join sysobjects o
 ON i.id = o.id
 WHERE i.indid IN (0, 1) AND OBJECTPROPERTY(i.id, 'IsMSShipped') = 0 AND
 USER_NAME(o.uid) = 'wmx' 
 ORDER BY 1,3,2
GO

List indexes by table and FileGroup.

select 'owner'=user_name(o.uid) 
,'table_name'=object_name(i.id),i.indid
,'index_name'=i.name ,i.groupid
,'filegroup'=f.name ,'file_name'=d.physical_name
,'dataspace'=s.name from sys.sysindexes i
,sys.sysobjects o,sys.filegroups f 
,sys.database_files d, sys.data_spaces s
where objectproperty(i.id,'IsUserTable') = 1
and i.id = o.id
and f.data_space_id = i.groupid
and f.data_space_id = d.data_space_id
and f.data_space_id = s.data_space_id
and user_name(o.uid) = 'wmx'
order by object_name(i.id),i.name,f.name
GO

If any tables or indexes are stored in the wrong FileGroup, ALTER TABLE and ALTER INDEX can be used to change the FileGroup. See SQL Server Books Online for more information.

In SQL Server Management Studio, you can also re-create the DDL script of tables and indexes; then, within create script, you can modify the FileGroup parameter and re-create the tables and indexes in the correct FileGroups. This is particularly useful when tables are empty and you are allowed to re-create database objects.

ArcGIS Desktop

  • ホーム
  • ドキュメント
  • サポート

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

Esri について

  • 会社概要
  • 採用情報
  • Esri ブログ
  • ユーザ カンファレンス
  • デベロッパ サミット
Esri
ご意見・ご感想をお寄せください。
Copyright © 2021 Esri. | プライバシー | リーガル