Instructions
Write a reply of at least 200 words for each thread below. Each reply must incorporate at least 2 citations.
Thread Reply 1
Algorithms Introduction
There are many different aspects to database organization, function, and optimization that make each database unique. Algorithm complexity and style can defer depending on a few factors. Complexity, quantity, and requirements all can play a pivotal role and what algorithm, or system could be used. Understanding algorithms at an introductory level is an essential aspect of understanding and executing database functions. “Techniques for performing an external merge sort are often used to sort data managed by a distributed processing device that processes large-scale data” (External, 2015). This method is also most when the data is constantly increasing, but the system only has a certain capacity of memory to process that large amount of data. Furthermore, a merge sort algorithm is one of the most common. The merge sort function is just a general sorting algorithm that arranges certain elements of the database in a predetermined manner. Furthermore, merge sort breaks down aspects of the information into subcategories and characteristics. According to an article published by Runestone Academy, “Merge sort is a recursive algorithm that continually splits a list in half…. If the list has more than one item, we split the list and recursively invoke a merge sort on both halves” (Merge). The merge sort method is also simply known as the “divide and conquer” method. The algorithm “divides by finding the midpoint and conquers by recursively sorting subarrays” (Khan). Also, the worst case of the merge sort is O(n*log(n)), whereas the best case is O(n) (Sorting). The merge sort algorithm function is to split the data into smaller groups by halving the groups each time. Then the groups will continue this process until each group only has one element or no elements, and the result is uniquely sorted groups (Sorting). Lastly, the groups are merged back together in an order that places their elements in proper arrangements. The merge sort algorithm works efficiently and effectively for most users needs.
Thread Reply 2
Query Optimizer Overview
According to oracle.com query optimization is the overall process of choosing the most efficient means of executing a SQL statement. In the article it also gave us an example on when one would be using this optimizer. They gave us an instance when looking for information regarding employees in a database. If there was a query that would ask for employees that are managers, and the statistics say that 80 percent of the employees are managers, then a full table scan would be most effective in that scenario. However, when the statistics are saying that very few employees are managers, then reading an index with a table access by the row ID would be much more efficient than a full scan of the entire table. The query optimizer does these things to make it more efficient. With this, there are multiple algorithm categories for a query optimizer. According to emory.edu there are four steps in query optimization. The first step is to convert the SQL query into a query parse tree. This is essentially an outline of what the user’s query would be, statements like SELECT, FROM, and WHERE. The second step is to make that parse tree into an initial logical plan to see what query the user would like to initiate. The third step is to transform that initial query plan into an optimal query plan which makes what the user has searched to be more specific towards what the user is trying to find. Finally, the last step is to select the algorithm for each operator in the query plan that will output what the user has asked for. There are two main algorithm categories according to emory.edu. The two categories are the logical query plan and the physical query plan. The logical query plan is optimal for relational algebra operations, while the physical query plan is optimal for relational algebra algorithms. The difference between these two are that logical operators are used to describe the relational operation to process a statement while physical operators implement the operation given by the logical operators. And by definition as stated earlier an algorithm is a set of instructions and an operation is more of a particular method. This is just a very basic explanation of what a query optimizer is and what are it’s functions.
Write a reply of at least 200 words for each thread below.
Struggling With a Similar Paper? Get Reliable Help Now.
Delivered on time. Plagiarism-free. Good Grades.
What is this?
It’s a homework service designed by a team of 23 writers based in Carlsbad, CA with one specific goal – to help students just like you complete their assignments on time and get good grades!
Why do you do it?
Because getting a degree is hard these days! With many students being forced to juggle between demanding careers, family life and a rigorous academic schedule. Having a helping hand from time to time goes a long way in making sure you get to the finish line with your sanity intact!
How does it work?
You have an assignment you need help with. Instead of struggling on this alone, you give us your assignment instructions, we select a team of 2 writers to work on your paper, after it’s done we send it to you via email.
What kind of writer will work on my paper?
Our support team will assign your paper to a team of 2 writers with a background in your degree – For example, if you have a nursing paper we will select a team with a nursing background. The main writer will handle the research and writing part while the second writer will proof the paper for grammar, formatting & referencing mistakes if any.
Our team is comprised of native English speakers working exclusively from the United States.
Will the paper be original?
Yes! It will be just as if you wrote the paper yourself! Completely original, written from your scratch following your specific instructions.
Is it free?
No, it’s a paid service. You pay for someone to work on your assignment for you.
Is it legit? Can I trust you?
Completely legit, backed by an iron-clad money back guarantee. We’ve been doing this since 2007 – helping students like you get through college.
Will you deliver it on time?
Absolutely! We understand you have a really tight deadline and you need this delivered a few hours before your deadline so you can look at it before turning it in.
Can you get me a good grade? It’s my final project and I need a good grade.
Yes! We only pick projects where we are sure we’ll deliver good grades.
What do you need to get started on my paper?
* The full assignment instructions as they appear on your school account.
* If a Grading Rubric is present, make sure to attach it.
* Include any special announcements or emails you might have gotten from your Professor pertaining to this assignment.
* Any templates or additional files required to complete the assignment.
How do I place an order?
You can do so through our custom order page here or you can talk to our live chat team and they’ll guide you on how to do this.
How will I receive my paper?
We will send it to your email. Please make sure to provide us with your best email – we’ll be using this to communicate to you throughout the whole process.
Getting Your Paper Today is as Simple as ABC
No more missed deadlines! No more late points deductions!
You give us your assignments instructions via email or through our order page.
Our support team selects a qualified writing team of 2 writers for you.
In under 5 minutes after you place your order, research & writing begins.
Complete paper is delivered to your email before your deadline is up.
Want A Good Grade?
Get a professional writer who has worked on a similar assignment to do this paper for you