Commit Graph

176 Commits

Author SHA1 Message Date
Aaron
70fbe10acf SERVER-480 SERVER-2884 Perform in memory sorts by generating keys suitable for an index 2011-06-02 10:23:32 -04:00
Dwight
63023cac63 begin using SimpleMutex when appropriate 2011-05-31 14:21:05 -04:00
dwight
2809fd7c86 issue with priroity queue usage 2011-05-26 01:35:48 -04:00
dwight
8a0660ac31 use firstElementFieldName() 2011-05-23 20:03:19 -04:00
Aaron
859bb3ad16 SERVER-2977 generate cursor in NamespaceDetailsTransient, and short circuit some simple queries 2011-05-17 22:54:22 -07:00
Aaron
719e23b5f7 SERVER-2977 add nscanned to query optimizer cursor 2011-05-17 22:54:21 -07:00
Aaron
c61c9fa588 SERVER-2977 add yielding, simple ordering, and some exception handling to query optimizer cursor 2011-05-17 12:20:08 -07:00
gregs
e11576cc86 detect special indices without special syntax marked in query 2011-05-11 13:41:46 -04:00
gregs
f78d25f6e2 don't override cursor matcher with default op matcher 2011-05-11 13:41:46 -04:00
Eliot Horowitz
d892174f43 nicer debugging message 2011-05-11 02:46:26 -04:00
Aaron
bd29441d12 SERVER-2977 initial version of query optimizer cursor 2011-05-04 10:28:57 -07:00
Dwight
a3cd52048a Merge branch 'master' into main
Conflicts:
	SConstruct
	db/btree.h
	db/db.vcxproj.filters
	db/dbcommands_admin.cpp
	db/geo/2d.cpp
	db/pdfile.cpp
	dbtests/test.vcxproj.filters
2011-05-03 15:53:27 -04:00
Aaron
ddd7dd323d rename FieldRangeOrSet to OrRangeGenerator 2011-05-02 10:33:52 -07:00
Aaron
c8a934caf7 Don't pop or clause when table has been scanned 2011-05-02 10:30:50 -07:00
Eliot Horowitz
b06a2c7ef3 optimize _id : { x : 5 } query 2011-05-01 22:50:06 -04:00
Aaron
3af50f5b94 SERVER-958 merge and address mongos dependency differences 2011-04-25 13:29:51 -07:00
Aaron
a227326132 SERVER-958 Track non single key field ranges and utilize them in query planning 2011-04-25 13:29:50 -07:00
Dwight
846a7a0bc5 checkpoint index v2 work 2011-04-21 14:53:10 -04:00
Aaron
5b25538d15 code style 2011-04-07 16:07:29 -07:00
Aaron
8511c5702b queryoptimizer comments and cleanup 2011-04-07 13:04:01 -07:00
gregs
a3b7bb6b83 skip indices which require sorting for distinct SERVER-2135 2011-04-06 14:05:43 -04:00
Aaron
65096208af queryoptimizer variable names 2011-04-05 18:57:09 -07:00
Aaron
86ae5d6fd9 SERVER-1932 Don't check invalid field range with table scan 2011-03-31 14:58:17 -07:00
Aaron
c887ab329f SERVER-2245 use original IndexSpec with full attributes in FieldRangeVector 2011-03-21 21:52:21 -07:00
Eliot Horowitz
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
Eliot Horowitz
b0845cb442 pass ns to staticYield so can log on error/warning SERVER-2268 2010-12-22 02:48:47 -05:00
Aaron
9c14510e64 SERVER-2217 queryoptimizer handle properly when notablescan exception is generated in queryop init 2010-12-14 10:52:32 -08:00
Aaron
80bfc4b182 SERVER-2189 2010-12-07 23:01:40 -08:00
Eliot Horowitz
999ae13629 get if a cursor is a multi key 2010-11-15 10:22:20 -05:00
Eliot Horowitz
1dde63e9b1 qo standards 2 2010-11-12 18:22:19 -05:00
Eliot Horowitz
c0b32b52fd qo standards 2010-11-12 18:16:49 -05:00
Eliot Horowitz
195b62c1e8 qo cleaning 2010-11-12 18:08:51 -05:00
Eliot Horowitz
f5f012c46d method on cursor to say if a key might be different than in the object 2010-11-12 18:03:06 -05:00
dwight
c34a3100fe more cleaning toward conventions 2010-10-19 09:13:57 -04:00
Dwight
01a6722a25 allow changing notablescan at runtime via {set:} command 2010-10-15 17:00:34 -04:00
Aaron
57c2cf9b01 SERVER-1213 allow splitting of or ranges 2010-09-14 14:30:18 -07:00
Eliot Horowitz
65078c15cb when using a special index, don't record because may screw up later SERVER-1669 2010-08-26 00:28:35 -04:00
Aaron
701dc65282 SERVER-1528 account for expensive skipping operations in nscanned 2010-08-03 20:09:16 -07:00
Aaron
705cd42057 return correctly from function 2010-08-02 16:39:10 -07:00
Aaron
e6ad6ecb02 SERVER-1453 yield during geo query 2010-08-02 15:43:53 -07:00
Aaron
decb87e5b7 bail out or clause checking if we do an unpredicted table scan 2010-07-20 13:58:58 -07:00
Aaron
fc1707aa99 SERVER-1437 update or range elimination 2010-07-19 00:39:16 -07:00
Aaron
94fab2e73f SERVER-802 update explain format 2010-07-16 05:09:10 -07:00
Aaron
5371a5e448 SERVER-802 range / in skipping 2010-07-16 01:49:15 -07:00
Aaron
f17aefd598 SERVER-1376 yield in query set runner for query,count,update,delete 2010-07-07 19:35:26 -07:00
Aaron
4798e64b1c SERVER-371 checkpoint 2010-07-07 12:26:20 -07:00
Aaron
6dd05ca594 SERVER-1217 bestGuessCursor() should always honor sort spec 2010-06-28 12:44:23 -07:00
Eliot Horowitz
a71cc3cd4b cleaning exceptions 2010-06-21 13:41:34 -04:00
Aaron
0715c4db07 SERVER-1242 check nsdetails before using 2010-06-15 12:29:27 -07:00
Aaron
a18d670761 SERVER-109 range diff after compound index scan 2010-06-09 13:47:49 -07:00