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

Realtions check: too many queries #167

Closed
zlakomanoff opened this issue Jul 25, 2016 · 1 comment
Closed

Realtions check: too many queries #167

zlakomanoff opened this issue Jul 25, 2016 · 1 comment
Assignees
Labels
type:enhancement Enhancement
Milestone

Comments

@zlakomanoff
Copy link
Contributor

zlakomanoff commented Jul 25, 2016

What steps will reproduce the problem?

just generate model on oracle db, its very slooow

What's expected?

What do you get instead?

My local db have only ~10 schemas, model generation do 750 db queries and >4 minutes execution time.
My production db have >300 schemas, model generation go to infinite loop...

Additional info

I think we need to create check all schemas option on generation form, where i can setup generate relation only from current schema.
The same issue actial for mssql db.
The problem: by default db setup (oracle, mssql, etc) all users can view all db schemas and tables.

Q A
Yii vesion 2.0.9
PHP version 7.0.9
Operating system Arch GNU/Linux
@zlakomanoff
Copy link
Contributor Author

Please reopen, the same issue in the inverse relations generation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement Enhancement
Projects
None yet
Development

No branches or pull requests

2 participants