Professional Documents
Culture Documents
What Is Database Technology - 2023 Guide To Database Tech - Upwork
What Is Database Technology - 2023 Guide To Database Tech - Upwork
https://www.upwork.com/resources/data-base-technology 1/19
5/25/23, 1:22 PM What Is Database Technology? 2023 Guide to Database Tech | Upwork
Use the links below to quickly get to where you want to start:
https://www.upwork.com/resources/data-base-technology 2/19
5/25/23, 1:22 PM What Is Database Technology? 2023 Guide to Database Tech | Upwork
Relational databases and database management systems: Building 9 Best Web Developer
powerful data-driven websites Portfolio Examples
database technology
Spreadsheets process numbers and databases process information—
Popular Articles
https://www.upwork.com/resources/data-base-technology 3/19
5/25/23, 1:22 PM What Is Database Technology? 2023 Guide to Database Tech | Upwork
However, there are cases when relational databases might not be your
first choice. One case is when the rigid structure of the data in a relational
database does not fit the data that you want to store. For example, you
might want to store a JSON document without a specified schema. It
could, for example, be a configuration file or some form of user-generated
data. This is when NoSQL databases are useful. The data is usually
queried using an API or SDK instead of SQL, hence the name NoSQL.
These databases usually also provide very fast access to the stored data.
Instead of the database engine having to parse SQL and join together the
data you specified in your query, NoSQL databases are tuned to instantly
fetch the requested data through their API.
But a directory is just a flat, single-file database. When would you need
more complex databases with multiple tables that can interact with one
another? Let’s say you want a shipment status update on an order you
placed with an e-commerce site. That website has multi-file databases set
up for orders, dates, payments, shipment tracking, inventory, suppliers,
https://www.upwork.com/resources/data-base-technology 4/19
5/25/23, 1:22 PM What Is Database Technology? 2023 Guide to Database Tech | Upwork
Server-side scripting
https://www.upwork.com/resources/data-base-technology 5/19
5/25/23, 1:22 PM What Is Database Technology? 2023 Guide to Database Tech | Upwork
Query data
Edit data
Produce reports
Validate data points and check for inconsistencies
https://www.upwork.com/resources/data-base-technology 6/19
5/25/23, 1:22 PM What Is Database Technology? 2023 Guide to Database Tech | Upwork
Editing data can also be done using SQL. By executing a query, you can
create rows, update rows, and delete rows based on criteria that you
define. For example, if you want to update the shipping status of all orders
that were placed on a specific date, you could use the below query:
Designing the structure of the database is also done using SQL. The
structure of a relational database is made up of tables, columns, indices,
and constraints. A table stores data of a certain type, for instance, orders
in the e-commerce example above. Columns are the properties for the
entities in the table. A table that holds orders might have columns like
date, status, and customer_id. Indices optimize the way you can query the
data. For example, if orders are usually queried for by the customer_id,
you most likely want to define an index for the customer_id column.
Constraints are rules for the data stored in the columns. For example,
some columns might not be allowed to be left empty. For the orders
example, customer_id again might not be allowed to be empty so that we
make sure all orders are connected to a customer. Constraints are helpful
to make sure no invalid data is allowed to be stored in the database.
Retrieving data
https://www.upwork.com/resources/data-base-technology 7/19
5/25/23, 1:22 PM What Is Database Technology? 2023 Guide to Database Tech | Upwork
Creating views
Setting permissions
Note: When it comes to creating new databases from the ground up,
planning ahead is key. In the same way you need to plan ahead for the
future of your site when choosing a software stack, how your database is
structured from day one will have major implications for the health of your
site down the road. Questions to consider include:
https://www.upwork.com/resources/data-base-technology 8/19
5/25/23, 1:22 PM What Is Database Technology? 2023 Guide to Database Tech | Upwork
When you have decided on the information that you will store in your
database, it is time to define a data model or schema. This means you
translate the different kinds of information into tables and columns and
connect them to each other. The goal for the schema when you are
working with a relational database is to make sure no information is stored
twice in the database. Instead, one piece of information should be stored
in it's own table and referenced by other tables. One example of this is the
orders table that references the customers table using the customer_id
key.
https://www.upwork.com/resources/data-base-technology 9/19
5/25/23, 1:22 PM What Is Database Technology? 2023 Guide to Database Tech | Upwork
the kinds and amounts of data that we gather have exploded, the NoSQL
database has evolved to solve the challenges of Big Data. These
databases are non-relational and distributed. They deviate from the
traditional relational model, addressing the issue that most modern data
harvested from the web is not structured information. NoSQL lends
flexibility, scalability, and variety—major advantages from a business
standpoint, when you consider that growing data is a direct result of a
growing business.
In-memory databases
An in-memory database is one that uses memory for data storage instead
of on a disk or an SSD. The benefits of using this type of database include:
Log Sign
Fi d T l t Fi d W k Wh U k E t i S h Tl
https://www.upwork.com/resources/data-base-technology 10/19
5/25/23, 1:22 PM What Is Database Technology? 2023 Guide to Database Tech | Upwork
g Sign
Find Talent Find Work Why Upwork Enterprise Search Talent
Speed: In-memory databases don’t have to rely on disks or SSDs to In Up
retrieve data, so it’s much faster.
Resource Center Categories Additional ToolsTypically,
More cost-effective: in-memory
New? databases
Learn how are moreon
to start freelancing cost-
Upwork.
effective than their counterparts because you can increase storage
more easily and at a cheaper rate.
Table of Contents
Text Link Some disadvantages of using in-memory databases include:
Not a permanent data storage solution: You cannot expect the data Join the world's work
to be persisted over long periods of time. A solution to this is to marketplace
periodically persist the contents of the in-memory database to a
more permanent place, such as a disk. Find Talent
Find Work
The use cases for these types of databases are those that require
microsecond response times and see large spikes in traffic, such as real-
time applications and caching layers.
Scalability
https://www.upwork.com/resources/data-base-technology 11/19
5/25/23, 1:22 PM What Is Database Technology? 2023 Guide to Database Tech | Upwork
How much do you expect your data to grow (and how soon)?
Sharding
Related to horizontal scaling, sharding is a technique for storing massive
databases across multiple servers. It achieves this by splitting different
rows into different tables. For instance, a database of customer names
might store customers with last names starting with letters A through M
on one shard, while N through Z are stored on another. Sharding can help
minimize response times for queries while also allowing data to be stored
across a large number of cost-effective servers.
Replication
Replication is the process of frequent copying of data from one database
onto other databases on other servers. Using replication, you could, for
example, have one database instance that is used for writing data and one
https://www.upwork.com/resources/data-base-technology 12/19
5/25/23, 1:22 PM What Is Database Technology? 2023 Guide to Database Tech | Upwork
instance that is used for reading data. This can improve the response
times and capacity of your database significantly if your site needs real-
time access to update and synchronize data.
Latency
Latency refers to the time it takes for data to complete a “round trip”
between the database server and the application server. When an app
queries its database for data, this is how long it takes the server to return
that data. The lower the latency, the better, but low latency often comes at
a cost to other features, like consistency and availability.
A simple way to ensure that the latency is as low as possible between your
application and your database is to make sure your database server is as
close to your application server as possible. Another way is to investigate
how your application queries data in your database and optimize the
database schema accordingly by using indices, for example.
Consistency
When writing to a database, it’s important that changes to the data don’t
violate the rules of the database. Consistency ensures that transactions
don’t produce errors that can make the entire database invalid. A fully
consistent system means that as soon you successfully write a record to a
database, you’ll also be able to request it. This is especially important for
things like financial transactions. Consistency comes at a cost to speed
and availability, however. That’s why many NoSQL databases opt for an
eventually consistent model that allows for faster reading and writing.
Availability
Availability refers to whether the system is able to quickly respond to a
request, even when failures occur. For example, you could set up a
secondary database instance that is periodically synced with your
https://www.upwork.com/resources/data-base-technology 13/19
5/25/23, 1:22 PM What Is Database Technology? 2023 Guide to Database Tech | Upwork
primary instance. This second instance could then be used as the primary
instance should it go down. The downside of this is that databases that
are spread across multiple servers can result in out-of-date or incorrect
data being displayed, especially in an eventually consistent system.
Depending on your business needs, however, slightly out-of-date data
may be preferable to delays that prevent the whole system from
functioning.
Fault-tolerance
Failures are inevitable, but there are plenty of contingency plans you can
put into place to ensure that data is still available and your app doesn’t
crash. Having “no single point of failure” ensures that an app can keep
functioning without interruption, usually through replication or
redundancy. Databases do this differently, with varying degrees of cost
and footprint.
Cloud databases
https://www.upwork.com/resources/data-base-technology 14/19
5/25/23, 1:22 PM What Is Database Technology? 2023 Guide to Database Tech | Upwork
Database automation
Database automation refers to different processes and tools used to
make administrative tasks of a database more efficient. Instead of
manually creating backups, scaling infrastructure, and updating the
schema, there are many different tools to automate these types of tasks.
Most cloud hosting providers include automation tools in their offerings.
In practice, this could mean rethinking how you scale your data storage.
For instance, your business could scale up and buy more physical storage.
You can also choose to scale horizontally, meaning you add more memory
instead of physical storage.
During the last few years, many new tools for database security have
emerged. For example, many businesses rely on encryption provided by
large cloud providers to help protect their data. There are also more
traditional ways you can approach protecting your data, like limiting how
many people have access to your data.
Next steps
Now that you’ve got an overview of database technology, who do you
need to help you build and maintain your database systems? Relational
and non-relational database management systems can get extremely
complicated and definitely require upkeep.
https://www.upwork.com/resources/data-base-technology 16/19
5/25/23, 1:22 PM What Is Database Technology? 2023 Guide to Database Tech | Upwork
Author Spotlight
Latest articles The Upwork Team
Upwork is the world’s work marketplace connecting millions
of businesses with independent talent around the globe. We
serve everyone from one-person startups to 30% of the
Fortune 100 with a powerful trust-driven platform that
enables companies and freelancers to work together in new
ways that unlock their potential.
https://www.upwork.com/resources/data-base-technology 17/19
5/25/23, 1:22 PM What Is Database Technology? 2023 Guide to Database Tech | Upwork
https://www.upwork.com/resources/data-base-technology 18/19
5/25/23, 1:22 PM What Is Database Technology? 2023 Guide to Database Tech | Upwork
https://www.upwork.com/resources/data-base-technology 19/19