Professional Documents
Culture Documents
DATABASE
T.PRABAVATHI 20MA32
MASTER OF TECHNOLOGY
FEB 2021
1. Introduction……………………………………………………………………. 4
2. System Requirements..………………………………………………………... 8
2.2.1 MongoDb………………..…………………………………………………. 8
3. System Design…………………………………………………………….......... 11
6. Conclusion…………………………………………………………................... 17
ABSTRACT
An Personalization using document database is a distributed application that will be developed
to maintain the details of personal details working in any organization. It would maintain the
information about the personal details like resume, so that the human resource of the organization
can easily know the details of all its persons. It would be simple to understand and can be used by
anyone who is not even familiar with legacy personal system. It would be user friendly and just
ask the user to follow step by step operations by giving him few options. It would be fast and can
perform many operations of a company. This software package would be developed using the
powerful coding tools of MongoDb database at backend. For further enhancement or
development of the package, the user’s feedback will be considered.
CHAPTER 1
INTRODUCTION
• The first column is the Search key that contains a copy of the primary key or candidate
key of the table. These values are stored in sorted order so that the corresponding data can
be accessed.
Note: The data may or may not be stored in sorted order.
• The second column is the Data Reference or Pointer which contains a set of pointers
holding the address of the disk block where that particular key value can be found.
Nosql Database is a non-relational Data Management System, that does not require a fixed
schema. It avoids joins, and is easy to scale. The major purpose of using a Nosql database is for
distributed data stores with humongous data storage needs. Nosql is used for Big data and real-
time web apps. For example, companies like Twitter, Facebook and Google collect terabytes of
user data every single day.Nosql database stands for "Not Only SQL" or "Not SQL." Though a
better term would be "NoREL", Nosql caught on. Carl Strozz introduced the Nosql concept in
1998.Nosql Databases are mainly categorized into four types: Key-value pair, Column-oriented,
Graph-based and Document-oriented. Every category has its unique attributes and limitations.
None of the above-specified database is better to solve all the problems. Users should select the
database based on their product needs.
The idea behind document databases is that you can store any sort of information in a document.
That means you can mix and match whatever sort of data you want without really having to
worry about the database not being able to parse it. Of course, in practice, most document
databases still tend to use some form of schema with a file format and some kind of
predetermined structure.
Compared to an SQL database which is both tubular and relational, document store doesn’t have
the same foibles and restrictions that SQL does. This means it’s much easier to work with the
information at hand, and queries can be much easier to carry out. Ironically, the same sort of
actions you can perform in an SQL database, you can also perform in a document-store such as
deleting, adding, and querying.
As alluded to earlier, each document needs some sort of key, which is provided to it through a
unique ID. When the unique ID is provided in any process, the information in the document itself
is read and dealt with directly, rather than being taken out on a column by column basis.
One thing to be aware of when it comes to document databases (and NoSQL databases as a
whole), is that they tend to be slightly less secure than SQL databases. As such, you really need
to take into account database security, and one way to do that is using SAST. SAST, or Static
Application Security Testing, looks directly at source code to find vulnerabilities. You can also
run DAST, which is a dynamic version, and that can similarly help with avoiding NoSQL
injections.
⚫ Unlike in conventional databases where a field exists for each piece of information, even if
there's nothing in it, a document-store is more flexible. In fact, there’s no need for
consistency in the documents, and you can essentially store massive amounts of data with
relatively no issues.
⚫ Similarly, since it’s more flexible, integrating new data isn’t problematic at all. Compared to
a relational database where any new type of information must be added to all datasets,
document-store only requires you to do it in a few.
⚫ While the majority of document-store databases have been around for a while now, there still
isn’t much documentation outside of small niches and the database’s own wiki or forums.
This is compounded by the fact that there are so many document-store databases to pick
from, sometimes it can be hard to find specific information without deep dives.
⚫ Along with that, there is the possibility of a loss of data, either due to an incorrect
configuration because of a lack of familiarity, or because of the use of a single node. Another
issue is that document-stores are not really made for running multiple, complex operations or
complex queries.
⚫ Compared to SQL which is relatively well established and isn’t going to see much change,
NoSQL can be difficult to keep up with if you don’t have the passion or interest.
CHAPTER 2
SYSTEM REQUIREMENT
HARDWARE SPECIFICATIONS:
• RAM: 8 GB
• Capacity: 1 TB
2.2.1 MONGODB
MongoDB is a document-oriented NoSQL database used for high volume data storage.
Instead of using tables and rows as in the traditional relational databases, MongoDB makes use
of collections and documents. Documents consist of key-value pairs which are the basic unit of
data in MongoDB. Collections contain sets of documents and function which is the equivalent of
relational database tables. MongoDB is a database which came into light around
2.2.2 MongoDB Features
SYSTEM DESIGN
Personal(id,name,phone-no,address,date-of-birth)
School(name,percentage,year-of-passing)
College(name,percentage,year-of-passing)
Area-of-intrest(projects, subject-name)
Projects(project-title,year)
Sport-acitivity(sport-name,awards)
3.3 Table content
Person
School
College
Project
Tennis 1
Football 2
Area of interest
Find()
Table 2 :school
Table 3:college
Table 4:sports
Update()
The application has been completed successfully and was also tested successfully by taking “test
cases”.And easy to get the command and update the commands .It would be simple to
understand and can be used by anyone who is not even familiar with legacy personal system. It
would be user friendly and just ask the user to follow step by step operations by giving him few
options. It would be fast and can perform many operations of a company.