• Home
  • Insight
  • Blog
  • Business
  • Entertainment
  • Health
  • Politics
  • Shop
    • Gift Shop
    • Value Shop
    • Store
    • Bargain Shop
    • Discount
  • Sports
  • Tech
  • Travel
  • USA
  • Video
  • World
    • Asia
    • Africa
    • South America
    • North America
    • Europe
    • Oceania
Sunday, September 13, 2026
No Result
View All Result
Subscribe Now
  • Home
  • Insight
  • Blog
  • Business
  • Entertainment
  • Health
  • Politics
  • Shop
    • Gift Shop
    • Value Shop
    • Store
    • Bargain Shop
    • Discount
  • Sports
  • Tech
  • Travel
  • USA

    ‘Matrix’ Director Lilly Wachowski Accuses ‘Harry Potter’ Fans of ‘Supporting Trans Genocide,’ Praises ‘Ally’ Christopher Nolan

    Nolan McLean’s rare clunker sinks Mets in Subway Series loss

    How schools teach 9/11 to students born after the attacks, 25 years on

    Lawsuit claims DHS is systematically intimidating ICE observers : NPR

    Teen rescued after Alaska fishing boat capsizes, 2 other boaters found dead

    Cops Are Using Flock to Spy on People for the Crime of Standing Around

    Trump bans Canadian products from U.S government contracts

    What we forget when we remember 9/11

    Canada’s retaliatory tariffs set to hit US products as Trump warns of escalation

  • Video
  • World
    • Asia
    • Africa
    • South America
    • North America
    • Europe
    • Oceania
The Insight Post
  • Home
  • Insight
  • Blog
  • Business
  • Entertainment
  • Health
  • Politics
  • Shop
    • Gift Shop
    • Value Shop
    • Store
    • Bargain Shop
    • Discount
  • Sports
  • Tech
  • Travel
  • USA

    ‘Matrix’ Director Lilly Wachowski Accuses ‘Harry Potter’ Fans of ‘Supporting Trans Genocide,’ Praises ‘Ally’ Christopher Nolan

    Nolan McLean’s rare clunker sinks Mets in Subway Series loss

    How schools teach 9/11 to students born after the attacks, 25 years on

    Lawsuit claims DHS is systematically intimidating ICE observers : NPR

    Teen rescued after Alaska fishing boat capsizes, 2 other boaters found dead

    Cops Are Using Flock to Spy on People for the Crime of Standing Around

    Trump bans Canadian products from U.S government contracts

    What we forget when we remember 9/11

    Canada’s retaliatory tariffs set to hit US products as Trump warns of escalation

  • Video
  • World
    • Asia
    • Africa
    • South America
    • North America
    • Europe
    • Oceania
No Result
View All Result
No Result
View All Result
Home Tech

Why database design choices matter to developers

by Theinsightpost
July 26, 2022
in Tech
0 0
0
Why database design choices matter to developers


Software developers today have more options open to them. They have tools and services that can help them build new applications quickly, then launch those services to customers globally, and then scale them up to meet growing demand. Microservices architectures and agile development put the emphasis on moving faster and spinning up new services whenever customer needs and business needs have to be met.

This also applies to data. Developers must support the data that their applications create, and this means implementing a database. Choosing the right design can make all the difference to the application; it helps ensure that the application will be available, performant, and scalable over time. However, developers don’t want to have to implement and manage databases themselves. That’s why the majority of companies—90 percent, according to IDC—are in the midst of moving their databases and data workloads to the cloud.

For these companies, there are multiple different options available. These include managed services, cloud-based database installs, and database-as-a-service (DBaaS) offerings. These services all promise that they will ease the data management burden and help developers meet their goals of shipping new applications and application updates faster. Phrases like “schemaless” and ”fully managed” can make it seem that databases can be handed over, lulling developers into a sense of complacency.

In reality, developers are just as responsible for cloud infrastructure as they’ve been for traditional on-prem systems, particularly when it comes to design choices and how to implement the database. This includes not simply trusting that the default settings of DBaaS products are right for their applications.

Choosing the right database

Developers and application architects therefore have to look at the long-term future for their application projects, and make sure they understand the basic requirements that these projects will have. The first question is which database design to use for the project.

There are so many database options available today, the choices quickly become overwhelming. The DB-Engines Ranking lists 359 different databases, for example, so there is plenty of temptation to use a database that you already know, or one that makes extensive promises on what it will deliver. If you have implemented MongoDB, say, then why not use that same database for your next project?

However, there is no guarantee that what worked for one application will work for another. There are databases and data management approaches that are more suitable for specific use cases, such as graph and time-series databases, and there are others that may be better fits depending on the programming language or software development resources that will be used. While it is possible to force an unsuitable database deployment to fit a use case, the wrong choice can seriously curtail performance and increase costs.

To choose the right database involves understanding how an application workload will perform over time, how it will grow, and how access patterns might change. As any database implementation grows, it will have to handle more queries and more stored data. Putting the right approach in place at the start can make it easier to process more queries against that data. Ignoring this and relying on the database service to manage it on your behalf might work fine at the start but it could affect performance and cost dramatically down the road. Spending time on planning up front can therefore lead to significant cost reductions in the longer term.

How to think about database design

Taking a schemaless approach appeals to many developers. After all, if you let the database service take care of organizing the data, then you don’t have to. However, this is not really the case. All database providers—even those that offer “schemaless” approaches using JSON or the ability to add objects—encourage some form of schema validation. Schemaless databases store information as unstructured data, and this has a significant impact in terms of performance and cost as the implementation grows.

Even the smallest decisions can have a big impact as databases scale up. Take data formats, for example. Imagine you have a form in your application that will accept data inputs, such as which country someone lives in. What format should you use?

Country names will vary in length, so let’s assume an average of 12 characters for the entry. Storing that data in a variable character (varchar) format with a UTF character set will take up three bytes per character, or 39 bytes in total for each entry. This does not sound huge, but let’s compare that with using int or enum for that same field: An int requires only four bytes in total for each entry, while an enum takes only one byte. Scale this up to 100 million data points, and the varchar option would take 3700 megabytes (MB) of space, while the enum option would require 95MB, a reduction of 97.5%.

The amount of data that you store has a bigger impact than increasing the disk space you use. When you have more data to work with, you will normally scale up the machine image that you use to process that data in memory. If you take a less efficient approach to the data, then you will have to increase the CPU and memory resources for processing the data. While the cost to store terabytes of data on disk is relatively cheap, the cost of CPU and compute time is expensive, so you should try to take the most efficient approach possible.

Alongside this, it’s important to consider data access patterns. How you plan to search for data will affect how you design your database. If you expect to have common search requests for your application, then you can create indexes that can improve performance. Similarly, you may find that your users’ behavior changes over time, and certain queries grow more popular. To manage this, you should review those patterns as the queries and indexes that you have in place will not be what you need in the future.

One important element here is that database design is potentially challenging to think through. However, you can make this much easier for yourself if you keep your deployment as simple as possible rather than trying to accommodate potential edge cases or future requirements. It is always possible to expand your database schema or extend your deployment in the future, rather than concentrating on future needs right now.

Think before you build

What you decide before you start coding will have the biggest impact on your scalability and stability, compared to any decision you make during the life of a project. It’s therefore important to give your data—and what you choose to use for managing that data—the proper respect.

Rather than handing all responsibility over to a cloud service or a third-party provider, understand what you want to achieve and how best to deliver on that goal. However, you don’t give up the responsibility for that decision by choosing a service, and you do trade flexibility for performance and cost. Simply adding more cloud resources is not an efficient approach to scaling up. The database and design choices you choose will have an impact on how successful your new application or service will be over time.

Matt Yonkovit is head of open source strategy at Percona.

—

New Tech Forum provides a venue to explore and discuss emerging enterprise technology in unprecedented depth and breadth. The selection is subjective, based on our pick of the technologies we believe to be important and of greatest interest to InfoWorld readers. InfoWorld does not accept marketing collateral for publication and reserves the right to edit all contributed content. Send all inquiries to newtechforum@infoworld.com.

Copyright © 2022 IDG Communications, Inc.



Source link

ShareTweetSend
Previous Post

Tampa Bay Sees Rise In Anti-Semitism – Tampa Bay Now

Next Post

Kerstin Casparij: Man City sign Dutch defender to replace Barcelona-bound Lucy Bronze | Football News

Related News

Tech

More than half of AI job postings seek skills beyond job titles, research finds

September 12, 2026
Tech

Blood of the Dawnwalker brings a gripping story to the vampiric formula

September 12, 2026
Tech

AI Finally Takes Over The iPhone

September 11, 2026
Tech

Digital Research’s GEM opens a new window on Linux

September 11, 2026
Next Post
Kerstin Casparij: Man City sign Dutch defender to replace Barcelona-bound Lucy Bronze | Football News

Kerstin Casparij: Man City sign Dutch defender to replace Barcelona-bound Lucy Bronze | Football News

Discussion about this post

Subscribe To Our Newsletters

    Customer Support


    1251 Wilcrest Drive
    Houston, Texas
    77042 USA
    Call-832.795.1420
    e-mail – news@theinsightpost.com

    Subscribe To Our Newsletters

      Categories

      • Africa
      • Africa-East
      • African Sports
      • American Sports
      • Arts
      • Asia
      • Australia
      • Business
      • Business Asia
      • Business- Africa
      • Canada
      • Defense
      • Education
      • Egypt
      • Energy
      • Entertainment
      • Europe
      • European Soccer
      • Finance
      • Germany
      • Ghana
      • Health
      • Insight
      • International
      • Investing
      • Japan
      • Latest Headlines
      • Life & Living
      • Markets
      • Mobile
      • Movies
      • New Zealand
      • Nigeria
      • Politics
      • Scholarships
      • Science
      • South Africa
      • South America
      • Sports
      • Tech
      • Travel
      • UK
      • USA
      • Weather
      • World
      No Result
      View All Result

      Recent News

      Florida suspect faces attempted murder charges in gas station arson

      September 12, 2026

      Casio launches a sleek limited-edition matcha green retro watch

      September 12, 2026

      Why OpenAI’s Sam Altman says an IPO isn’t in the cards this year

      September 12, 2026

      Clubfestival in Hamburg: Branche kämpft um Geld – 21. Reeperbahn-Festival startet

      September 12, 2026
      • Home
      • Advertise With Us
      • About Us
      • Corporate
      • Consumer Rewards
      • Forum
      • Privacy Policy
      • Social Trends

      Theinsightpost ©2026 | All Rights Reserved. Theinsightpost is an Elnegy LLC company, registered in Texas, USA

      Welcome Back!

      Login to your account below

      Forgotten Password?

      Retrieve your password

      Please enter your username or email address to reset your password.

      Log In

      Add New Playlist

      We are using cookies to give you the best experience on our website.

      You can find out more about which cookies we are using or switch them off in .

      No Result
      View All Result
      • Home
      • Insight
      • Blog
      • Business
      • Entertainment
      • Health
      • Politics
      • Shop
        • Gift Shop
        • Value Shop
        • Store
        • Bargain Shop
        • Discount
      • Sports
      • Tech
      • Travel
      • USA
      • Video
      • World
        • Asia
        • Africa
        • South America
        • North America
        • Europe
        • Oceania

      Theinsightpost ©2026 | All Rights Reserved. Theinsightpost is an Elnegy LLC company, registered in Texas, USA

      The Insight Post
      Powered by  GDPR Cookie Compliance
      Privacy Overview

      This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

      Strictly Necessary Cookies

      Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.

      Cookie Policy

      More information about our Cookie Policy