database



MongoDB advanced query operators

  • avatar
  • 2.2K Views
  • 9 mins read
Preview post image

MongoDB is a popular NoSQL database known for its flexibility and scalability. In MongoDB, query operators are used to perform specific operations within a query, allowing you to filter and retrieve documents based on various conditions. These operators provide powerful capabilities for querying and manipulating data. In this article, we will explore some of the most important MongoDB operators, focusing on both read and update operations.

Maximizing MongoDB performance with indexes

Available to registered members only
  • avatar
  • 1.7K Views
  • 3 mins read
Preview post image

MongoDB proves itself as a robust solution for efficiently managing extensive datasets. A critical aspect contributing to MongoDB's effectiveness is its skillful use of indexes. Indexing acts as a meticulously organized roadmap for your data, enabling MongoDB to swiftly retrieve information. In this article, we will explore MongoDB indexes, shedding light on the diverse types and deciphering the nuances between ascending (asc) and descending (desc) indexes.

MongoDB backup: import and export data

  • avatar
  • 1.8K Views
  • 4 mins read
Preview post image

In today's data-driven world, safeguarding critical information is paramount. As databases grow in complexity and size, it becomes increasingly crucial to have a reliable backup and restore strategy in place. MongoDB, a popular NoSQL database, offers powerful export and import commands that simplify the process of creating backups and restoring data. In this article, we will explore how these commands can be used as efficient backup and restore actions, ensuring the safety and integrity of your valuable data.

 Join Our Monthly Newsletter

Get the latest news and popular articles to your inbox every month

We never send SPAM nor unsolicited emails

How to install MongoDB 5 on Ubuntu 20.04

  • avatar
  • 2.2K Views
  • 12 Likes
  • 6 mins read
Preview post image

MongoDB is one of the popular open source and document oriented database systems. It belongs to a family of databases called NoSQL, which is different from the traditional table based SQL databases. It makes use of collections, each having multiple documents, and allows the user to store data in a non relational format. Data is stored in flexible, JSON-like documents where fields can vary from document to document.

Repository cache in Laravel

  • avatar
  • 1.2K Views
  • 1 Like
  • 11 mins read
Preview post image

In modern web applications, optimizing data retrieval is crucial to improving performance and user experience. One common practice is caching database queries to reduce redundant calls to the database. While Laravel offers built-in caching features, in some cases, you may want to implement custom repository caching manually to better control your caching mechanism. This article will walk you through implementing repository caching in Laravel 12, explaining the steps involved and how to achieve better performance in your application.

Database server setup: enhancing security and performance

  • avatar
  • 1.6K Views
  • 6 mins read
Preview post image

Setting up a robust database server is a critical step in ensuring the smooth functioning of applications and safeguarding sensitive data. In the realm of cybersecurity and efficient data management, employing good practices can make a significant difference. This article explores the advantages of segregating application and database servers, emphasizing the importance of allowing only authorized connections. Additionally, we'll discuss the use of SSH tunnels to enhance security and weigh the pros and cons of such a system.

How to install and configure Redis on Ubuntu

  • avatar
  • 2.0K Views
  • 7 mins read
Preview post image

Redis is an open-source in-memory key-value data store. It can be used as a database, cache, message broker and supports various data structures such as Strings, Hashes, Lists, Sets, etc... Apart from its performance and flexibility, Redis stands out with its wide language support, high availability, and automatic partitioning.

Getting started with MongoDB

  • avatar
  • 1.4K Views
  • 6 Likes
  • 11 mins read
Preview post image

MongoDB is a popular open source and document oriented database system. It belongs to a family of databases called NoSQL, which is different from the traditional table based SQL databases. It makes use of collections, each having multiple documents, and allows the user to store data in a non relational format. Data is stored in flexible, JSON-like documents where fields can vary from document to document. That's the reason for calling it schemaless database.

How to install MySQL 8.0 server on Ubuntu

  • avatar
  • 1.9K Views
  • 1 Like
  • 8 mins read
Preview post image

MySQL is an open-source relational database management system (RDBMS). Its name is a combination of My and SQL the abbreviation for Structured Query Language. A relational database organizes data into one or more data tables in which data types may be related to each other; these relations help structure the data. SQL is a language programmers use to create, modify and extract data from the relational database, as well as control user access to the database.

Allow remote access to MySQL server

  • avatar
  • 1.7K Views
  • 1 Like
  • 6 mins read
Preview post image

Many applications start their web server and database hosted on the same machine. It's simpler, cheaper and easier to manage. However, as our application grows , a setup like this can bring security issues and scalability problems. A common solution is to separate our database from the application: creating a dedicated database server and allowing applications to connect remotely. This setup is more secure, it can provide you a better analysis of the bottlenecks and definitely makes the scalability easier.