Listing of virtual objects in Watson Query is slow
The process of listing virtual objects in your Watson Query service is slow.
Symptoms
You try to list or retrieve virtualized tables and views in Watson Query, but the process is taking too long.Causes
By default, the Restrict visibility option is enabled in Watson Query. If you do not have SELECT access to a virtualized table or view, you don't see this table or view when you list virtual objects in your Watson Query service.
Before it returns a complete list of virtual objects in Watson Query, the system must verify access settings of each virtual object. This process might take several minutes to complete, especially in user environments where the total number of virtual objects is high.
Resolving the problem
Take the following steps to try to resolve the problem:
- Add WHERE predicate to your query to request a subset of tables or views. If this option does not help resolve this issue, change the setting that restricts users access to Db2® catalog.
- Watson Query administrators can change the access restriction to the Db2 catalog by following these steps:
- Click .
- On the service menu, select Advanced options section. and go to the
- Disable the Restrict visibility option
to allow users to see column and table names of virtual objects that they cannot access.Note: Disabling access to the catalog makes all virtual objects visible to all users. However, the content of these tables and views is only visible to users that are granted the corresponding permission. For more information, see Managing virtual objects.