Неизменяемое хранилище для PostgreSQL: история одного table AM

immotus по-латыни — «неподвижный». Мне нравилось это слово для хранилища, в котором данные можно дописать, но нельзя изменить. Сценариев несколько: аудит и события, телеметрия, история, которую нельзя подправить. Возьму для наглядности один — таблицу событий: миллионы строк в день, читают агрегатами, меняют почти никогда. Здесь heap делает лишнюю работу: autovacuum приходит не потому, что кто-то удалил данные, а потому что строки стареют. Зачем хранить xmin , xmax , ctid и infomask для строк, которые никто не обновит? Из этого вырос immotus_appender — append-only table access method для PostgreSQL. В основе простая мысль: если данные не меняются, хранилищу не нужно то, что heap держит ради изменений. Отсюда и меньший размер строки, и меньше WAL, и отсутствие vacuum. Далее про appender

habrahabr.ru · world

Videoja e re ndjek valën goditëse të supernovës së Tycho-s: 8 milionë kilometra në orë, 454 vjet pas shpërthimit

NASA's Chandra observatory data, combined with optical light and radio signals, tracks the shockwave of Tycho's supernova. The wave continues to travel at millions of kilometers per hour. These observations help scientists determine the distance to the event. It is located approximately 9,200 light-years away. The explosion occurred 454 years ago.

24-ore.com · world F

Игра по Руси, где нельзя переписать историю. Но можно пройти её по-своему – “Русь: Исток”

Игра по Руси, где нельзя переписать историю. Но можно пройти её по-своему – “Русь: Исток” Эта часть ЗРИ про концепцию: как получилось дать игроку свободу выбора, не сломав при этом историю. И нет, это не альтернативная история, не “а что, если”, а именно свобода, но в рамках летописи. Расскажу как это работает в моей игре на примерах. Читать далее

habrahabr.ru · world

Letër e hapur nga Lekiq, Kostiq-Mandiq, Sharanoviq dhe Pavlloviq: Mali i Zi nuk duhet të pranojë kushtëzimet e Kroacisë për anëtarësimin në BE

Four prominent Montenegrin academics and public figures sent an open letter to state leaders. They argue that Montenegro should not accept Croatian conditions for EU membership. The group calls for a unified state policy toward Croatia. They request a parliamentary resolution and a framework agreement to resolve open bilateral issues.

24-ore.com · world F

Hyjnë në fuqi kuotat e BE-së për makinat hibride të importuara, Kina kufizohet në 191.780 automjete

The European Commission has implemented temporary protective measures for imported hybrid cars. These rules started on December 1 and will remain in place for 200 days. A total of 759,681 vehicles from outside the bloc are permitted. China is the primary target of these measures. It has been assigned the largest national quota. This limit is set at 191,780 cars.

24-ore.com · world F

धनकुटामा जग्गाको सरकारी मूल्यांकन संशोधन गर्न माग

The Dhankuta Chamber of Industry and Commerce has demanded changes to the government land valuation system in Dhankuta. It argues that official land valuations are impractical and higher than actual market transaction prices. The group says high official valuations cause problems for ordinary people buying and selling land. The complaint was reported from Dhankuta on 16 Mangsir.

onlinekhabar.com · world F

“Es un monstruo que se está comiendo al guatemalteco”: extorsiones y ataque armado paralizan buses de Antigua Guatemala

Bus services in Antigua Guatemala have been paralyzed due to armed attacks and extortion. Extortionists are demanding an initial payment of 250 thousand quetzales from transport operators. They are also demanding weekly payments of 15 thousand quetzales. A recent armed attack on a bus put passengers and drivers at risk. These events have led to questions regarding current security strategies.

prensalibre.com · world F