summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/query_planner.h
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-62798 Use single 'AutoGet' for all execution namespaces instead of ↵Mihai Andrei2022-03-011-1/+1
| | | | multiple in 'runAggregate'
* SERVER-59698 Make subplanning work with the SBE plan cacheAlexander Ignatyev2022-02-211-80/+3
|
* SERVER-58426 Implement $lookup planning logicIrina Yatsenko2022-02-101-1/+4
| | | | Co-authored-by: Mihai Andrei <mihai.andrei@mongodb.com>
* SERVER-58429 enable group lowering into SBE for cached and multi- plansIrina Yatsenko2021-11-181-20/+4
|
* SERVER-59854 Remove PlanCacheIndexabilityState from the PlanCacheRuoxin Xu2021-09-241-6/+99
| | | | | | | | | | This patch includes a number of changes to facilitate the use of PlanCacheIndexabilityState with SBE and classic plan cache keys. * Introduced a plan cache key factory. * Moved PlanCacheIndexabilityState from the PlanCache into CollectionQueryInfo. * Templetized QueryPlanner::planSubqueries() so it can be used with classic and SBE plan caches. * Removed dependency on the CanonicalQuery from the PlanCache class. Co-authored-by: Anton Korshunov <anton.korshunov@mongodb.com>
* SERVER-59335 Separate code specific to the classic plan cache80741223+jlap199@users.noreply.github.com2021-09-021-1/+1
|
* SERVER-59332 Convert PlanCache to a template class80741223+jlap199@users.noreply.github.com2021-08-251-1/+1
|
* SERVER-58424 Refactor QueryPlanner::plan() in preparation for DocumentSource ↵Eric Cox2021-08-191-3/+22
| | | | pushdown
* SERVER-57446 fix clang-tidy header issues and add header-filterDaniel Moody2021-08-021-2/+2
|
* SERVER-53270 Include SBE PlanStage tree string into explain outputAnton Korshunov2021-01-301-3/+0
|
* SERVER-50984 Add CollectionPtr to replace usage of const Collection*Henrik Edin2020-09-261-1/+2
| | | | | | | | | | | | It implements a yieldable interface that is used to re-load the Collection pointer from the catalog after a yield that released locks. With lock-free reads and copy-on-write on Collection instances releasing locks without notifying an AutoGetCollection at a higher level may cause its pointers to dangle if a MODE_X writer installs a new Collection instance in the catalog. CollectionPtr should be passed by const reference so a yield can notify all the way up.
* SERVER-48228 Move slot-based execution engine and supporting changes into ↵Martin Neupauer2020-06-111-1/+57
| | | | | | | | | | | | | | the master branch This is an initial commit for the slot-based execution engine (SBE) which contains: * Implementation of the core slot-based engine. * The SBE stage builder, which is responsible for translating a QuerySolution tree into an SBE plan. * Other changes necessary for integration with the find command. Co-authored-by: Anton Korshunov <anton.korshunov@mongodb.com> Co-authored-by: Justin Seyster <justin.seyster@mongodb.com> Co-authored-by: David Storch <david.storch@mongodb.com>
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-131-1/+0
| | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-8/+10
|
* SERVER-35333 caching plans for allPaths indexesIan Boros2018-08-311-1/+1
|
* SERVER-32603 Modernize QueryPlanner methods to use unique_ptr.David Storch2018-01-111-28/+13
|
* SERVER-24239 Allow creation of indexes with the same key pattern.David Hatch2016-07-281-1/+2
|
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-73/+73
|
* SERVER-15225 CachedPlanStage can replan poorly performing queries after a ↵David Storch2015-04-131-19/+3
| | | | trial period
* SERVER-14096 explain find() at queryPlanner verbosityDavid Storch2014-06-111-0/+3
| | | | Enable by the setParameter 'enableNewExplain'
* SERVER-13256: Remove pch - qualify std in headersMark Benvenuto2014-05-191-2/+2
|
* SERVER-13084: remove many cc() calls from query/exec worldEliot Horowitz2014-04-171-0/+1
|
* SERVER-12282 fixed memory leak in get_runner. fixed planFromCache signature ↵Benety Goh2014-01-211-2/+2
| | | | to reflect cached solution read-only access
* SERVER-12296 cache a backup plan for blocking sort solutionsDavid Storch2014-01-121-1/+29
| | | | Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
* SERVER-5470 extended plan cache to hold all solutons from planning processBenety Goh2014-01-081-1/+1
|
* SERVER-10564 plan cache data storage mechanismDavid Storch2013-12-311-0/+40
| | | | | | | | | | The plan cache now builds a tree isomorphic to the tagged match expression in order to store the index tags used by a plan. On cache hit, this tree is used to tag the match expression. The tagged tree can then be fed through the access planner in order to recreate the original query solution. Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
* SERVER-10142: Eliminate Compiler Warnings on Windows BuildersMark Benvenuto2013-12-181-1/+1
| | | | BF-60:compile broken on windows
* SERVER-10026 skeleton of cache for query plansHari Khalsa2013-12-161-0/+7
|
* SERVER-12005 reject queries with bad hints, invalid min/max specs and ↵Benety Goh2013-12-121-3/+3
| | | | missing geo indexex.
* SERVER-10026 break planner into four piecesHari Khalsa2013-11-211-245/+1
|
* SERVER-10026 fix qlog to be fasterHari Khalsa2013-11-181-1/+1
|
* SERVER-10026 add NO_BLOCKING_SORT as planner option for aggHari Khalsa2013-11-181-0/+6
|
* SERVER-10026 fix shard filter commentsHari Khalsa2013-11-131-0/+4
|
* SERVER-10026 perform shard filtering as a data access stageHari Khalsa2013-11-091-12/+31
|
* SERVER-10026 when pulling sort out of the idx consider reverse sort as wellHari Khalsa2013-11-071-1/+2
|
* SERVER-10026 sort queries now go through new systemHari Khalsa2013-11-011-18/+23
|
* SERVER-10026 sort with improved sort analysisHari Khalsa2013-10-301-1/+31
|
* SERVER-10471 merge index bounds, enumerate based on indices, bug fixesHari Khalsa2013-10-071-4/+5
|
* SERVER-10471 add s2near stage, enable all 2dsphere queries, enable 2d ↵Hari Khalsa2013-10-041-6/+20
| | | | queries (just slow).
* SERVER-10471 fix build, always output collscans in testHari Khalsa2013-10-021-0/+3
|
* SERVER-10471 multikey correctness, fix compound idxs, a few bug fixesHari Khalsa2013-10-011-13/+24
|
* SERVER-10471 enumerate indices w/array operators correctly, clean up and ↵Hari Khalsa2013-09-301-0/+151
| | | | comment planner
* SERVER-8886 Add OpenSSL exception to files in src/mongo/dbIan Whalen2013-09-061-0/+12
|
* SERVER-10026 SERVER-10471 begin more sustainable planning approachHari Khalsa2013-08-291-12/+1
|
* SERVER-10471 lt(e) gt(e)Hari Khalsa2013-08-141-11/+3
|
* SERVER-10026 SERVER-10471 unittestable query plannerHari Khalsa2013-08-121-0/+10
|
* SERVER-10376 SERVER-10026 end-to-end part 1: run non-indexed queriesHari Khalsa2013-08-051-2/+13
|
* SERVER-10026 skeleton of query parsing & planning, cacheHari Khalsa2013-07-301-0/+39