Commit Graph

56 Commits

Author SHA1 Message Date
Aaron
af59c4ea9e core implementation of min/max query parameters 2009-04-30 16:25:36 -04:00
Aaron
61ed53b9af fix non osx compiler warning MINOR 2009-04-21 17:38:34 -04:00
Aaron
7d85516931 fix interpretation of non numberic index direction spec 2009-04-20 18:17:52 -04:00
Aaron
c27e290116 Support large count and nscanned 2009-03-24 12:12:04 -04:00
Aaron
7dd5dd50af Remove old debug logging 2009-03-20 14:57:04 -04:00
Aaron
5a276ef621 Replace emptyObj with BSONObj() 2009-03-19 16:23:04 -04:00
Aaron
cc83107966 Now forward startLoc, with test 2009-03-18 17:50:45 -04:00
Aaron
6d10afbd49 Find requested oplog entry starting from tail of log 2009-03-18 17:24:10 -04:00
Aaron
8730dc9d02 replace couple copy() calls with getOwned() 2009-03-06 13:42:52 -05:00
Aaron
2ba030abe0 Move index cache to NamespaceDetailsTransient 2009-03-03 17:30:26 -05:00
Aaron
bab49f4951 Fail operation when old index can't be found 2009-03-03 15:37:54 -05:00
Aaron
4c40455a5c Add debug logging for missing recorded index 2009-03-03 12:46:31 -05:00
Aaron
eb18afd653 More detailed explain 2009-02-26 15:53:33 -05:00
Aaron
4d3100a66d More accurate nScanned recording with plan 2009-02-26 15:09:44 -05:00
Aaron
09bfd068ba Explain includes info on all plans attempted 2009-02-26 14:55:53 -05:00
Aaron
4eae90b0a6 Start using order with pattern in optimizer 2009-02-26 11:33:23 -05:00
Aaron
851e5545a1 Since we're now using iterative interleaving rather than threads, don't do a table scan if an optimal index is found 2009-02-26 10:44:19 -05:00
Aaron
481f033964 Refactoring 2009-02-26 10:28:27 -05:00
Aaron
5656a475db If plan not doing as well as before, start using other plans too 2009-02-25 19:22:54 -05:00
Aaron
7325450ff2 findOne use new query optimizer 2009-02-25 15:01:07 -05:00
Aaron
adeeae1f2f Update uses new query optimizer 2009-02-25 12:25:01 -05:00
Aaron
222ea643ad Runner improvements 2009-02-25 10:48:41 -05:00
Aaron
1f67174066 Uncomment lines 2009-02-24 18:32:08 -05:00
Aaron
b1341cf000 Recording plan configurable 2009-02-24 18:23:11 -05:00
Aaron
17b7897f19 Remember best index for query pattern 2009-02-24 17:48:06 -05:00
Aaron
4a4b0fe482 Better error detection 2009-02-24 15:45:18 -05:00
Aaron
e3bf4578ec Remove old code 2009-02-24 15:30:16 -05:00
Aaron
7bfc826646 Remove old code 2009-02-24 14:41:53 -05:00
Aaron
b257287672 Merge branch 'master' of git@github.com:mongodb/mongo 2009-02-24 14:15:37 -05:00
Eliot Horowitz
500f01c9a5 move fieldset stuff into queryutil.* 2009-02-24 14:14:45 -05:00
Aaron
c969a3c4b4 Merge 2009-02-24 13:38:17 -05:00
Aaron
a744fbf06f field bound set simplified query 2009-02-24 13:36:37 -05:00
Aaron
a7eb50116c Manually interleve query optimizer's plans rather than running each plan in a new thread 2009-02-24 11:49:55 -05:00
Aaron
86c4c87be6 New query optimizer checkpoint, minus jstest changes 2009-02-24 10:27:07 -05:00
Aaron
e663625021 First cut of query and update using new qo 2009-02-23 09:50:31 -05:00
Aaron
592edec271 Cleaner 2009-02-20 16:17:34 -05:00
Aaron
27841a5363 Compile linux 2009-02-20 16:12:22 -05:00
Aaron
93ac1411b9 Compile windows 2009-02-20 15:37:24 -05:00
Aaron
a4fc389f6b Count function using new query optimizer 2009-02-20 15:19:41 -05:00
Aaron
db0f38e88b Dummy count implementation 2009-02-20 11:08:22 -05:00
Aaron
3f61af1a47 Build start and end keys checkpoint 2009-02-19 15:04:10 -05:00
Aaron
d1475ffba2 Use const ref for bson objects 2009-02-19 14:23:07 -05:00
Aaron
250e0fd490 Implement hints, test direction 2009-02-19 13:58:22 -05:00
Aaron
fd756add64 More correct definition of 'optimal' 2009-02-19 10:26:46 -05:00
Aaron
c8f5a1963c More query plan details, choosing an optimal plan if there is one 2009-02-19 10:01:20 -05:00
Aaron
b251990286 More metadata about query plan 2009-02-18 15:25:50 -05:00
Aaron Staple
b30b8b3299 Fix unit test failure related to initialization order of static variables 2009-02-17 23:09:37 -05:00
Aaron
247d3e69a4 Some ordering logic 2009-02-17 20:57:36 -05:00
Aaron
1c978eaace Better error message 2009-02-17 19:46:37 -05:00
Aaron
42de993149 More field bounds 2009-02-17 19:39:35 -05:00