October 8, 2011 at 6:24 am
Hi,
We're implementing a set of new features for our app and require dynamic creation of tables. My concern is that there will be lots of new data and I'm not sure if adding this new data to existing database is a good idea. However, there will be joins to existing tables. Would performance degrade in case of cross database joins?
Thanks
October 8, 2011 at 2:59 pm
Lexa (10/8/2011)
Hi,We're implementing a set of new features for our app and require dynamic creation of tables. My concern is that there will be lots of new data and I'm not sure if adding this new data to existing database is a good idea. However, there will be joins to existing tables. Would performance degrade in case of cross database joins?
Thanks
Are the dynamically created tables going to be permanent or temporary? What are these tables being used for?
--Jeff Moden
Change is inevitable... Change for the better is not.
October 8, 2011 at 3:06 pm
It depends 😀
If the DBs are in the same instance, use the same collation and security context, have a similar layout of file groups (e.g. in terms of log file location) and maybe some more conditions need to be met then cross-DB-joins should not negatively influence performance.
October 8, 2011 at 3:59 pm
Jeff Moden (10/8/2011)
Lexa (10/8/2011)
Hi,We're implementing a set of new features for our app and require dynamic creation of tables. My concern is that there will be lots of new data and I'm not sure if adding this new data to existing database is a good idea. However, there will be joins to existing tables. Would performance degrade in case of cross database joins?
Thanks
Are the dynamically created tables going to be permanent or temporary? What are these tables being used for?
Permanent, they will be used to join to already existing tables.
October 8, 2011 at 4:01 pm
LutzM (10/8/2011)
It depends 😀If the DBs are in the same instance, use the same collation and security context, have a similar layout of file groups (e.g. in terms of log file location) and maybe some more conditions need to be met then cross-DB-joins should not negatively influence performance.
Yes, all the physical layouts of the groups will be the same, same collation and certainly the same instance.
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply