Loading...

Messages

Proposals

Stuck in your homework and missing deadline? Get urgent help in $10/Page with 24 hours deadline

Get Urgent Writing Help In Your Essays, Assignments, Homeworks, Dissertation, Thesis Or Coursework & Achieve A+ Grades.

Privacy Guaranteed - 100% Plagiarism Free Writing - Free Turnitin Report - Professional And Experienced Writers - 24/7 Online Support

Discussion 25

10/08/2020 Client: srauf1975 Deadline: 7 Days

Instructions


post 1 thread of at least 400 words and 2 replies of at least 200 words  each. For each thread, you must support your assertions with at least 4  citations in current APA format. Each reply must incorporate at least 2  citations. Acceptable sources include peer-reviewed journal articles,  books, the course textbook, and the Bible.




Thread: Select 1 topic from among the 6 listed below, and in at least 400 words, write a post that explains your chosen topic.


Additional resources are listed in the Reading & Study folder of this Module/Week.


1.  Query Optimizer Overview


              Query Optimization Steps


              *Be sure to address the question “What are the algorithm categories?”


2. Algorithms Introduction


              External Sort/Merge


              *Be sure to explain how the merge/sort algorithm works.


3.   Select Algorithms - Simple


              *Be sure to discuss Algorithms S1-S7.


4. Select Algorithms - Complex


*Be sure to discuss Algorithms S8-S11.


5.  Join Operation Algorithms


              *Be sure to explain Algorithms J1-J5


6.  Optimization Techniques


              *Be sure to discuss Cost vs. Heuristic based optimization






Replies: Reply to each thread of at least 200 words each.




Reply #1


 


When  dealing with databases, an administrator will sometimes be handling  incomprehensible amounts of data.  Even for smaller sets of data, query  optimization is an essential part of creating a high-performance solution.  Query optimization with databases can be defined as constructing a query that “can be sped up through many different means, each of which has an associated time and resource cost” (SQL Shack, 2020).  Across every use of a database system, optimization can deliver the organization with valuable gains in performance and save resources. 




The process of query optimization can be broken into various steps.  First, the query optimizer will parse the command to check for syntax errors, and then the optimizer checks all objects for binding and results in a query tree.  This leads to an execution plan for the optimizer.  This is viewable for queries in most SQL database tools, and this execution plan can be a valuable tool for administrators to check when they notice query is running slowly (Wenzel, 2018).  The query optimizer in turn uses algorithms to evaluate these execution plans. 




There are various execution (or “access”) plans based on different algorithms, but regardless, the query optimizer uses this information to evaluate the best path to take to perform the specific query.  “Each  operation in an access plan has a corresponding cost formula that  estimates the physical record accesses and CPU operations” (Mannino, 2014, p. 273).   These cost formulas are the key to query optimization.  Once the best  choice is determined, the query optimizer translates the query into  machine code for execution, or the optimizer may interpret the code at runtime. The optimizer can also use other tricks, such as caching successful execution plans for speed increases. 




The power of the query optimizer comes from the algorithms it uses.  There are a few broad categories of algorithms used by a query optimizer.  These might be used by the query optimizer, or the algorithm categories might include algorithms to conduct functions on the data sought out through the query.  For example, some algorithm categories include searching, conversion, data mining, averaging, ranking, counting, analytic, and modelling algorithms (Maurya, 2019).  To provide a specific example, consider some of the common join algorithms (which are some of the most common frequently used algorithms) include nested loops, sort merge, hybrid join, hash join, star join (Mannino, 2014, p. 274).  The details of all these algorithms are out of scope, but more details can be found in the textbook. 




The  process of query optimization is both a theoretical process and a  physical process within database management systems.  It helps database administrators ensure that they are able to deliver data performance that satisfies a need.  The key to physical query optimization is the query optimizer, and it utilizes important algorithms to determine what “performance” means in a given query. 




#Reply #2


When it comes to creating and executing a successful database, it is  important to ensure that there are great ways to access and implement  that data as well. This is why many database management systems employ a  query optimizer in order to retrieve the information that they desire  in the most simple and cost-effective way possible. The optimization of a  query is a process by which many companies design their database in  order to retrieve information by taking into account the cost of the  optimization as well as the space required to do so. (Ribeiro et al,  1997) In order to access the information that has been optimized, we  need to use optimization techniques that have been implemented in place  to assist in retrieving the information that we seek to gather. Our  textbook discusses a few optimization techniques in regard to Relational  On Line Analytic Processing, or ROLAP. ROLAP is an extension of  database management systems that are used to support multidimensional  data as well as supporting a variety of optimization techniques. One  such technique is that of “bitmap join indexes”. A bitmap join index  will provide a precomputed join of columns and rows of dimension and  facts tables. (Mannino, 2015)


Another such technique is a “star join” query optimization. This  type of optimization technique will use the bitmap join indexes in three  phases to produce results. Star joins will combine results from the  bitmap indexes on each of the three phases and are able to exponentially  shorten execution times in comparison to older join commands that only  would combine two tables. “Query rewriting” that uses materialized views  is a technique that cuts back on the need to access large tables by  using such views as indexes to greatly increase the performance to  retrieve them for the user. Using query writing will take into account  whether or not a user will benefit from the use of a materialized view  or the large “fact and dimension” tables. (Mannino, 2015)


Oracle DBMS provides some other optimization techniques such as  Bulk collect, Forall, and Returning. The Bulk collect technique helps to  improve performance by sending the whole collection of the query to the  database server instead of each individual piece. Forall allows many  different write statements to be offered to the database in a single  message which aids a user in performance gains. Lastly, the Returning  technique saves time by giving the user information on whether or not  their code has been implemented and saved to the server. This technique  can replace using a “select” statement to find out if your information  was processed successfully. (Almeida et al, 2019) In relation to cost versus heuristic optimization, within their article, Niu et. al.  found that, although cost optimization finds the most cost-effective  way to process data requests and heuristic follows a set of rules, data  from their tests ran found great progressive results using either  measure. Their findings seemed to point to greater efficiency and  performance improvement for both techniques. (Niu et al, 2018)

Homework is Completed By:

Writer Writer Name Amount Client Comments & Rating
Instant Homework Helper

ONLINE

Instant Homework Helper

$36

She helped me in last minute in a very reasonable price. She is a lifesaver, I got A+ grade in my homework, I will surely hire her again for my next assignments, Thumbs Up!

Order & Get This Solution Within 3 Hours in $25/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 3 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 6 Hours in $20/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 6 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 12 Hours in $15/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 12 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

6 writers have sent their proposals to do this homework:

Academic Master
Engineering Guru
Essay Writing Help
Top Grade Tutor
Writer Writer Name Offer Chat
Academic Master

ONLINE

Academic Master

I have super grip on essays, case studies, reports and discussion posts. I am working on this forum from last 6 years with full amount of satisfaction of my clients.

$60 Chat With Writer
Engineering Guru

ONLINE

Engineering Guru

Hello, I have more than 10 years of writing experience. I can manage essays, summaries, reports and analysis works in very short period of time. I produce plagiarism free content for my clients, will send you FREE TURNITIN Reports as well. Thank you.

$80 Chat With Writer
Essay Writing Help

ONLINE

Essay Writing Help

I can provide plagiarism-free work for you within your given deadline. My professional writing career started around 5 years back with a local writing company in my city where I have produced 1000+ documents for my clients.

$55 Chat With Writer
Top Grade Tutor

ONLINE

Top Grade Tutor

I can provide you with a guarantee of plagiarism free work. I am producing quality content for my clients including ARTICLE WRITING, ESSAY WRITING, RESEARCH PAPERS, BUSINESS PLAN, TECHNICAL WRITING, MATLAB, THESIS & DISSERTATIONS.

$75 Chat With Writer

Let our expert academic writers to help you in achieving a+ grades in your homework, assignment, quiz or exam.

Similar Homework Questions

Nursing - Payne v cave 1789 case summary - Do we not bleed mehr tarar - Vending machine program in python - Triage assessment form for crisis intervention - Clients3 google comhttp generate 204 - Square root of 352 - A+ computer science interfaces worksheet 1 answers - South thames foundation school - 2 pole motor speed 50hz - INTERNATIONAL HUMAN RESOURCE MANAGEMENT - Thomas l floyd digital fundamentals 11th edition solutions - Spiral spring experiment in physics - Changing the subject of a formula - What is emotive writing - Policy - Script2 - Followership and servant leadership compare and contrast army - Over the shoulder shot definition - Hhmi virus explorer worksheet answer key - Annotated Outline - They say i say questions - My virtual office juice plus - Ethical issues in health professional - Nrc value of materials - Chapter 13 case scanner project - Protected in class diagram - WEEK 6 DISCUSSION - Week-07 Discussion - Agl com au nswseniors - Interesting facts about s.e hinton - Globalization - Caplan and holland health promotion model 1990 - El gusto es mio igualmente - Please choose a company from this list: Yahoo, LinkedIn, Dubsmash, Equifax, eBay, Adobe. Based upon the information you can find on the company and any past issues/breaches the company has gone through, create Crisis Management Plan. - Prast v town of cottesloe - Additional funds needed problems and solutions - Threat modeling card game - Super's 5 stages of career development - Raa aircraft for sale - The barrier to entry that sustains a natural monopoly is - Principles of the ndis - Communicating at work 11th edition pdf download - Nick bottom character traits - Volume of solids worksheet answer key - Qut 24 hour library - 10 digit grid coordinate example - Maribyrnong council planning scheme - Creating Value - Elements of a letter - Choate prep school pronunciation - Alarm clock radio kw121 instructions - Soft and hard capital rationing - Exigence of letter from birmingham jail - List of testable questions - What is an annotated outline - A article in the economist noted that - Reflection - Intervals - Case study steve jobs - Neonatal abstinence syndrome nursing diagnosis - Gre biology practice test - The hedgehog and the fox pdf - Case 2 537 - What is maintenance organisation exposition - Tata steel rights issue - Cloud computing operating system - Applied statistics for public and nonprofit administration 7th edition - WEEK 9 discussion 2 responses to two colleagues SOCW 6443 - Introduction to Medical Informatics - Workers and their rights in their work places - University of phoenix mth 217 - Csa standard z662 99 - SOC paper - Peer Discussions - In shunt generator interpole winding carries - Shorthand symbol for because - English composition - Jollibee australia sydney - Lady macduff scene macbeth - Project Human Resources and Communications Management Assignment - Cisco unified workforce optimization - Kalie desimone pensacola - See judge act process - Is a hawk a decomposer - How to run phet simulations on windows - Metal oxide varistor application - Fin 571 financial ratio analysis - How to calculate cost minimizing input mix - Lego com productfeedback lego friends - The blind side movie viewing guide - Usda forest service jobs oregon - Https www mindtools com pages article newldr_84 htm - How is windows registry organized - Dr phoon chiu yong - Healthcare Strategies - CJUS 420 DB FORUM 3 2 replies due 9/14/2020 - Cape physics unit 2 notes - Swimming lessons bracken ridge - Receptor Activity and Receptor Superfamilies