mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-05 03:54:23 +00:00
Minor: Docs - MSSQL Usage & Lineage Requirements (#14746)
This commit is contained in:
parent
eadda0e3f1
commit
9694e19599
@ -57,6 +57,15 @@ CREATE USER Mary WITH PASSWORD = '********';
|
||||
-- Grant SELECT on table
|
||||
GRANT SELECT TO Mary;
|
||||
```
|
||||
|
||||
### Usage & Lineage consideration
|
||||
|
||||
To perform the query analysis for Usage and Lineage computation, we fetch the query logs from `sys.dm_exec_cached_plans`, `sys.dm_exec_query_stats` & `sys.dm_exec_sql_text` system tables. To access these tables your user must have `VIEW SERVER STATE` privilege.
|
||||
|
||||
```sql
|
||||
GRANT VIEW SERVER STATE TO YourUser;
|
||||
```
|
||||
|
||||
### For Remote Connection
|
||||
|
||||
#### 1. SQL Server running
|
||||
|
||||
@ -57,6 +57,15 @@ CREATE USER Mary WITH PASSWORD = '********';
|
||||
-- Grant SELECT on table
|
||||
GRANT SELECT TO Mary;
|
||||
```
|
||||
|
||||
### Usage & Lineage consideration
|
||||
|
||||
To perform the query analysis for Usage and Lineage computation, we fetch the query logs from `sys.dm_exec_cached_plans`, `sys.dm_exec_query_stats` & `sys.dm_exec_sql_text` system tables. To access these tables your user must have `VIEW SERVER STATE` privilege.
|
||||
|
||||
```sql
|
||||
GRANT VIEW SERVER STATE TO YourUser;
|
||||
```
|
||||
|
||||
### Python Requirements
|
||||
|
||||
To run the MSSQL ingestion, you will need to install:
|
||||
|
||||
@ -57,6 +57,15 @@ CREATE USER Mary WITH PASSWORD = '********';
|
||||
-- Grant SELECT on table
|
||||
GRANT SELECT TO Mary;
|
||||
```
|
||||
|
||||
### Usage & Lineage consideration
|
||||
|
||||
To perform the query analysis for Usage and Lineage computation, we fetch the query logs from `sys.dm_exec_cached_plans`, `sys.dm_exec_query_stats` & `sys.dm_exec_sql_text` system tables. To access these tables your user must have `VIEW SERVER STATE` privilege.
|
||||
|
||||
```sql
|
||||
GRANT VIEW SERVER STATE TO YourUser;
|
||||
```
|
||||
|
||||
### For Remote Connection
|
||||
|
||||
#### 1. SQL Server running
|
||||
|
||||
@ -57,6 +57,15 @@ CREATE USER Mary WITH PASSWORD = '********';
|
||||
-- Grant SELECT on table
|
||||
GRANT SELECT TO Mary;
|
||||
```
|
||||
|
||||
### Usage & Lineage consideration
|
||||
|
||||
To perform the query analysis for Usage and Lineage computation, we fetch the query logs from `sys.dm_exec_cached_plans`, `sys.dm_exec_query_stats` & `sys.dm_exec_sql_text` system tables. To access these tables your user must have `VIEW SERVER STATE` privilege.
|
||||
|
||||
```sql
|
||||
GRANT VIEW SERVER STATE TO YourUser;
|
||||
```
|
||||
|
||||
### Python Requirements
|
||||
|
||||
To run the MSSQL ingestion, you will need to install:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user