Skip to content

Commit

Permalink
Merge pull request #265 from ritza-co/update-oracle-rac
Browse files Browse the repository at this point in the history
DOCS-96 add Oracle example command, database-discovery
  • Loading branch information
sixhobbits authored Jan 12, 2024
2 parents c35dead + 8afecf6 commit eece944
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/auto-discovery/database-discovery/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,17 @@ For discovery to return detailed info about your database instance, you will req
<ul><li>V$SESSION</li><li>V$DATABASE</li><li>V$CONTAINERS</li><li>DBA_SEGMENTS</li></ul></td>
<td width="288"><ul><li>DBA_OBJECTS</li><li>SYS.ALL_USERS</li><li>DATABASE_COMPATIBLE_LEVEL</li><li>SYS.PRODUCT_COMPONENT_VERSION</li></ul></td></tr></tbody></table>


To get information about Pluggable Databases (PDBs) within a Container Database (CDB) in Oracle for non-DBA users, two key permission configurations are required:

- SELECT permission on the V$CONTAINERS view.
- Set `container_data=all container=current` for context configuration.
- Set `container_data=all container=current` for context configuration. For example:

```sql
ALTER USER c##<username>
SET
CONTAINER_DATA = ALL
CONTAINER = CURRENT;
```

### Setting up your Oracle discovery job

Expand Down

0 comments on commit eece944

Please sign in to comment.