[Перевод] Нетипичные оптимизации в PostgreSQL, или Креативное ускорение запросов
Когда речь заходит об оптимизации базы данных, разработчики обычно перечисляют привычный набор приёмов: слегка переписать запрос, накинуть индекс на колонку, денормализовать, сделать analyze, vacuum, cluster, и так по кругу. Классические техники, конечно, работают, но иногда креативный подход даёт гораздо больше. В этой статье Haki Benita показывает нетипичные техники оптимизации в PostgreSQL.
#optimisation #hash #btree #indexes #postgresql #администрирование #администрирование_бд #индекс
[Перевод] Нетипичные оптимизации в PostgreSQL, или Креативное ускорение запросов
Когда речь заходит об оптимизации базы данных, разработчики обычно перечисляют привычный набор приёмов: слегка переписать запрос, накинуть индекс на колонку, денормализовать, сделать analyze, vacuum, cluster, и так по кругу. Классические техники, конечно, работают, но иногда креативный подход даёт гораздо больше. В этой статье Haki Benita показывает нетипичные техники оптимизации в PostgreSQL.
https://habr.com/ru/companies/postgrespro/articles/1001194/
#optimisation #hash #btree #indexes #postgresql #администрирование #администрирование_бд #индекс
How do B-tree indexes really work—and how should you tune them today (and tomorrow)?
Jakub Kužela dives into index access paths, skip scans, automated indexing, and the future of self-tuning databases. https://lnkd.in/dczDjfA8
#PostgreSQL #Indexes #Performance #P2D2
Index entries in Hilaire Belloc’s The Aftermath: Or, Gleanings From a Busy Life, 1903: Abingdon, History of, by Lord Charles Gamber, see Pulping, p. 187. Advertisement, Folly and Waste of, see Pulping, p. 187. All Souls, College of, see Pulping, p. 187. Cabs, Necessity of, to Modern Publisher, see Pulping, p. 187. Cabs to Authors, Unwarrantable Luxury, see Pulping, p. 187. Call, Divine, to a Literary Career, see Pulping, p. 187. Dogs, Reputation Going to the, see Pulping, p. 187. England, Source and Wealth of, see Pulping, p. 187. Fame, see Pulping, p. 187. Genius, Indestructibility of, see Pulping, p....
In 1951 G.V. Carey published a 15-page booklet called “Making an Index,” intended to guide new authors in preparing indexes for their books. When it was published, a friendly (.) suggested jokingly that the booklet might have benefited from an index of its own, in which Carey could have given “a full-dress demonstration of his principles.”
So, charmingly, Carey made one."
https://www.futilitycloset.com/2015/11/17/as-you-wish/
#indexes
In 1951 G.V. Carey published a 15-page booklet called “Making an Index,” intended to guide new authors in preparing indexes for their books. When it was published, a friendly reviewer in the Times Literary Supplement suggested jokingly that the booklet might have benefited from an index of its own, in which Carey could have given “a full-dress demonstration of his principles.” So, charmingly, Carey made one: In the second edition he added a 3-page index to his 15-page book, writing, “The reviewer, though he may have had his tongue in his cheek, has put the author on his mettle and...