Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oracle - Timeout #261

Closed
mcardia opened this issue May 30, 2019 · 3 comments
Closed

Oracle - Timeout #261

mcardia opened this issue May 30, 2019 · 3 comments
Assignees

Comments

@mcardia
Copy link

mcardia commented May 30, 2019

Oracle connection takes to long to load and most of the time it raises timeout.

I think it's related with oracle owner with a big dictonary.

I don´t know how the extension load the list of table/objects for the explorer/navigator, but,
if it´s using dba_* or all_* views, i would suggest to use user_* views and ignore public synonyms.

image

  • SQLTools Version 0.19.3
  • VSCode Version: 1.33.1
  • OS: Windows
@mickeypearce
Copy link
Contributor

mickeypearce commented Jun 3, 2019

hey @mcardia ,

extension uses queries from https://github.com/mtxr/vscodesqltools/blob/master/packages/core/dialect/oracle/queries.ts file to load tables: fetchTables, columns in tables fetchColumns, functions/procedures fetchFunctions, etc...

There is an open issue related about displaying only current user objects versus all objects with a parameter "sqltools.onlyUsersObjects" #218 Maybe just switching to user_* tables would make a difference as you suggest.

But loading a heavy schema can definatelly be a problem in every case. If you can optimize the queries please go ahead... That would be awesome. Or if you could find out which of these quieries takes the most time in your case would be also very beneficial and helpful.

Thank you very much in advance if you could provide this additional information or a PR.

@mtxr
Copy link
Owner

mtxr commented Jun 26, 2019

I must take a look on #218.

I think we are having a feel issues because of loading all data after connecting

@mtxr
Copy link
Owner

mtxr commented Aug 21, 2020

Not supported within this repository anymore.

@mtxr mtxr closed this as completed Aug 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants