SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
[SA 7.1.228 Pro] Loading all objecs while comparing some

 
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant View previous topic
View next topic
[SA 7.1.228 Pro] Loading all objecs while comparing some
Author Message
michalk



Joined: 29 Aug 2014
Posts: 211

Post [SA 7.1.228 Pro] Loading all objecs while comparing some Reply with quote
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 View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Reply with quote
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 View user's profile Send private message
michalk



Joined: 29 Aug 2014
Posts: 211

Post Reply with quote
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 View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Reply with quote
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 View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Reply with quote
Quote:
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 View user's profile Send private message
michalk



Joined: 29 Aug 2014
Posts: 211

Post Reply with quote
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 View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Reply with quote
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 View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
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


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.