Unix Technical Forum

Cross database joins

This is a discussion on Cross database joins within the MySQL General forum forums, part of the MySQL category; --> Hi, I found one thread on this that included some people's opinions, but I haven't been able to find ...


Go Back   Unix Technical Forum > Database Server Software > MySQL > MySQL General forum

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 07:02 AM
Eric Frazier
 
Posts: n/a
Default Cross database joins

Hi,

I found one thread on this that included some people's opinions, but I
haven't been able to find anyone who has actually done some performance
testing to see if there is a cost and what that cost is to doing cross
database joins. I do tend to want to keep everything in one DB, but it
gets hard when you have databases that do cross over at times, but
rarely. Of course I am being somewhat lazy in doing this post, but only
because I think someone here *must* have already done some testing
between cross db joins and inside db joins. Another point of interest is
if DBI actually opens another connection or not. I saw one mention of a
worry about that, but as I understand it, you can refer to any table in
any database from any mysql connection that has permission to access
that DB and table, so you should be able to access any DB from any
initial connection.

Thanks,

Eric


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:33 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com