Sybase のユーザ権限
| 権限のタイプ | 権限 |
|---|---|
| ロール権限 |
|
| 選択権限 |
|
| 実行権限 |
|
use [custom-db-name]
sp_adduser <user-name>Splunk AppDynamics データベースの可視性のために新しい専用ユーザーを作成するには、次のサンプルユーザー作成スクリプトを使用できます。スクリプトを実行する前に、「password」をよりセキュアな値に変更します。create login 'DBMon_Agent_User' with password 'password' go
exec sp_locklogin 'DBMon_Agent_User', 'unlock'
go
exec sp_role 'grant', 'mon_role', 'DBMon_Agent_User'
goここで、DBMon_Agent_User はデータベースの可視性エージェントを実行するユーザー名です。また、Splunk AppDynamics データベースの可視性を使用して Sybase ASE データベースをモニターするには、次の設定パラメータを 1(true)に設定する必要があります。「enable monitoring」、「wait event timing」、「SQL batch capture」、および「object lockwait timing」。"max SQL text monitored" を 8192(8 KB)以上に設定する必要もあります。
sp_configure "enable monitoring", 1
go
sp_configure "wait event timing", 1
go
sp_configure "SQL batch capture", 1
go
sp_configure "object lockwait timing", 1
go
sp_configure "max SQL text monitored", 8192
go"max SQL text monitored" の値が以前は 4096 よりも小さかった場合、この設定を増やすには Sybase ASE インスタンスを再起動する必要があります。