 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
michalk
Joined: 29 Aug 2014 Posts: 211
|
|
[SA 7.1.228 Pro] Loading all objecs while comparing some |
|
While using compare schema feature, SA loads all objects even if only some are selected.
For example comparing functions, loading other objects is indicated by status bar.
Is it intended to be like this?
|
|
Wed Nov 19, 2014 1:43 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
Not intended, unless the extra objects are returned by the same queries, in which case they are filtered at a later stage.
Would you please provide a specific example demonstrating what you're seeing?
|
|
Wed Nov 19, 2014 1:55 pm |
|
 |
michalk
Joined: 29 Aug 2014 Posts: 211
|
|
|
|
I just wanted to compare functions. See screenshot.
But also aggregates, columns, foreign keys, indexes, triggers and more are loaded.
Also I noticed, some objects are loaded twice (based on names shown by status bar)

|
|
Wed Nov 19, 2014 2:25 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
By the way, we are working on supporting more types of PostgreSQL objects and options. A new beta build is expected this week, it should have more of that stuff available.
|
|
Wed Nov 19, 2014 2:26 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
 |
 |
I just wanted to compare functions. See screenshot.
But also aggregates, columns, foreign keys, indexes, triggers and more are loaded.
Also I noticed, some objects are loaded twice (based on names shown by status bar) |
I think it loads all schema objects the filters them per selection. The reason for a second pass in some cases is evaluation of dependencies and some other things required for generation of schema synchronization scripts.
|
|
Wed Nov 19, 2014 2:30 pm |
|
 |
michalk
Joined: 29 Aug 2014 Posts: 211
|
|
|
|
But loading all objects is waste of resources I believe. I know it's not major case. I noted that just for any case, some thing gone wrong.
|
|
Wed Nov 19, 2014 2:37 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
1. It's first beta for the schema compare, we still need to identify the issues, and your feedback is very helpful.
2. Certain things are done for technical reasons beyond efficiency. I agree for efficiency they could have been done differently, but there could have been the technical constraints causing dev team to choose not the most efficient method.
|
|
Wed Nov 19, 2014 3:06 pm |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|