Mysql Vs Mongo

Great Essays
Homework - MySQL & MongoDB
Write a 5-page paper to compare MySQL and Mongo with regards to how queries are prepared and executed, and the reasons why. Include a section to compare and contrast the two technologies with regards to how they foster data integrity, performance and security.
In the ever-changing world of technology, there have been many clear advancements in the space of databases. Two very common databases are MySQL and MongoDB. They are similar in many ways and also very different in how they deal with data. We will look at how they execute read queries and see what those similarities and differences are.

Part 1: How a MySQL query is prepared and executed.
For us to understand how a SQL database differs in running queries we
…show more content…
Data that belongs to a parent-child relationship in two RDBMS tables would commonly be collapsed (embedded) into a single document in MongoDB. The complete document can be assessed with a single call to the database, rather than having to JOIN multiple tables to respond to a query. The Querying the MongoDB is a 2 steps process. Step one is the planning phase, which decides the best way to execute the query. Step two is the execution phase, which will look through indexes to find results. The steps will be explained further …show more content…
While it’s true that MongoDB is not susceptible to SQL language abuses, its JSON documents can still be altered to achieve the same malicious results. Furthermore, MongoDB has had its own share of vulnerabilities—for example, a recently discovered widespread vulnerability gives hackers the ability to remotely crash the database application. Additionally, perusing the Common Vulnerabilities and Exposures (CVE) database reveals a host of security exposures and vulnerabilities for MongoDB. Like other NoSQL databases, MongoDB has suffered security shortcomings for years. When MySQL and other relational databases tend to use some form of authorization, MongoDB databases are exposed to the Internet and do not require credentials immediately by default. In the face of these waves of attacks aimed at hijacking MongoDB instances, Andreas Nilsson, Director of Product Security at MongoDB has published a post in which he explains to administrators how to avoid this type of attack. "These attacks can be avoided thanks to the numerous security protections built into MongoDB. You have to use these features properly and our security documentation will help you do that", he says. For example, he recalls that the latest version of MongoDB 3.4 allows you to configure authentication on an unprotected system without incurring downtime. The MongoDB Atlas hosted database service provides several levels of security for

Related Documents

  • Improved Essays

    Beneath Clouds

    • 919 Words
    • 4 Pages

    Q. Compare and contrast how effectively the two texts you have studied address key ideas which they have in common A protagonist’s journey to escape the boundaries of the identity assigned to them as indigenous people is the central feature of both "The absolutely true diary of a part-time indian” (2008) by Sherman Alexie and "Beneath clouds" (2002) by Ivan Sen. Context is essential in order to understand the challenges the characters have to overcome in order to fulfil their pursuits. The manner in which these thematic concerns are conveyed differ among the two texts with “Beneath Clouds” utilising cinematic techniques while “Part-time indian” employs literary features. However visual imagery is essential in the portrayal of key ideas in both…

    • 919 Words
    • 4 Pages
    Improved Essays
  • Decent Essays

    T.-C. L. IUON-CHANG LIN, A Survey of Blockchain Security Issues and Challenges, International Journal of Network Security, 19 (2017), pp. 653-659) 2.2 Structure of Block chain: Main Data: On basis of which type of area the blockchain technology is implemented, such as, transactions recorded in bank, clearing records if banking sector, contract records if business sector or Real estate sector and IOT Data records[5]. Hash Of current Block: When data is stored on the block, Blockchain uses merkle tree function to generate the hash value of that block.…

    • 625 Words
    • 3 Pages
    Decent Essays
  • Improved Essays

    Task 9 For this task I must compare the usefulness of maintaining a database with MySQL compared with if I were to use the query language (QBE). For this task I will need to evaluate the advantages for both the languages, as well as the disadvantages, to find a conclusion which is evenly presented for both of the languages. Advantages and Disadvantages Although the two languages interlink in many different ways they have many different features that must be noticed by the user before the use of either, these two tables show the brief comparisons that should be made before using either of the two languages. MySQL Advantages Disadvantages Point How it affects the user Point How it affects the user…

    • 1173 Words
    • 5 Pages
    Improved Essays
  • Decent Essays

    Gun Control APSU 1000 – Transition to the University Library Assignment: Career Research Paper This assignment will allow you to explore a career or field of your choice, while at the same time learning how to use the Woodward Library. You will research a career, write about what you discover, and compile a bibliography of the sources you used. The librarian for your course may provide you with a folder for this assignment that you can use to keep your sources organized. Follow the steps below to begin.…

    • 997 Words
    • 4 Pages
    Decent Essays
  • Decent Essays

    Mongodb Case Study

    • 253 Words
    • 2 Pages

    Caution No blank lines is allowed in the MongoDB Script Sampler. If there is a blank line after MongoDB statement, the statement will still be executed but the word “ok” will be displayed in the response. Add new document into the collection Step 1 Change the “Script” area of the MongoDB Script sampler with insert query. In this case, the query of adding document into the collection is shown as follows: db.getCollection('zips').insert({"city" : "BABYLON", "loc" : [ 32.211100, 44.251500 ], "pop" : 300000, "state" : "IS" })…

    • 253 Words
    • 2 Pages
    Decent Essays
  • Decent Essays

    Ethos Pathos Logos

    • 490 Words
    • 2 Pages

    Ethos, Pathos, And Logos Walk into a bar… - James an ordinary man went to Albert’s bar just for a few drinks to ease off the horrible day he was having. When he got to the bar he sat down and asked for a Grape Escape. A Grape Escape is made out of UV Grape Vodka, sour mix, and a slash of raspberry berry liqueur served over ice in a low ball glass. After James got his Grape Escape he noticed a drunk woman close by where he was sitting. She was crying and looked unhappy.…

    • 490 Words
    • 2 Pages
    Decent Essays
  • Improved Essays

    The few main differences I have found are installation methods, pricing, and the way the programs are updated. Below you will see an analysis of these systems and what it has to offer for the veterinarian professional…

    • 1470 Words
    • 6 Pages
    Improved Essays
  • Improved Essays

    Unit 7 D2

    • 693 Words
    • 3 Pages

    Describe the functions of database technology, the differences between centralized and Distributed database architecture, how data quality impacts performance, and the role of A master reference file in creating accurate and consistent data across the enterprise. In Chapter three, Turban discusses four types of database technologies: 1. Databases -store data gathered from business applications, transaction processing systems, and sensors.…

    • 693 Words
    • 3 Pages
    Improved Essays
  • Decent Essays

    Research Paper Topic The topic of my research paper will be about the new forensic evidence that turned up in the Elizabeth short case aka the black dahlia, I believe this will either make or break the entire case. It could also bring about a close to this cold case that has unsolved for 68 years; just as long as it has been if not longer since the last world war which in my deepest of opinions is way too long. This evidence was discovered back in 2013 by hodel whom is the son of the man who he has convinced himself was the one who had murdered her. He believes very firmly that he has solved the crime of her death and he is noted as writing some of the best books on theories of how she was murdered and why.…

    • 249 Words
    • 1 Pages
    Decent Essays
  • Decent Essays

    End-Of-Chapter Quiz

    • 680 Words
    • 3 Pages

    Correct answer Query An organized collection of data related to a particular topic or purpose. Correct answer Database Facts about people, events, things, or ideas.…

    • 680 Words
    • 3 Pages
    Decent Essays
  • Improved Essays

    There are lots of differences including how instead of trying to…

    • 812 Words
    • 4 Pages
    Improved Essays
  • Improved Essays

    The writing expected from college courses is one that most are unfamiliar with. Although students learn basic English skills throughout grade school and up to high school, most of the advanced steps are forgotten by the time the student is to enter college. Paired with this, are the nontraditional students, who haven’t studied advanced academic language for long periods of time. Professors are expecting students of all kinds of study to have a high academic vocabulary and high writing skill. Often times a gap in remedial writing courses within the first semester or so.…

    • 605 Words
    • 3 Pages
    Improved Essays
  • Improved Essays

    W3 – Argument Synthesis The Film Noah Vs. The Actual Bible Story of Noah Hollywood has always stretched the truth or should I say run with there imaginations when it comes to true stories. You can especially see this in the making of two movies based on two very real biblical stories, Noah and Moses.…

    • 752 Words
    • 4 Pages
    Improved Essays
  • Improved Essays

    The gradual transformation in data quantity has resulted in emergence of the Big data and immense datasets that need to be stored. Traditional relational databases are facing many difficulties meeting the requirements of the volume and heterogeneity structure of big data. NoSQL databases are designed with a novel data management system that can handle and process huge volumes of data. NOSQL systems provide horizontal scalability by supporting horizontal data partitioning across heterogeneous nodes. In this paper, a MapReduce Rendezvous Hashing Based Virtual Hierarchies (MR-RHVH) framework is proposed for scalable partitioning of Cassandra NoSQL databases.…

    • 2262 Words
    • 10 Pages
    Improved Essays
  • Improved Essays

    Many students come across a unique type of paper, referred fondly to as a “research paper.” They provide both the writer and reader with benefits. The writer achieves a through understanding of the subject as well as n intellectual opinion on the subject. Writers forge this “opinion” in the fires of deep research. In addition to the benefits, the writer has the satisfaction to know that his argument is supported rather than educated guesses.…

    • 1390 Words
    • 6 Pages
    Improved Essays