DATABASE DESIGN – Telegram
DATABASE DESIGN
1.41K subscribers
2.09K photos
3 videos
5.35K links
Лучшие материалы по работе с хранилищами данных на русском и английском языке

Разместить рекламу: @tproger_sales_bot

Правила общения: https://tprg.ru/rules

Другие каналы: @tproger_channels

Другие наши проекты: https://tprg.ru/media
Download Telegram
Day 26/100

Designing Data-Intensive Applications [Book Highlights]
[Part I : Chapter II] Data Models and Query Languages
The Cypher Query Language

Cypher is a declarative query language for property graphs, created for the Neo4j
graph database
Example 2-4. Cyp...

Read: https://rawdatareaders.hashnode.dev/day-26
«Импортозамещаем» анализ планов PostgreSQL

Вчера Hubert 'depesz' Lubaczewski закрыл доступ с российских IP ко всем своим сайтам, включая широко известный визуализатор планов PostgreSQL-запросов explain.depesz.com.

Но это не беда, потому что в компании "Тензор" мы разработали сервис explain.tensor.ru, функционал которого гораздо обширнее, и которым можете воспользоваться и вы.


Читать: https://habr.com/ru/post/660727/
Day 27/100

Designing Data-Intensive Applications [Book Highlights]
[Part I : Chapter III] Storage and Retrieval

fundamentals of a database are two things: it should store the data, it should give it back as well.

Consider the world’s simplest database, imple...

Read: https://rawdatareaders.hashnode.dev/day-27
Set up your application with Heroku's Database

Heroku is a cloud platform as a service (PaaS) supporting several programming languages as well as RDBMS like Postgres
In this blog, you're going to learn "How to set up your application with Heroku's Database"
Prerequisites

Basic JS, Postgres knowl...

Read: https://eklavya.hashnode.dev/set-up-your-application-with-herokus-database
SQL vs NoSQL

Introduction
Database is a component required to persist data. In the world of databases, there are two main types of solutions: SQL(relational) and NoSQL(non-relational) databases.
SQL
SQL stands for structured query language. As the names suggests...

Read: https://codeminion.hashnode.dev/sql-vs-nosql
🗃️ How to use Mongoose with Next.js for MongoDB?

Hey all 👋!
Next.js is an amazing full-stack framework and MongoDB is a great NoSQL database. Using them together will make an app super fast and awesome! In this post, we'll go ahead and set up the Mongoose ODM inside our Next.js app to make use of ...

Read: https://blog.usman-s.me/how-to-use-mongoose-with-nextjs-for-mongodb
How I extracted 588 Questions from A PDF file with Regex

Introduction
Before I start, I'd like to mention the article is meant to iterate the potentials of regular expression with keen attention on its style and syntax in JavaScript. Please note that the code samples in this article were executed in Node ...

Read: https://opeolluwa.hashnode.dev/how-i-extracted-588-questions-from-a-pdf-file-with-regex
SQL Queries For Mere Mortals: Filtering Your Data

Refining What You See Using WHERE

The type of SELECT statement we’ve worked with so far retrieves all the rows from a given table and uses them in the statement’s result set.
This is great if you really do need to see all the information the tabl...

Read: https://samra.hashnode.dev/sql-queries-for-mere-mortals-filtering-your-data
Adventuring into the Cosmos

Studying for AZ-204: Developing Solutions for Microsoft Azure
I'm scheduled to take the AZ-204 exam in the next couple of weeks so I'm currently playing around with the main resources covered to get some practice in the portal and also writing client...

Read: https://phillipjohnson.co.uk/adventuring-into-the-cosmos
Connection Pooling in Database

As a developer, you may not have spent a lot of time thinking about database connections. A single database connection is not expensive, but as things scale up, problems can arise. So let’s dive into the world of connection pooling, and take a look a...

Read: https://prodip-7.hashnode.dev/connection-pooling-in-database
Commonly used Queries in MongoDB

In this article, we'll look at some of the most commonly used query methods in MongoDB. We'll be using the MongoDB compass and the MongoDB shell to navigate and manipulate a simple database.
Prerequisites
To comprehend this tutorial, it is expected t...

Read: https://davidekete.com/commonly-used-queries-in-mongodb
Binning in MySQL

Binning, and eventually graphing as a histogram, is an effective and useful way to analyze and understand trends in your data. BI tools like Tableau provide easy binning capabilities so you can bin on ranges like month or year. But is there a way wit...

Read: https://nav610.hashnode.dev/binning-in-mysql
ETL using Python (Petl) in Oracle Database

Hello there, Good day ! 👋
This blog is to show or give you guys an idea of how to do Extraction, Transformation and Load a dataset into an Oracle Database. ETL process can be done by many methods, one of them is by using Python. Here, we will have t...

Read: https://maran.hashnode.dev/etl-using-python
Binning in MySQL

Binning, and eventually graphing as a histogram, is an effective and useful way to analyze and understand trends in your data. BI tools like Tableau provide easy binning capabilities so you can bin on ranges like month or year. But is there a way wit...

Read: https://nocd.hashnode.dev/binning-in-mysql
Masonite Project- One to One Relationship Example

In this tutorial we will explore One to One Relationship in Masonite Project.
One to One model relationship is very simple and basic. We have to make sure that one of the tables has a key that references the id of the other table. We will learn how ...

Read: https://blog.popolo.dev/masonite-project-one-to-one-relationship-example
3 Minutes for Structure of Database System

If you are here, I am assuming that you have a little bit of knowledge of what is a database and some kinds of stuff and If not then feel free to learn it on my Blog in an Easy way.
Let's Take a Look at the Original Diagram of the Database System.

F...

Read: https://wolfgunner.hashnode.dev/3-minutes-for-structure-of-database-system
Яндекс выложил в опенсорс YDB

Сегодня мы выложили в опенсорс систему управления базами данных YDB — плод многолетнего опыта Яндекса в разработке систем хранения и обработки данных. Исходный код, документация, SDK и все инструменты для работы с базой опубликованы на GitHub под лицензией Apache 2.0. Развернуть базу можно как на собственных, так и на сторонних серверах — в том числе в любых облачных сервисах.
YDB решает задачи в одной из самых критичных областей — позволяет создавать интерактивные приложения, которые можно быстро масштабировать по нагрузке и по объёму данных. Мы разрабатывали её, исходя из ключевых требований к сервисам Яндекса. Во-первых, это катастрофоустойчивость, то есть возможность продолжить работу без деградации при отключении одного из дата-центров. Во-вторых, это масштабируемость на десятки тысяч серверов на чтение и на запись. В-третьих, это строгая консистентность данных.

В посте я расскажу об истории развития технологий баз данных, о том, зачем использовать YDB, как её применяют текущие пользователи и какие плюсы для всех несёт выход в опенсорс. А во второй половине поста поговорим о разных вариантах развёртывания.


Читать: https://habr.com/ru/post/660271/
🔥1
Авторизация в PostgreSQL. Часть 1 — Роли и Привилегии

Никто не будет спорить с тем, как важно понимать механизмы прав доступа и безопасности в базах данных. Если вы не продумываете логику авторизации в вашей БД, то, вероятно, вы не следуете принципу наименьших привилегий — к вашей базе данных могут получить доступ коллеги (например, разработчики, аналитики данных, маркетологи, бухгалтеры), подрядчики, процессы непрерывной интеграции или развернутые службы, которые имеют больше привилегий, чем должны. Это увеличивает риск утечек, неправомерного доступа к данным (например, личной информации), а также случайного или злонамеренного повреждения и потери данных.

Несмотря на важность темы, авторизация в базе данных являлась моим слабым местом в начале карьеры. NoSQL был самым крутым парнем на районе, а мир веб-разработки соблазняли фреймворки (например Rails), которые давали более приятный опыт разработки, нежели сложные SQL-скрипты. Но мир меняется. SQL и реляционные базы данных снова оказались в центре внимания, поэтому важно научиться пользоваться ими безопасно и эффективно. В этой серии статей я раскрою основные области авторизации в базах данных с акцентом на PostgreSQL, поскольку это одна из самых зрелых и функциональных СУБД с открытым исходным кодом.

Читать: https://habr.com/ru/post/661771/
Анонимно, пожалуйста

В наше время проблема анонимности стоит очень остро, с каждым днем пользователи сети все больше стараются заботиться о своей цифровой гигиене и сохранения конфиденциальной информации таковой. Поэтому я решил сделать обзор популярных (и не очень) поисковиков, на сколько они соответствуют ожиданиям пользователей.


Читать: https://habr.com/ru/post/661857/
Reverse Engineering Uhabits Datamodel

OK, that noscript sounds fancy and complicated. What did I actually do? First I should probably explain why I did anything in the first place.
Background
I’ve been using uhabits for years. I noticed a new numeric habit type was added in v2.0.0. Previous...

Read: https://conorsheehan1.hashnode.dev/reverse-engineering-uhabits-datamodel
Cleaning Up My Data - Week 10 of My Software Development Bootcamp

For my capstone project, I am building a clone of a current website, and expanding it to have a shopping cart component. This week I received the data from the current site to incorporate it into our project.
I got a json file. It had 1,600ish objec...

Read: https://trail2dev.hashnode.dev/cleaning-up-my-data-week-10-of-my-software-development-bootcamp