Parodia
  • Communities
  • Multi-communities
  • Support Lemmy
  • Search
  • Login
  • Sign Up
PostgreSQL@programming.devbycodeinabox@programming.dev
2 months

All you need is PostgreSQL

ebellani.github.io English
0
    Introduction The setup Laying the foundation The foundation: schemas and user roles for modularity Domains Accounts, managed and external Transfers, constrained by a state machine and temporal periods Transfer state history Account auditing Transactions, the immutable events On maintaining business rules via meaningful constraints The transfer state machine Transactions must fall within the transfer period Pending transactions require a pending transfer No future transactions when closing a transfer On capacity planning Working set estimation On write throughput Enabling HOT Updates for Transfers Making sure there are no Unused indexes OLTP Listing The history of a transfer OLAP Balance ledger Incremental maintenance via triggers On serializable isolation On decoupling Benchmarking the startup scenario Seed data Write script: full transfer lifecycle Read script: activity stream and balance Running the benchmark Results Conclusion Appendix A: Full code suite. Introduction There is a deep cultural reflex in modern engineering: whenever a problem appears, reach for a packaged solution instead of thinking from first principles. The result is architectural cargo culting and lots of missed opportunities. Some intentionally absurd-but-familiar examples:
    You must log in or register to comment.

    PostgreSQL@programming.dev

    postgresql@programming.dev

    Subscribe from remote instance

    Create post

    Report community

    Modlog
    You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !postgresql@programming.dev

    The world’s most advanced open source relational database

    Project
    • About (history)
    • Docs
    • Donate to PostgreSQL
    • Wiki
    • Planet PostgreSQL
    • IRC
    • Mailing lists:
      • pgsql-announce
      • pgsql-hackers (developers)
      • pgsql-general
      • pgsql-jobs
    • User Groups
    Events
    • SEAPUG Summer BBQ, 6 July in Seattle
    • SFBA PostgreSQL Meetup, 12 July
    • Chicago PostgreSQL Meetup, 19 July
    • PGDay UK 2023, 12 September in London
    • PGConf 2023, 3-5 October in New York City
    • PGDay Israel 2023, 19 October
    • PGConf.EU 2023, 12-15 December in Prague
    Podcasts
    • postgres.fm (feed)
    Related Fediverse communities
    • c/SQL on programming.dev
    • #sql on Mastodon
    • #postgresql on Mastodon
    Visibility: Public

    This community is visible to everyone.

    • 0 users / Day
    • 5 users / Week
    • 5 users / Month
    • 6 users / 6 months
    • 13 posts
    • 0 comments
    • 0 local subscribers
    • 2.2K subscribers
    • Mods:
    • Ategon@programming.dev
    • BE: 1.0.0-beta.1
    • Modlog
    • Legal
    • Instances
    • Docs
    • Code
    • join-lemmy.org