Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Store 8 feature flags in 1 integer (Bitwise operations in MySQL)

Автор: PlanetScale

Загружено: 2023-11-09

Просмотров: 41296

Описание:

This video is a tutorial on using bits & bitmasks for storing feature flags in a database. It involves compressing all data into a single integer column and using bitmasks to activate specific features.

While this method is technically interesting and efficient for compact data storage, it can be convoluted to understand there's no way to properly index it.

In future videos, alternative techniques such as storing the flags in a JSON column or a separate table using a many-to-many relationship will be discussed.

You can watch the second video (storing as JSON) here:    • Storing feature flags as JSON (with indexing)  .

To learn more about PlanetScale, head to https://planetscale.com/youtube!

------
00:00 Feature flags
00:57 Bits and bytes
02:42 Bitwise operators
03:58 Querying with bitmasks
09:06 Adding and removing flags
13:17 Finding unused flags and indexing
14:54 Pros and cons
------

💬 Follow PlanetScale on social media
• Twitter:   / planetscale  
• Discord:   / discord  
• TikTok:   / planetscale  
• Twitch:   / planetscale  
• LinkedIn:   / planetscale  

Store 8 feature flags in 1 integer (Bitwise operations in MySQL)

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

You don't need NoSQL (use MySQL)

You don't need NoSQL (use MySQL)

Computer Data Storage - Bits and Bytes

Computer Data Storage - Bits and Bytes

Pagination in MySQL - offset vs. cursor

Pagination in MySQL - offset vs. cursor

Побитовые операции и битовое маскирование

Побитовые операции и битовое маскирование

Easy database indexing strategies

Easy database indexing strategies

Excel против Power BI против SQL против Python | Сравнение на фондовом рынке

Excel против Power BI против SQL против Python | Сравнение на фондовом рынке

Компания Salesforce признала свою ошибку.

Компания Salesforce признала свою ошибку.

Storing feature flags as JSON (with indexing)

Storing feature flags as JSON (with indexing)

Я в опасности

Я в опасности

Debian: САМЫЙ СТАБИЛЬНЫЙ Linux и ТЁМНАЯ История Создателя

Debian: САМЫЙ СТАБИЛЬНЫЙ Linux и ТЁМНАЯ История Создателя

Faster geospatial queries in MySQL

Faster geospatial queries in MySQL

The Windows 11 Disaster Microsoft Didn’t See Coming

The Windows 11 Disaster Microsoft Didn’t See Coming

Что такое Rest API (http)? Soap? GraphQL? Websockets? RPC (gRPC, tRPC). Клиент - сервер. Вся теория

Что такое Rest API (http)? Soap? GraphQL? Websockets? RPC (gRPC, tRPC). Клиент - сервер. Вся теория

RAND is too slow (in MySQL)

RAND is too slow (in MySQL)

Вся IT-база в ОДНОМ видео: Память, Процессор, Код

Вся IT-база в ОДНОМ видео: Память, Процессор, Код

Faster database indexes (straight from the docs)

Faster database indexes (straight from the docs)

Лучший Гайд по Kafka для Начинающих За 1 Час

Лучший Гайд по Kafka для Начинающих За 1 Час

Устранение одной из самых больших слабостей PostgreSQL.

Устранение одной из самых больших слабостей PostgreSQL.

Increase speed and durability with MySQL replication (2 easy ways)

Increase speed and durability with MySQL replication (2 easy ways)

Микросервисы на практике - сервис продажи билетов

Микросервисы на практике - сервис продажи билетов

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: infodtube@gmail.com