latest news

in this website, we will provide you all new latest news

  • Home
  • Business
    • Internet
    • Market
    • Stock
  • Parent Category
    • Child Category 1
      • Sub Child Category 1
      • Sub Child Category 2
      • Sub Child Category 3
    • Child Category 2
    • Child Category 3
    • Child Category 4
  • Featured
  • Health
    • Childcare
    • Doctors
  • Home
  • Business
    • Internet
    • Market
    • Stock
  • Downloads
    • Dvd
    • Games
    • Software
      • Office
  • Parent Category
    • Child Category 1
      • Sub Child Category 1
      • Sub Child Category 2
      • Sub Child Category 3
    • Child Category 2
    • Child Category 3
    • Child Category 4
  • Featured
  • Health
    • Childcare
    • Doctors
  • Uncategorized

Thursday, 22 April 2021

New top story on Hacker News: Ask HN: Is there a way to efficiently subscribe to an SQL query for changes?

 Champ     18:23     Hacker News     No comments   

Ask HN: Is there a way to efficiently subscribe to an SQL query for changes?
41 by vaughan | 23 comments on Hacker News.
I know [RethinkDB][1] used to do this with their SQL-like ReQL language, but I looked around a bit and can't find much else about it - and I would have thought it would be more common. I'm more interesting in queries with joins and doing it efficiently, instead of just tracking updates to tables that are modified, and re-rerunning the entire query. If we think about modern frontends using SQL-based backends, essentially every time we render, its ultimately the result of a tree of SQL queries (queries depend on results of other queries) running in the backend. Our frontend app state is just a tree of materialized views of our database which depend on each other. We've got a bunch of state management libraries that deal with trees but they don't fit so well with relational/graph-like data. I came across a Postgres proposal for [Incremental View Maintenance][2] which generates a diff against an existing query with the purpose of updating a materialized view. Oracle also has [`FAST REFRESH`][3] for materialized views. I guess it's relatively easy to do until you start needing joins or traversing graphs/hierarchies - which is why its maybe avoided. EDIT: [Materialize][1] looks interesting in this space: "Execute streaming SQL Joins" but more focused on the event streams rather than general-purpose DML/OLTP. [1]: https://ift.tt/32z6nkG [2]: https://ift.tt/305Xtvu [3]: https://ift.tt/3dFUX51 [4]: https://ift.tt/3g2klkX

  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Email ThisBlogThis!Share to XShare to Facebook
Newer Post Older Post Home

0 comments:

Post a Comment

Popular Posts

  • ē®€ęŠ„:äø­ē¾Žå‘č”Øåŗ”åÆ¹ę°”å€™å±ęœŗč”åˆå£°ę˜Ž;åŒ»ē”Ÿē§°ēŗ³ē“¦å°”å°¼ē—…å±
    By BY EMILY CHAN AND KONEY BAI from NYT World https://ift.tt/3dva1lP via IFTTT
  • New York Post Reporter Who Wrote False Kamala Harris Story Resigns
    By BY MICHAEL M. GRYNBAUM from NYT Business https://ift.tt/3aKd8Ex via IFTTT
  • New top story on Hacker News: Visa and Mastercard are getting overwhelmed by gamer fury over censorship
    Visa and Mastercard are getting overwhelmed by gamer fury over censorship 181 by mrzool | 134 comments on Hacker News.
  • New top story on Hacker News: The Power of Starting Again
    The Power of Starting Again 10 by memorable | 2 comments on Hacker News.
  • New top story on Hacker News: Organic Maps migrates to Forgejo due to GitHub account blocked by Microsoft
    Organic Maps migrates to Forgejo due to GitHub account blocked by Microsoft 30 by mraniki | 8 comments on Hacker News.
  • New top story on Hacker News: Ask HN: How to be productive with big existing code base
    Ask HN: How to be productive with big existing code base 134 by maheshs | 103 comments on Hacker News. I have just started working with o...
  • New top story on Hacker News: My Experience with Claude Code After 2 Weeks of Adventures
    My Experience with Claude Code After 2 Weeks of Adventures 3 by dejavucoder | 0 comments on Hacker News.
  • New top story on Hacker News: Ask HN: Who wants to be hired? (July 2025)
    Ask HN: Who wants to be hired? (July 2025) 13 by whoishiring | 82 comments on Hacker News. Share your information if you are looking for ...
  • New top story on Hacker News: Nuclear Waste Reprocessing Gains Momentum in the U.S.
    Nuclear Waste Reprocessing Gains Momentum in the U.S. 14 by rbanffy | 4 comments on Hacker News.
  • New top story on Hacker News: The Supernatural Sheep of Slovenia’s Door-to-Door Carnival
    The Supernatural Sheep of Slovenia’s Door-to-Door Carnival 8 by Thevet | 1 comments on Hacker News.

Recent Posts

Categories

  • BBC News
  • BBC News - Technology
  • BBC News - World
  • BOLLYWOOD Jagran Hindi News - entertainment:bollywood
  • CBNNews.com
  • CLASS 10 BEST BOOKS FOR BECOME A TOPPER
  • CRICKETJagran Hindi News - cricket:headlines
  • FOX NEWS
  • Hacker News
  • INDIAJagran Hindi News - news:national
  • NYT
  • Reuters: World News

Unordered List

Pages

  • Home

Text Widget

Blog Archive

  • ►  2026 (37)
    • ►  January (37)
  • ►  2025 (738)
    • ►  December (53)
    • ►  November (52)
    • ►  October (60)
    • ►  September (61)
    • ►  August (63)
    • ►  July (71)
    • ►  June (64)
    • ►  May (71)
    • ►  April (61)
    • ►  March (66)
    • ►  February (51)
    • ►  January (65)
  • ►  2024 (756)
    • ►  December (73)
    • ►  November (69)
    • ►  October (64)
    • ►  September (58)
    • ►  August (71)
    • ►  July (63)
    • ►  June (63)
    • ►  May (64)
    • ►  April (64)
    • ►  March (66)
    • ►  February (35)
    • ►  January (66)
  • ►  2023 (1593)
    • ►  December (64)
    • ►  November (69)
    • ►  October (80)
    • ►  September (112)
    • ►  August (111)
    • ►  July (129)
    • ►  June (135)
    • ►  May (181)
    • ►  April (173)
    • ►  March (189)
    • ►  February (166)
    • ►  January (184)
  • ►  2022 (2295)
    • ►  December (177)
    • ►  November (178)
    • ►  October (202)
    • ►  September (194)
    • ►  August (194)
    • ►  July (198)
    • ►  June (184)
    • ►  May (186)
    • ►  April (195)
    • ►  March (184)
    • ►  February (183)
    • ►  January (220)
  • ▼  2021 (7845)
    • ►  December (335)
    • ►  November (635)
    • ►  October (656)
    • ►  September (636)
    • ►  August (713)
    • ►  July (713)
    • ►  June (690)
    • ►  May (707)
    • ▼  April (690)
      • Tom Brady Charted a New Path. Aaron Rodgers Strugg...
      • Judge and Cole Dominate as Yankees Crush Tigers
      • New top story on Hacker News: P&G Flocculant/Disin...
      • New top story on Hacker News: Florida plans to fin...
      • New top story on Hacker News: What Is Constructor ...
      • New top story on Hacker News: Disney gets special ...
      • New top story on Hacker News: True, False, and Ran...
      • India's over-18s vaccination to start
      • New top story on Hacker News: SSD Makers Start War...
      • New top story on Hacker News: Legal documents from...
      • Covid: Australians could face jail or fines if the...
      • New top story on Hacker News: OpenBSD Version 6.9
      • Florida plans to fine social media for banning pol...
      • Singapore: What's it like in the best place to liv...
      • Covid: Pakistan fears 'Impending doom' threatens P...
      • How a Nigerian mother fought to hold on to her chi...
      • Alaska's first CSI takes on blood and burglaries i...
      • India's Covid vaccine shortage: The desperate wait...
      • France-Algeria relations: The lingering fallout fr...
      • New top story on Hacker News: Show HN: Serverless ...
      • New top story on Hacker News: Researchers Demo Pot...
      • New top story on Hacker News: Build a giant live s...
      • Elliot Page on Oprah Winfrey: Transition surgery '...
      • Film Club: ‘Sensations of Sound’
      • Pence, in his first speech since leaving office, s...
      • The 49ers grab Trey Lance with the third pick.
      • The Jets Try to Find a Quarterback … Again
      • A look at the Jets’ history of futility at quarter...
      • With Zach Wilson, the Jets hope to end their decad...
      • The Jaguars make it official with Trevor Lawrence ...
      • New top story on Hacker News: Habitual coffee drin...
      • Israel stampede: Dozens killed in crush at religio...
      • Patrick Surtain II has a PS2 controller pendant.
      • Roger Goodell’s armchair is coming to Cleveland.
      • Roger Goodell gave his first public statement on t...
      • New top story on Hacker News: The story BCG offere...
      • India Covid: A nurse's story of fighting the virus
      • Australians stuck overseas 'abandoned' by their ow...
      • Quiz of the week: Oscar-winner ChloĆ© Zhao, pricey ...
      • Xueli Abbing: The abandoned baby who became a Vogu...
      • The ransomware surge ruining lives
      • 'It's your device, you should be able to repair it'
      • Africa's week in pictures: 23-29 April 2021
      • World's longest pedestrian suspension bridge to op...
      • 'Heartbreaking' return to St Vincent's volcano-hit...
      • Ransomware gangs target firms, schools and hospitals
      • Man Caught Smuggling 35 Songbirds Into J.F.K. Airp...
      • Analysis: Biden is betting the pandemic has reset ...
      • Watch President Biden’s address to a joint session...
      • Did the 2020 Census Undercount the Hispanic Popula...
      • New top story on Hacker News: The United States Ne...
      • Zac Easter: He left his brain behind to save other...
      • Paul Kellogg, New York City Opera Impresario, Dies...
      • Biden Seeks Shift in How the Nation Serves Its People
      • 3 Indicted on Federal Hate Crime Charges in Ahmaud...
      • Amazon to raise pay for 500,000 workers.
      • Biden, Calling for Big Government, Bets on a Natio...
      • Ron DeSantis Does Disease
      • New top story on Hacker News: Brazil Rejects the G...
      • New top story on Hacker News: Fortnite’s cash cow ...
      • New top story on Hacker News: Game Engine Black Bo...
      • New top story on Hacker News: Google is saving $1B...
      • New top story on Hacker News: Court: ‘ghost gun’ p...
      • New top story on Hacker News: A theory of how deve...
      • Covid: Turkey prepares for its first full lockdown
      • They are killing our forest, Brazilian tribe warns
      • The 'forgotten' Afghan refugees taking their own l...
      • India Covid-19: Deadly second wave spreads from ci...
      • Covid in India: Sikh temple offers drive-through o...
      • New York Post Reporter Who Wrote False Kamala Harr...
      • Councilman Who Pleaded Guilty to $82,000 Tax Fraud...
      • New top story on Hacker News: Facebook approves al...
      • New top story on Hacker News: AMD Reports Q1 2021 ...
      • Mon Laferte: Chile's pop export on repression and ...
      • Kuwait: Murder spurs demands for greater safety fo...
      • Kenyans bitter over al-Qaeda US embassy compensati...
      • Why India's Covid crisis matters to the whole world
      • India coronavirus: Can it make enough vaccines to ...
      • Hungary Transfers 11 Universities to Foundations L...
      • Mike Pence and Kellyanne Conway are among those wh...
      • New top story on Hacker News: Dominance of Apple a...
      • New top story on Hacker News: Implementing HDB: Th...
      • Coronavirus cases are surging in Oregon.
      • Prosecutors are said to have sought an aggressive ...
      • ‘There Is a Tension There’: Publishers Draw Fire f...
      • In a Locked-Down Capitol, Biden Will Address a Spa...
      • C.D.C. Eases Outdoor Mask Guidance for Vaccinated ...
      • Biden Underpromises, Overdelivers
      • Times Event: How to Save Ourselves From Disinforma...
      • India Covid: 'Sister help us, doctor help us – you...
      • Why a US photographer says 'sorry for the war'
      • Birds of Oz: The charming natives that found TikTo...
      • New top story on Hacker News: Relationship Hero (Y...
      • New top story on Hacker News: Nobody cares about y...
      • New top story on Hacker News: Supreme Court to Dec...
      • New top story on Hacker News: EV Charging Infrastr...
      • Five things to know about Apple's iOS update
      • Campaign to Recall Gov. Gavin Newsom Qualifies for...
      • Race and the Coming Liberal Crackup
      • Marco Rubio’s ‘Woke Capital’ Tantrum
    • ►  March (713)
    • ►  February (644)
    • ►  January (713)
  • ►  2020 (8315)
    • ►  December (713)
    • ►  November (688)
    • ►  October (614)
    • ►  September (690)
    • ►  August (713)
    • ►  July (713)
    • ►  June (690)
    • ►  May (713)
    • ►  April (690)
    • ►  March (711)
    • ►  February (667)
    • ►  January (713)
  • ►  2019 (19506)
    • ►  December (712)
    • ►  November (689)
    • ►  October (712)
    • ►  September (681)
    • ►  August (712)
    • ►  July (713)
    • ►  June (689)
    • ►  May (2935)
    • ►  April (2907)
    • ►  March (3014)
    • ►  February (2731)
    • ►  January (3011)
  • ►  2018 (21108)
    • ►  December (3036)
    • ►  November (2927)
    • ►  October (3024)
    • ►  September (2931)
    • ►  August (3016)
    • ►  July (3033)
    • ►  June (2790)
    • ►  May (350)
    • ►  March (1)

About Me

Champ
View my complete profile
Powered by Blogger.

Sample Text

Copyright © latest news | Powered by Blogger
Design by Hardeep Asrani | Blogger Theme by NewBloggerThemes.com