How Covid changed the way we work with SQL

When Covid struck, developers and database administrators started inspecting their queries more thoroughly.

a month ago   •   4 min read

By Lukas Vileikis
Table of contents

Life was normal until 2020's monstrously bad news - Covid - came around. Developers got out of bed, then marched to the office to crunch code as they always do. While inside of the office, they reviewed their goals, played with Git, interacted with their colleagues over a cup (or two) of coffee, and built products relevant to the functionality of the company. Many developers also had side-projects that they would go home and work on during their free time as their hobby.

While in the office, developers would be busy regurgitating code – web developers, for example, would work with PHP, SQL, CSS, Javascript, and its libraries (say, jQuery). Meanwhile, database administrators would think deeply about the performance of their database instances (they would take care of indexing and normalizing their data, or work with big data sets, etc.). Once code was complete, they'd document it and push it over to GitHub.

Until Covid rolled around, developers would also usually only interact with developers of the same type. For example, C++ developers would usually hang out with C++ developers because they probably don’t know much about databases or web development. And Oracle database administrators would probably only hang out with other Oracle DBAs.

However, when Covid hit the world, things changed. Drastically. Developers who went to the office now started communicating over Slack, Discord, or Skype. And real-world social interactions were replaced by communicating over Messenger.

Building software in Covid times

When Covid struck the world, developers changed their ways. Well, some did – those who previously worked remotely didn’t see many changes on the working front. Developers ditched in-person communication and switched to communicating via social media, Discord, Skype, and other platforms instead. Here’s a chart showing what changed:

Software Development Pre-Covid

Software Development During (and after) Covid

Pre-Covid, developers usually went to the office and interacted with their colleagues in person.

These days, developers work from home and interact with their colleagues via online platforms (Skype, Slack, etc.) instead.

In pre-Covid days, developers usually only talked to developers inside of their “circle” (i.e. developers would talk with developers who knew the same languages as they did), and didn’t have much interaction with other types of devs, because most other devs would work elsewhere.

Nowadays developers talk to other kinds of developers (e.g. C++ developers would talk to PHP developers, PHP devs share insights with DBAs, etc.) due to the fact that everything is remote and it’s easy to communicate just by switching over to another window instead of going to another office or place.

SQL queries: pre-Covid

Until 2020, inexperienced and advanced developers alike ran SQL queries in a very “lenient” fashion – SELECT * FROM demo_table or SELECT demo_column FROM demo_table, who cares? “We still don’t have that many results, it doesn’t bother the database or the SQL client we’re using,” they thought. Indeed, when we don’t have many rows inside of our tables, what’s the matter? If we have, say, 5 or 15 rows, the difference is negligible – chances are that all of our queries will complete in an instant.

However, when Covid struck, developers and database administrators started inspecting their queries more thoroughly.

SQL queries during and post-Covid

The majority of people going remote means that your databases will be overloaded than ever. We have explained the reasons why in our big data and InnoDB blog post. Because of the way queries work internally, your SELECT * FROM demo_table queries will probably complete significantly slower than SELECT demo_column FROM demo_table, and there’s a good reason for that – demo_column only selects one column, SELECT * selects everything. Not a concern in person, but with many people working over many connections, this becomes an important consideration. Here are some other differences:

We could go on, but you should get the point by now. Post-Covid, your databases (and your SQL queries) will be placed under a lot more scrutiny. However, don't be intimidated! Arctype can help you cope: from visualizing your data to developing secure applications, there is an article for every case!

JOIN the Arctype Newsletter
Programming stories, tutorials, and database tips every 2 weeks

Spread the word

Keep reading