FliQi Education App Download
प्रश्न-बैंक · Programmer DBMS

Query Processing & Query Optimization — प्रश्न और उत्तर

Programmer DBMS · 66 जाँचे हुए (verified) प्रश्न

  • 66 जाँचे हुए प्रश्न
  • हिंदी + English

पहले 10 प्रश्नों के उत्तर और हल यहीं खुले हैं; बाक़ी 20 के उत्तर और हल FliQi Question Bank app में।

भाषा
प्रश्न 1उत्तर + हल
query processing के लिहाज़ से bitmap index की मुख्य सीमा क्या है?
What is the primary limitation of bitmap indices in terms of query processing?
  1. Aतदर्थ (ad-hoc) query के लिए कम सहाराLimited support for ad-hoc queries
  2. Bसमवर्ती (concurrent) transaction सँभाल न पानाInability to handle concurrent transactions
  3. Cछितरे (sparse) सामान पर बहुत storage लगनाHigh storage overhead for sparse data
  4. Dपरास वाली query (range query) पर धीमा चलनाSlow performance for range queries

सही उत्तर / Answer: (D)

हल / Solution
bitmap index हर भिन्न मान के लिए एक बिट-सदिश रखता है। बराबरी की शर्त पर एक ही सदिश पढ़ना पड़ता है, पर परास (range) की शर्त पर उसमें आने वाले हर मान का सदिश OR करना पड़ता है, इसलिए चौड़ी परास महँगी पड़ती है। B+ वृक्ष वहाँ पत्तों की कड़ी एक बार चल लेता है, इसलिए विकल्प 4 सही है। विकल्प 1 उलटा है: तदर्थ query पर bitmap की ताक़त है। 2 और 3 बदलाव और जगह की बात हैं।
A bitmap index keeps one bit vector for every distinct value. An equality predicate reads a single vector, but a range predicate must fetch one vector per value inside the range and OR them together, so a wide range becomes expensive. A B+ tree instead walks its leaf chain once, which is why option 4 is correct. Option 1 is backwards, since ad-hoc queries are a bitmap strength, while options 2 and 3 concern updates and space.
प्रश्न 2उत्तर + हल
Embedded SQL वाले application में प्रदर्शन सुधारने के लिए आम तौर पर कौन-सी optimization तकनीक काम में लेते हैं?
Which optimization technique is commonly used to improve performance in embedded SQL applications?
  1. Aquery caching (query और उसका plan सहेज लेना)Query caching
  2. Blazy loading (ज़रूरत पड़ने पर ही सामान लाना)Lazy loading
  3. Cquery hinting (optimizer को संकेत देना)Query hinting
  4. Dindex fragmentation (index का बिखर जाना)Index fragmentation

सही उत्तर / Answer: (A)

हल / Solution
Embedded SQL में गिने-चुने कथन मेज़बान भाषा में लिखे रहते हैं और बदले हुए host variable के साथ बार-बार चलते हैं। इसलिए तैयार कथन और उसका plan सहेज लेना सबसे बड़ा फ़ायदा देता है: हर बार की parsing और optimization बच जाती है। यही query caching है, इसलिए विकल्प 1 सही है। lazy loading application की शैली है। hinting हाथ से की जाने वाली छँटाई है, रोज़ का उपाय नहीं। और index का बिखरना तो ख़ुद एक बीमारी है।
Embedded SQL keeps a small set of fixed statements inside the host program, and they run again and again with new host variable values. Caching the prepared statement together with its plan therefore gives the biggest gain, since parsing and optimization are skipped each time. That is query caching, so option 1 is correct. Lazy loading is an application fetch pattern, hinting is occasional manual tuning, and index fragmentation is a problem rather than a technique.
प्रश्न 3उत्तर + हल
जिस query को एक ही table से बहुत बड़ी संख्या में पंक्तियाँ पढ़नी हों, उसके लिए आम तौर पर कौन-सा evaluation plan चुना जाता है?
Which of the following query evaluation plans is likely to be chosen for a query that requires accessing a large number of rows from a single table?
  1. Aपूरी table का क्रमिक scan (full table scan)Full table scan
  2. Bहैश join (hash join)Hash join
  3. Cइंडेक्स join (index join)Index join
  4. Dमर्ज join (merge join)Merge join

सही उत्तर / Answer: (A)

हल / Solution
यहाँ table एक ही है, इसलिए join का कोई तरीक़ा लगता ही नहीं और विकल्प 2, 3, 4 अपने-आप हट जाते हैं। बड़ा हिस्सा पंक्तियों का चाहिए हो तो खंड क्रम से पढ़ लेना सबसे सस्ता पड़ता है, क्योंकि index के रास्ते जाने पर हर पंक्ति के लिए बेतरतीब पढ़ाई होती है और वही खंड बार-बार छू जाते हैं। इसीलिए एक हद से ज़्यादा पंक्तियाँ निकलने पर optimizer index छोड़कर पूरा scan चुन लेता है।
Only one table is involved here, so no join method applies at all and options 2, 3 and 4 drop out immediately. When a large share of the rows is needed, reading the blocks in order is the cheapest route, because going through an index means a random read per row and the same blocks get touched again and again. Past a certain selectivity the optimizer therefore abandons the index and scans the whole table.
प्रश्न 4उत्तर + हल
सबसे अच्छा query evaluation plan चुनने का मुख्य फ़ायदा क्या है?
What is the primary benefit of choosing an optimal query evaluation plan?
  1. Aquery की parsing तेज़ हो जाती हैImproved query parsing performance
  2. Bquery की जटिलता घट जाती हैReduced query complexity
  3. Cquery तेज़ी से चलती हैFaster query execution
  4. Ddatabase को कम storage चाहिएLower database storage requirements

सही उत्तर / Answer: (C)

हल / Solution
सस्ता plan कम खंड पढ़ता है और कम पंक्तियाँ बीच में सँभालता है, इसलिए वही query कम समय में पूरी हो जाती है। यही सारी कसरत का फल है, इसलिए विकल्प 3 सही है। parsing तो plan बनने से पहले ही हो चुकी होती है, इसलिए 1 ग़लत है। query की जटिलता वैसी ही रहती है जैसी उपयोगकर्ता ने लिखी, plan उसे घटाता नहीं। और storage की ज़रूरत सामान पर टिकी है, plan पर नहीं।
A cheaper plan reads fewer blocks and carries fewer intermediate rows, so the same query finishes in less time. That is the whole point of the exercise, which makes option 3 correct. Parsing already happened before any plan was built, so option 1 is wrong. Query complexity stays exactly as the user wrote it; a plan does not reduce it. Storage requirements depend on the stored data, not on the chosen plan.
प्रश्न 5उत्तर + हल
query evaluation plan चुनते समय आम तौर पर किस बात को नहीं देखा जाता?
Which of the following factors is NOT typically considered when choosing a query evaluation plan?
  1. Aबची हुई storage (available storage)Available storage
  2. Bquery की जटिलताQuery complexity
  3. CCPU की गतिCPU speed
  4. Ddatabase का schemaDatabase schema

सही उत्तर / Answer: (A)

हल / Solution
disk पर कितनी जगह बची है, इससे यह नहीं बदलता कि दो plan में कौन सस्ता है, इसलिए optimizer उसे देखता ही नहीं और विकल्प 1 सही है। बाक़ी तीनों काम आते हैं: query जितनी जटिल हो, उतने plan टटोले जाते हैं; CPU की गति लागत मॉडल के स्थिरांकों में बैठी होती है; और schema बताता है कि कौन-से index, कुंजी और अड़चनें मौजूद हैं, जिनसे रास्ते और रूपांतरण तय होते हैं।
How much free space is left on disk does not change which of two plans is cheaper, so the optimizer never consults it and option 1 is correct. The other three do matter. The more complex the query, the larger the plan space searched; CPU speed is baked into the constants of the cost model; and the schema states which indexes, keys and constraints exist, which decides the legal access paths and transformations.
प्रश्न 6उत्तर + हल
Query optimization में index चुनने (index selection) का मुख्य लक्ष्य क्या है?
In query optimization, what is the primary goal of index selection?
  1. Aexecution plan में join क्रियाओं की संख्या घटानाTo reduce the number of join operations in the query execution plan
  2. Bquery चलाने के लिए ज़रूरी memory घटानाTo minimize the amount of memory required for query processing
  3. Cindex के सहारे disk I/O क्रियाओं की संख्या घटानाTo minimize the number of disk I/O operations by utilizing indexes
  4. Dexecution plan में क्रियाओं का क्रम सुधारनाTo optimize the order of operations in the query execution plan

सही उत्तर / Answer: (C)

हल / Solution
index सीधे उन्हीं पंक्तियों तक पहुँचा देता है जो शर्त पर खरी हैं, इसलिए पूरी table के खंड पढ़ने की ज़रूरत नहीं पड़ती और पढ़े जाने वाले खंड घट जाते हैं। यही index चुनने का असली मक़सद है, इसलिए विकल्प 3 सही है। join हटाना अलग तकनीक है, जिसे join elimination कहते हैं। memory बचाना लक्ष्य नहीं, क्योंकि index ख़ुद अतिरिक्त जगह लेता है। और क्रियाओं का क्रम plan बनाते समय तय होता है।
An index leads straight to the rows that satisfy a predicate, so the engine need not read every block of the table and the number of blocks fetched drops sharply. That is the real aim of index selection, making option 3 correct. Removing joins is a separate technique called join elimination. Saving memory is not the goal, since an index itself occupies extra space, and operation ordering is decided while building the plan.
प्रश्न 7उत्तर + हल
जिस query में बहुत बड़े सामान को क्रम में लगाना पड़े, उसके लिए आम तौर पर कौन-सा evaluation plan चुना जाता है?
Which of the following query evaluation plans is likely to be chosen for a query that requires sorting a large amount of data?
  1. Aनेस्टेड लूप join (nested loop join)Nested loop join
  2. Bहैश join (hash join)Hash join
  3. Cसॉर्ट-मर्ज join (sort-merge join)Sort-merge join
  4. Dइंडेक्स join (index join)Index join

सही उत्तर / Answer: (C)

हल / Solution
सॉर्ट-मर्ज join दोनों तरफ़ का सामान बाहरी मर्ज सॉर्ट (external merge sort) से क्रम में लगाता है और फिर एक ही चाल में मिला देता है। क्रम वैसे भी ज़रूरी हो, जैसे ORDER BY या GROUP BY के लिए, तो वह मेहनत दोहरा काम कर जाती है और नतीजा भी क्रम में रहता है। इसलिए विकल्प 3 सही है। हैश join का नतीजा बेतरतीब होता है, nested loop क्रम नहीं लगाता, और index join के लिए ठीक index चाहिए।
A sort-merge join sorts both inputs with an external merge sort and then combines them in a single pass. When the query needs sorted data anyway, say for an ORDER BY or a GROUP BY, that sorting effort serves two purposes at once and the output stays ordered. Hence option 3. A hash join leaves its output unordered, a nested loop never sorts, and an index join depends on having a suitable index.
प्रश्न 8उत्तर + हल
query evaluation plan में कार्डिनैलिटी आँकने (cardinality estimation) का उद्देश्य क्या है?
In query evaluation plans, what is the purpose of cardinality estimation?
  1. Aquery चलाने में लगने वाले CPU चक्र आँकनाTo estimate the number of CPU cycles required for query execution
  2. Bquery चलते समय memory का इस्तेमाल आँकनाTo estimate the memory usage during query execution
  3. Cplan की हर क्रिया से निकलने वाली पंक्तियों की संख्या आँकनाTo estimate the number of rows returned by each operation in the query plan
  4. Dquery चलाने में लगने वाली disk I/O क्रियाएँ आँकनाTo estimate the disk I/O operations required for query execution

सही उत्तर / Answer: (C)

हल / Solution
कार्डिनैलिटी का अर्थ है पंक्तियों की गिनती। optimizer plan की हर क्रिया पर यह आँकता है कि उसमें से कितनी पंक्तियाँ निकलेंगी, इसलिए विकल्प 3 सही है। यह अंक आँकड़ों और histogram से आता है और नीचे से ऊपर चलता है: चुनाव की गिनती से join की गिनती बनती है। बाक़ी तीनों विकल्प संसाधनों का अंदाज़ा हैं, जो इसी गिनती के बाद निकलते हैं। गिनती बिगड़ी तो पूरा लागत अनुमान बिगड़ जाता है।
Cardinality simply means a row count. For every operation in the plan the optimizer estimates how many rows will come out of it, so option 3 is correct. The figure comes from statistics and histograms and flows upward: the row count of a selection feeds the row count of the join above it. The other three options are resource estimates derived afterwards. A bad row count spoils the whole cost estimate.
प्रश्न 9उत्तर + हल
भिन्न-भिन्न query evaluation plan की लागत आँकने के लिए query optimizer आम तौर पर कौन-सी तकनीक काम में लेता है?
Which of the following techniques is commonly used by the query optimizer to estimate the cost of different query evaluation plans?
  1. Aअनुभव-आधारित विश्लेषण (heuristic analysis)Heuristic analysis
  2. Bयादृच्छिक नमूना लेना (random sampling)Random sampling
  3. Cलागत-आधारित optimization (cost-based optimization)Cost-based optimization
  4. Dquery foldingQuery folding

सही उत्तर / Answer: (C)

हल / Solution
लागत-आधारित optimization में हर उम्मीदवार plan की लागत आँकड़ों से गिनी जाती है: table की पंक्तियाँ, खंडों की संख्या, index की ऊँचाई और histogram। फिर यही अंक आपस में तुलने पर सबसे सस्ता plan चुना जाता है, इसलिए विकल्प 3 सही है। अनुभव-आधारित विश्लेषण तय नियमों से plan चुनता है, लागत गिनता ही नहीं। नमूना लेना आँकड़े जमा करने का तरीक़ा है, और query folding expression सरल करने का क़दम है।
In cost-based optimization the cost of every candidate plan is computed from stored statistics: row counts, the number of blocks, index height and histograms. These numbers are then compared and the cheapest plan wins, so option 3 is correct. Heuristic analysis picks a plan from fixed rules without computing any cost. Random sampling is a way of gathering statistics, and query folding is a step that simplifies expressions.
प्रश्न 10उत्तर + हल
query evaluation plan परखते समय query optimizer का मुख्य लक्ष्य क्या होता है?
When evaluating query evaluation plans, what is the primary goal of the query optimizer?
  1. Aquery चलाने में लगने वाले CPU चक्रों की संख्या घटानाTo minimize the number of CPU cycles required for query execution
  2. Bquery चलाने में लगने वाली disk I/O क्रियाओं की संख्या घटानाTo minimize the number of disk I/O operations required for query execution
  3. Cquery चलते समय memory का इस्तेमाल घटानाTo minimize the memory usage during query execution
  4. Dलागत मॉडल (cost model) के हिसाब से query चलाने की कुल लागत घटानाTo minimize the total cost of query execution based on a cost model

सही उत्तर / Answer: (D)

हल / Solution
optimizer हर plan पर एक लागत मॉडल (cost model) लगाता है। वह मॉडल खंड पढ़ने, disk की खोज (seek), CPU और memory, सबको एक ही पैमाने में जोड़ देता है, और सबसे सस्ता कुल जोड़ वाला plan चुन लिया जाता है। इसलिए विकल्प 4 सही है। विकल्प 1, 2 और 3 उसी जोड़ के हिस्से हैं। अकेले किसी एक को घटाने पर दूसरा बढ़ सकता है, जैसे disk I/O बचाने के लिए बहुत memory लेना; इसीलिए लक्ष्य कुल लागत है।
The optimizer applies a cost model to every candidate plan. That model adds block transfers, disk seeks, CPU work and memory use into one common measure, and the plan with the smallest total is chosen. So option 4 is correct. Options 1, 2 and 3 are only components of that total. Cutting one alone can raise another, as when saving disk reads demands a large amount of memory, which is why the goal is total cost.
आगे के 20 प्रश्नों के उत्तर और हल app मेंFliQi Question Bank — अभ्यास, हल और आपकी प्रगति
App खोलिए
प्रश्न 11उत्तर app में
जिस query में कई join हों और छानने की शर्तें जटिल हों, उसके लिए आम तौर पर कौन-सा evaluation plan चुना जाता है?
Which of the following query evaluation plans is likely to be chosen for a query involving multiple joins and complex filtering conditions?
  1. Aनेस्टेड लूप join (nested loop join)Nested loop join
  2. Bहैश join (hash join)Hash join
  3. Cसॉर्ट-मर्ज join (sort-merge join)Sort-merge join
  4. Dइंडेक्स join (index join)Index join
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 12उत्तर app में
DBMS में query evaluation plan चुनते समय आम तौर पर किन बातों को देखा जाता है?
What factors are typically considered when choosing a query evaluation plan in a DBMS?
  1. Aचलने का समय, memory का इस्तेमाल और network bandwidthExecution time, memory usage, and network bandwidth
  2. BCPU की गति, database का आकार और बची हुई storageCPU speed, database size, and available storage
  3. CSQL की सजावट, comment की लंबाई और नाम रखने का तरीक़ाSQL text formatting, comment length, and identifier naming
  4. Dquery optimizer, query parser और query executorQuery optimizer, query parser, and query executor
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 13उत्तर app में
कौन-सा तुल्यता नियम कहता है कि कोई शर्त AND या OR से जुड़ी शर्तों में समा सकती है, बशर्ते वह उनमें से किसी एक को निहित करती हो?
Which of the following equivalence rules states that a condition can be absorbed into a conjunction or disjunction of conditions if it implies one of them?
  1. Aअपघटन (decomposition)Decomposition
  2. Bअवशोषण (absorption)Absorption
  3. Cसंक्रामकता (transitivity)Transitivity
  4. Dवितरण (distribution)Distribution
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 15उत्तर app में
कौन-सा तुल्यता नियम AND वाले expression को OR वाले में, या उलटे, बदलने देता है?
Which of the following equivalence rules allows the transformation of a conjunction into a disjunction or vice versa?
  1. Aवितरण (distribution)Distribution
  2. Bअवशोषण (absorption)Absorption
  3. Cक्रम-विनिमय (commutativity)Commutativity
  4. Dप्रतिस्थापन (substitution)Substitution
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 16उत्तर app में
तुल्यता नियमों में वह कौन-सा गुण है जो कहता है कि दो शर्तें तुल्य हों तो किसी expression में एक को दूसरी से बदला जा सकता है?
In equivalence rules, which property states that if two conditions are equivalent, then any expression containing one condition can be replaced by an expression containing the other condition?
  1. Aअपघटन (decomposition)Decomposition
  2. Bअवशोषण (absorption)Absorption
  3. Cसंक्रामकता (transitivity)Transitivity
  4. Dप्रतिस्थापन (substitution)Substitution
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 17उत्तर app में
कौन-सा तुल्यता नियम किसी शर्त को AND या OR से जुड़ी शर्तों पर बाँटने की छूट देता है?
Which equivalence rule allows the distribution of a condition over a conjunction or disjunction of conditions?
  1. Aअपघटन (decomposition)Decomposition
  2. Bअवशोषण (absorption)Absorption
  3. Cसंक्रामकता (transitivity)Transitivity
  4. Dवितरण (distribution)Distribution
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 19उत्तर app में
कौन-सा तुल्यता नियम (equivalence rule) दो शर्तों के AND का क्रम बदलने की छूट देता है, जबकि expression का अर्थ वही रहे?
Which equivalence rule allows the conjunction of two conditions to be swapped without changing the meaning of the expression?
  1. Aअपघटन (decomposition)Decomposition
  2. Bअवशोषण (absorption)Absorption
  3. Cसंक्रामकता (transitivity)Transitivity
  4. Dक्रम-विनिमय (commutativity)Commutativity
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 20उत्तर app में
Query optimization में query plan caching का मुख्य उद्देश्य क्या है?
What is the primary purpose of query plan caching in query optimization?
  1. Aएक जैसी query के लिए पहले बना plan दोबारा काम में लेनाTo reuse previously generated query plans for identical queries
  2. Bquery चलने का metadata जमा करनाTo store metadata about query execution
  3. Cquery के नतीजों की caching रणनीति सुधारनाTo optimize the caching strategy for query results
  4. Dपुनरावर्ती (recursive) query का प्रदर्शन सुधारनाTo improve the performance of recursive queries
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 21उत्तर app में
कौन-सी query optimization तकनीक IN वाली subquery को JOIN में बदल देती है?
Which of the following query optimization techniques involves converting an IN subquery into a JOIN?
  1. Asubquery को चपटा करना (subquery flattening)Subquery flattening
  2. Bsubquery का सहसंबंध हटाना (subquery uncorrelation)Subquery uncorrelation
  3. Csubquery रूपांतरण (subquery transformation)Subquery transformation
  4. Dsubquery को हटा देना (subquery elimination)Subquery elimination
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 22उत्तर app में
Query optimization में join elimination का उद्देश्य क्या है?
In query optimization, what is the purpose of join elimination?
  1. Aexecution plan से बेकार के join हटा देनाTo remove redundant joins from the query execution plan
  2. Bjoin को UNION क्रिया में बदल देनाTo convert join operations into UNION operations
  3. Cjoin को aggregate function में बदल देनाTo convert join operations into aggregate functions
  4. Dquery से join वाली शर्त (predicate) हटा देनाTo eliminate join predicates from the query
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 23उत्तर app में
Query optimization में predicate की selectivity (चयनात्मकता) आँकने के लिए कौन-सी तकनीक काम आती है?
Which of the following techniques is used in query optimization to estimate the selectivity of query predicates?
  1. Aलागत-आधारित optimization (cost-based optimization)Cost-based optimization
  2. Bहिस्टोग्राम बनाना (histogram construction)Histogram construction
  3. Cquery को दोबारा लिखना (query rewriting)Query rewriting
  4. Djoin का क्रम बदलना (join reordering)Join reordering
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 24उत्तर app में
Query optimization में query folding का मुख्य उद्देश्य क्या है?
What is the primary purpose of query folding in query optimization?
  1. Aquery से बेकार की subquery हटानाTo eliminate redundant subqueries from the query
  2. Bजटिल expression को मोड़कर सरल रूप में बदलनाTo fold complex expressions into simpler forms
  3. Ccorrelated subquery को non-correlated subquery में बदलनाTo rewrite correlated subqueries into non-correlated subqueries
  4. Daggregate function को query में जितनी जल्दी हो सके लगानाTo apply aggregate functions as early as possible in the query execution process
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 25उत्तर app में
Query optimization में query hinting (संकेत देना) का उद्देश्य क्या है?
In query optimization, what is the purpose of query hinting?
  1. Aquery optimizer को यह सुझाव देना कि query किस तरह चलाई जाएTo provide suggestions to the query optimizer on how to execute a query
  2. Bकिसी query के parsing और validation चरण को छोड़ देनाTo skip the parsing and validation stage of a query
  3. Cquery optimizer को कुछ optimization तकनीकों पर विचार करने से रोकनाTo prevent the query optimizer from considering certain optimization techniques
  4. Dquery चल जाने के बाद optimizer को प्रतिपुष्टि (feedback) देनाTo provide feedback to the query optimizer after query execution
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 26उत्तर app में
क्वेरी optimization में predicate elimination का उद्देश्य क्या है?
In query optimization, what is the purpose of predicate elimination?
  1. Aexecution plan से बेकार पड़ी शर्तें हटानाRemoving redundant predicates from the query execution plan
  2. Bशर्तों को जितना जल्दी हो सके जाँच लेनाEvaluating predicates as early as possible in the query execution process
  3. Cशर्तों को storage engine तक नीचे भेजनाPushing down predicates to the storage engine
  4. Dशर्तों को समान अर्थ वाले दूसरे रूप में लिखनाRewriting predicates using equivalent expressions
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 27उत्तर app में
कौन-सी optimization तकनीक correlated subquery को non-correlated रूप में बदल देती है?
Which of the following query optimization techniques involves transforming correlated subqueries into non-correlated subqueries?
  1. ASubquery uncorrelation
  2. BSubquery flattening
  3. CSubquery transformation
  4. DSubquery simplification
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 28उत्तर app में
क्वेरी optimization में index selection का मुख्य उद्देश्य क्या है?
What is the primary purpose of index selection in query optimization?
  1. Aदी गई क्वेरी के लिए सबसे उपयुक्त index चुननाTo select the most appropriate indexes for a given query
  2. Bक्वेरी में आए हर कॉलम पर index बनानाTo create indexes on all columns used in a query
  3. Cडेटाबेस से बेकार पड़े index हटानाTo remove redundant indexes from the database
  4. Dindex scan की गति सुधारनाTo optimize the performance of index scans
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 30उत्तर app में
निम्नलिखित में से कौन-सा काम query optimization का सामान्य चरण नहीं है?
Which of the following is NOT a typical step in query optimization?
  1. AParsing (व्याकरण विश्लेषण)Parsing
  2. BValidation (अर्थ की जाँच)Validation
  3. CCompilation (संकलन)Compilation
  4. DExecution (निष्पादन)Execution
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
Query Processing & Query Optimization के सभी 66 प्रश्न — उत्तर, हल और अभ्यास

FliQi Question Bank app में topic-वार अभ्यास, कठिनाई-स्तर और आपकी प्रगति।

  • पहला test मुफ़्त
  • हिंदी + English
  • जाँचे हुए उत्तर और हल

यह topic किन परीक्षाओं में आता है

Programmer DBMS के दूसरे topics

सभी topics