Commit Graph

192 Commits

Author SHA1 Message Date
Aaron
b72aa7471c SERVER-4907 Backport query plan hinting when oplog entries are applied. 2012-07-04 16:39:39 -07:00
Eric Milkie
ee64e77c32 SERVER-5581 (backport only)
Only attempt to clear a query's pattern if the query is satisfiable for the specified index type.
2012-05-15 13:29:10 -04:00
Eric Milkie
03c34bd5fa SERVER-5353 Backport print capped collection scan on _id query warning message in appropriate cases. 2012-05-13 16:48:04 -04:00
Aaron
0b38e1009b SERVER-4665 backport 'ConstraintPresent' constraint type and exclusion of unhelpful recorded plans 2012-01-16 21:54:07 -08:00
Aaron
4184797545 SERVER-3555 assert when or query yield fails to prevent potential invalid memory access 2011-08-17 21:03:54 -07:00
Eliot Horowitz
7cc114bbc0 SERVER-3064 out for now - too many issues with rollback 2011-08-05 20:41:03 -04:00
gregs
a19bd10c50 handle m/r errors via assertion exceptions to keep consistent error interface SERVER-3478 2011-08-05 12:22:30 -04:00
gregs
478b0818cf fix for test case 2011-08-05 12:22:30 -04:00
gregs
b96bd28ad5 don't throw error with unfulfillable query in mr SERVER-3478 2011-08-05 12:22:30 -04:00
Eliot Horowitz
72db2c4197 do not allow _id scans on capped collections SERVER-3064 2011-08-05 11:43:09 -04:00
Aaron
949a69ca83 SERVER-3373 don't check for useless or unnecessarily 2011-08-04 22:46:52 -07:00
Aaron
d58c4c23f6 SERVER-3373 query optimizer optimizations, primarily for non or queries 2011-08-04 22:10:34 -07:00
Eliot Horowitz
54dbf3aa1c QueryPlanSet::Runner::mayYield cleaning 2011-06-24 16:23:13 -04:00
Eliot Horowitz
037cf2ea57 yield with disk prep for ClientCursor SERVER-2563 2011-06-15 17:29:18 -04:00
Aaron
6daddc776c slightly simplify usage of our_priority_queue 2011-06-02 16:50:59 -04:00
Aaron
6575b2ebbf SERVER-2977 check specifically for out of order assertion when constructing QueryOptimizerCursor 2011-06-02 16:39:53 -04:00
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