Bug #6606 Add safe_join setting to prevent cartesian products
| Submitted: | 13 Nov 2004 14:50 | Modified: | 17 Jul 2008 22:17 |
|---|---|---|---|
| Reporter: | Arjen Lentz | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: General | Severity: | S4 (Feature request) |
| Version: | 6.0 | OS: | Any (any) |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | cartesian product, join, safe_join | ||
[13 Nov 2004 14:50]
Arjen Lentz
[13 Nov 2004 20:27]
Arjen Lentz
Hmm I misread something, 5.0 does not have a query_timeout. I do believe there were some ideas for this though. But anyway... the idea stands.
[9 Feb 2006 11:58]
Valeriy Kravchuk
Thank you for a resonable feature request. But even with this feature in place, nobody will prevent users from joins on condition that is true for all rows in both tables. I think, some kind of resources profiles support, that limits disk and CPU usage will serve users better.
[17 Jul 2008 22:17]
Arjen Lentz
Updated for 6.0 since it's obviously not going into an earlier version (since 2004...)
[31 Aug 2010 22:31]
Bill Adams
I would like to vote for this feature as well. I have a vary large database that occasionally gets locked up because someone who is not SQL savvy writes a bad query that skips needed table joins.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.041 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.