6.0.0-alpha12
▾
Tasks
New Task
Search
▾
Others
Photos
Wiki
Development
Tickets
New Ticket
Search
Toggle Alerts Log
Help
7/17/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#7363] Avoid bitwise operations in the SQL Share driver
*
Your Email Address
*
Spam protection
Enter the letters below:
._..___.___..__ . | [__ _/ [__) | _|_| ./__.| \\__|
Comment
> Mysql does not uses indexes for bitwise operations. So it performs a > full table scan. I was aware of this while I was writing the native > driver. But I let this problem as it is still much better than the DT > driver and had no time to solve even this. This part is still on my > TODO... > > > > Another table scan was introduced in in revision 1.35 of mrubinsk by > adding the DISTINCT statement in the SQL query. And this is the > *real* performance killer for MySQL. As it must scan the joined table > - it means that must allocate a new temporary table with all joined > data, using limit or not. Brrr.... > > > > So we must reorganize data and query to avoid this two table scans.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers