#information_schema — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #information_schema, aggregated by home.social.
-
Пишем автомигратор на Go: как узнать схему PostgreSQL
Когда говорят «генератор миграций», обычно в голове сразу появляется что-то вроде: Генератор миграций начинается не с CREATE TABLE , а с вопроса: как представить текущую схему базы в коде? В первой статье серии разбираем PostgreSQL-first introspector: читаем таблицы, колонки, constraints и индексы, где хватает information_schema , а где приходится идти в pg_catalog , и собираем детерминированный snapshot схемы. Миграции пока не генерируем — строим фундамент, из которого потом можно будет сделать diff и получить DDL. Статья будет полезна тем, кто пишет инструменты вокруг баз данных, интересуется PostgreSQL internals или хочет понять, почему автомигратор — это не просто набор ALTER TABLE .
https://habr.com/ru/articles/1045496/
#Go #PostgreSQL #миграции #автомигратор #introspection #information_schema #pg_catalog #DDL #schema_diff #qrafter
-
Пишем автомигратор на Go: как узнать схему PostgreSQL
Когда говорят «генератор миграций», обычно в голове сразу появляется что-то вроде: Генератор миграций начинается не с CREATE TABLE , а с вопроса: как представить текущую схему базы в коде? В первой статье серии разбираем PostgreSQL-first introspector: читаем таблицы, колонки, constraints и индексы, где хватает information_schema , а где приходится идти в pg_catalog , и собираем детерминированный snapshot схемы. Миграции пока не генерируем — строим фундамент, из которого потом можно будет сделать diff и получить DDL. Статья будет полезна тем, кто пишет инструменты вокруг баз данных, интересуется PostgreSQL internals или хочет понять, почему автомигратор — это не просто набор ALTER TABLE .
https://habr.com/ru/articles/1045496/
#Go #PostgreSQL #миграции #автомигратор #introspection #information_schema #pg_catalog #DDL #schema_diff #qrafter
-
Пишем автомигратор на Go: как узнать схему PostgreSQL
Когда говорят «генератор миграций», обычно в голове сразу появляется что-то вроде: Генератор миграций начинается не с CREATE TABLE , а с вопроса: как представить текущую схему базы в коде? В первой статье серии разбираем PostgreSQL-first introspector: читаем таблицы, колонки, constraints и индексы, где хватает information_schema , а где приходится идти в pg_catalog , и собираем детерминированный snapshot схемы. Миграции пока не генерируем — строим фундамент, из которого потом можно будет сделать diff и получить DDL. Статья будет полезна тем, кто пишет инструменты вокруг баз данных, интересуется PostgreSQL internals или хочет понять, почему автомигратор — это не просто набор ALTER TABLE .
https://habr.com/ru/articles/1045496/
#Go #PostgreSQL #миграции #автомигратор #introspection #information_schema #pg_catalog #DDL #schema_diff #qrafter
-
#Hate Update: re prev toot ... today I hate #MySQL #information_schema because it tells great big dirty LIES. You need to `ANALYZE TABLE` on any table you're interested in immediately before you ask information_schema for its metadata.
-
#Hate Update: re prev toot ... today I hate #MySQL #information_schema because it tells great big dirty LIES. You need to `ANALYZE TABLE` on any table you're interested in immediately before you ask information_schema for its metadata.
-
#Hate Update: re prev toot ... today I hate #MySQL #information_schema because it tells great big dirty LIES. You need to `ANALYZE TABLE` on any table you're interested in immediately before you ask information_schema for its metadata.
-
#Hate Update: re prev toot ... today I hate #MySQL #information_schema because it tells great big dirty LIES. You need to `ANALYZE TABLE` on any table you're interested in immediately before you ask information_schema for its metadata.
-
#Hate Update: re prev toot ... today I hate #MySQL #information_schema because it tells great big dirty LIES. You need to `ANALYZE TABLE` on any table you're interested in immediately before you ask information_schema for its metadata.
-
MySQL Database Service – find the info: part 4 – connections
As a MySQL DBA, you like to know who is connected on the system you manage. You also like to know who is trying to connect.In this article, we will discover how we can retrieve the information and control who is using the MySQL DB instance we launched in OCI.
https://lefred.be/content/mysql-database-service-find-the-info-part-4-connections/
#8.0 #Cloud #Information_Schema #MDS #MySQL #MySQL8.0 #OCI #Performance_Schema -
MySQL Database Service – find the info: part 4 – connections
As a MySQL DBA, you like to know who is connected on the system you manage. You also like to know who is trying to connect.In this article, we will discover how we can retrieve the information and control who is using the MySQL DB instance we launched in OCI.
https://lefred.be/content/mysql-database-service-find-the-info-part-4-connections/
#8.0 #Cloud #Information_Schema #MDS #MySQL #MySQL8.0 #OCI #Performance_Schema -
MySQL Database Service – find the info: part 4 – connections
As a MySQL DBA, you like to know who is connected on the system you manage. You also like to know who is trying to connect.In this article, we will discover how we can retrieve the information and control who is using the MySQL DB instance we launched in OCI.
https://lefred.be/content/mysql-database-service-find-the-info-part-4-connections/
#8.0 #Cloud #Information_Schema #MDS #MySQL #MySQL8.0 #OCI #Performance_Schema -
MySQL Database Service – find the info: part 4 – connections
As a MySQL DBA, you like to know who is connected on the system you manage. You also like to know who is trying to connect.In this article, we will discover how we can retrieve the information and control who is using the MySQL DB instance we launched in OCI.
https://lefred.be/content/mysql-database-service-find-the-info-part-4-connections/
#8.0 #Cloud #Information_Schema #MDS #MySQL #MySQL8.0 #OCI #Performance_Schema