ads

New best story on Hacker News: Redis re-implemented with SQLite

Redis re-implemented with SQLite
455 by tosh | 115 comments on Hacker News.


New best story on Hacker News: Show HN: PostgreSQL index advisor

Show HN: PostgreSQL index advisor
399 by kiwicopple | 95 comments on Hacker News.
This is a Postgres extension that can determine if a query should have an index. For example, for this table: create table book( id int primary key, title text not null ); You can run `index_advisor()` to see if there should be an index on a select statement: select * from index_advisor('select book.id from book where title = $1'); And it will return (summarized): {"CREATE INDEX ON public.book USING btree (title)"} It works particularly well with pg_stat_statements[0] which tracks execution statistics of all SQL statements executed on your Postgres database. It leans heavily on HypoPG[1], an excellent extension to determine if PostgreSQL will use a given index without spending resources to create them. [0] pg_stat_statements: https://ift.tt/jDySqtr... [1] https://ift.tt/ZEUh0qk

New best story on Hacker News: The FCC needs to stop 5G fast lanes

The FCC needs to stop 5G fast lanes
426 by rsingel | 311 comments on Hacker News.


New best story on Hacker News: XZ backdoor story – Initial analysis

XZ backdoor story – Initial analysis
398 by kryster | 248 comments on Hacker News.


New best story on Hacker News: Visualizing Attention, a Transformer's Heart [video]

Visualizing Attention, a Transformer's Heart [video]
491 by rohitpaulk | 60 comments on Hacker News.