Статья в блоге Facebook о миграции с InnoDB в MyRocks (это их собственная разработка, но в open source)
Я лично с MyRocks никогда не стыкался, так что рекомендовать её права не имею.
Но вот пункт "Lessons learned" статьи полезен вне вопроса о движке БД
#database
Я лично с MyRocks никогда не стыкался, так что рекомендовать её права не имею.
Но вот пункт "Lessons learned" статьи полезен вне вопроса о движке БД
#database
Facebook Code
Migrating a database from InnoDB to MyRocks
Moving one of Facebook's main databases to MyRocks cut storage usage in half.
Занятная статья от Aerospike про тюнинг сети для Amazon EC2 инстансов (а XDR у Aerospike трафика гоняет дай боже!)
https://www.aerospike.com/blog/boosting-amazon-ec2-network-for-high-throughput/
Они пришли, во-первых, к тому, что запускать Aerospike лучше всего на r3 типе инстансов.
Во-вторых, на производительность сети на инстансах до 4xlarge тюнтнг с помощью Receive Packet Steering (RPS) даёт приблизительно такой же прирост производительности, как подключение нескольких Elastic Network Interfaces. А вот на более "толстых" инстансах несколько ENI уже куда эффективней RPS
#aerospike #networking #database #aws
https://www.aerospike.com/blog/boosting-amazon-ec2-network-for-high-throughput/
Они пришли, во-первых, к тому, что запускать Aerospike лучше всего на r3 типе инстансов.
Во-вторых, на производительность сети на инстансах до 4xlarge тюнтнг с помощью Receive Packet Steering (RPS) даёт приблизительно такой же прирост производительности, как подключение нескольких Elastic Network Interfaces. А вот на более "толстых" инстансах несколько ENI уже куда эффективней RPS
#aerospike #networking #database #aws
Оч прикольная статья от DataDog о том, как мониторить PostgreSQL:
https://www.datadoghq.com/blog/postgresql-monitoring/
Кратко описано, как PostgreSQL вообще записывает данные, на какие метрики стоит обращать внимание, и что они вообще значат. Тажке рассказали, какие выводы можно сделать по каждой из метрик и что предпринять в тех или иных ситуациях
#postgresql #database
https://www.datadoghq.com/blog/postgresql-monitoring/
Кратко описано, как PostgreSQL вообще записывает данные, на какие метрики стоит обращать внимание, и что они вообще значат. Тажке рассказали, какие выводы можно сделать по каждой из метрик и что предпринять в тех или иных ситуациях
#postgresql #database
Datadog
Key metrics for PostgreSQL monitoring | Datadog
Learn how to identify and track key PostgreSQL performance metrics in this monitoring guide.
Во вчерашней статье про PostgreSQL проскакивали такие штуки, как MVCC — multi-version concurrency control и VACUUM. Если в двух словах: вместо того, чтобы лочить строку, на которой применяется UPDATE или DELETE, мы сделаем её копию, которая будет видна только транзакции, которая её обновляет. Все текущие же транзакции (non update) будут видеть изначальный вариант строки. А вот когда UPDATE/ DELETE закончится, мы делаем новый вариант видымым для всех, а старый — наоборот. Для этого будем использовать MVCC. Старые dead_rows тоже надо как-то чистить и тут поможет VACUUM
Подробнее про эти два механизма изложено тут:
http://rhaas.blogspot.com/2017/12/mvcc-and-vacuum.html
И отдельно про VACUUM:
http://rhaas.blogspot.com/2018/01/the-state-of-vacuum.html
#postgresql #database
Подробнее про эти два механизма изложено тут:
http://rhaas.blogspot.com/2017/12/mvcc-and-vacuum.html
И отдельно про VACUUM:
http://rhaas.blogspot.com/2018/01/the-state-of-vacuum.html
#postgresql #database
Blogspot
MVCC and VACUUM
Experienced PostgreSQL users and developers rattle off the terms “MVCC” and “VACUUM” as if everyone should know what they are and how they w...
Uber рассказывает про свой датасторейдж — Schemaless (аналог Гугловского Bigtable) на базе шардед MySQL. И о том, почему они мигрировали на него с Postgres. И это только первая часть. Так что дальше будет
Статья о самой миграции
#database
Статья о самой миграции
#database
Docker... Kubernetes... Vitess!
Vitess is a database clustering system for horizontal scaling of MySQL powered by Youtube. They use it from 2011 and have you see - have no critical troubles.
And, as we like, Vitess on incubating stage at CNCF and have Quick start in Kubernetes guide
#database
Vitess is a database clustering system for horizontal scaling of MySQL powered by Youtube. They use it from 2011 and have you see - have no critical troubles.
And, as we like, Vitess on incubating stage at CNCF and have Quick start in Kubernetes guide
#database
KeyDB - A Multithreaded Fork of Redis
John Sully disagrees with Salvatore Sanfilippo’s thoughts on multithreading, so he make own Redis, with multhithreading and enterprise features.
KeyDB have:
- 60% lower latency
- direct backup to AWS S3
- FLASH storage support
KeyDB designed with AWS in mind and has full compatibility with the Redis protocol, modules, and scripts. This includes full support for transactions, and atomic execution of scripts.
#database #aws
John Sully disagrees with Salvatore Sanfilippo’s thoughts on multithreading, so he make own Redis, with multhithreading and enterprise features.
KeyDB have:
- 60% lower latency
- direct backup to AWS S3
- FLASH storage support
KeyDB designed with AWS in mind and has full compatibility with the Redis protocol, modules, and scripts. This includes full support for transactions, and atomic execution of scripts.
#database #aws
Work with DBs as simple as code in git!
If you missed, git 2.26 released 3 weeks ago, where set protocol version 2 to default, add some new features and improvements to stuff like
But not,
Dolt is Git for data. Instead of versioning files, Dolt versions tables.
It is inspired by RDBMS and Git, and attempts to blend concepts about both in a manner that allows users to better manage, distribute, and collaborate on, data. And it have own Hub, with blackjack and databases!
Here some use case how it can be used:
- Sharing Data on the Internet
- Ingesting Data You Do Not Own
- Versioning Data Lake Query Output
- Reproducing Models or Analysis
- Better Database Backups
- Add Data Versioning to an Application
#git #database
If you missed, git 2.26 released 3 weeks ago, where set protocol version 2 to default, add some new features and improvements to stuff like
git grep - this definitely described in release highlights.But not,
git still can't be used as versioning/sharing stuff for databases. Dolt can.Dolt is Git for data. Instead of versioning files, Dolt versions tables.
It is inspired by RDBMS and Git, and attempts to blend concepts about both in a manner that allows users to better manage, distribute, and collaborate on, data. And it have own Hub, with blackjack and databases!
Here some use case how it can be used:
- Sharing Data on the Internet
- Ingesting Data You Do Not Own
- Versioning Data Lake Query Output
- Reproducing Models or Analysis
- Better Database Backups
- Add Data Versioning to an Application
#git #database
How to be DBA, starter pack
Percona creates Percona University Online with tiny (2-5 minutes) videos about databases.
They contain basic information, like DB upgrades, useful tools etc. and are now actively adding content.
Beside this, channel have many strong talks for mature folks, so I highly recommend subscribe to it channel if their content seems interesting to you.
#database #databases
Percona creates Percona University Online with tiny (2-5 minutes) videos about databases.
They contain basic information, like DB upgrades, useful tools etc. and are now actively adding content.
Beside this, channel have many strong talks for mature folks, so I highly recommend subscribe to it channel if their content seems interesting to you.
#database #databases