Re: Split index and table statistics into different types of stats
В списке pgsql-hackers по дате отправления:
| От | Drouvot, Bertrand |
|---|---|
| Тема | Re: Split index and table statistics into different types of stats |
| Дата | |
| Msg-id | e972078e-9ee2-922e-da1d-30134d483886@gmail.com обсуждение |
| Ответ на | Re: Split index and table statistics into different types of stats ("Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>) |
| Ответы |
Re: Split index and table statistics into different types of stats
|
| Список | pgsql-hackers |
Hi, > Hi, > > As [1] mentioned above has been committed (83a1a1b566), please find attached V5 related to this thread making use of thenew macros (namely PG_STAT_GET_RELENTRY_INT64 and PG_STAT_GET_RELENTRY_TIMESTAMPTZ). > > I switched from using "CppConcat" to using "##", as it looks to me it's easier to read now that we are adding another concatenationto the game (due to the table/index split). > > The (Tab,tab) or (Ind,ind) passed as arguments to the macros look "weird" (I don't have a better idea yet): purpose isto follow the naming convention for PgStat_StatTabEntry/PgStat_StatIndEntry and pgstat_fetch_stat_tabentry/pgstat_fetch_stat_indentry,thoughts? > > Looking forward to your feedback, > Attaching V6 (mandatory rebase due to 8018ffbf58). While at it, I got rid of the weirdness mentioned above by creating 2 sets of macros (one for the tables and one for theindexes). Looking forward to your feedback, Regards, -- Bertrand Drouvot PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера