r/Database • u/Reasonable-Tour-8246 • 16d ago
Is it worth learning more about database internals right now? (9 months in it)
For the past 9 months, I have been learning about databases purely about them. I started off focusing on database administration concept, then switched over to database internals. I began by understanding how hard disks and RAM actually work, and since then I tried to built my own page manager, buffer pool manager, and heap manager.
I want to keep learning, so I would love to get some answers on a few things from indrustry experts:
- Is it worth learning database internals right now, especially in today's AI era?
- Are there actual jobs for this kind of role?
- What is the typical salary range for remote jobs in this niche?
- What should I focus on learning next to get really good at this?
Thanks in advance for any advice!
4
u/Ok-Thought767 14d ago
yes, i would say it is worth it. you can go for database engineering and distributed systems. i would suggest you to learn transaction processing and query optimization afterward. also make a small database engine to practice concepts.
2
u/Reasonable-Tour-8246 14d ago
Thanks very much đ. I have started just started out with some few concept from bottom to the top. Most concept I have tried to borrow them for the kernel books like memory management and how file management works.
After having fundamentals well I would love to know how contribution to open source projects works?(Especially PostgreSQL)
2
u/Ok-Thought767 13d ago
you can start looking through its open issues and do beginner friendly contributions on GitHub. you dont need to start with any complex issues, start with the one which you think you can solve and slowly move to complex contributions
2
u/ChosenToFall 14d ago edited 14d ago
it depends, did you have already established background as a backend/fullstack dev experience to deepening your knowledge on backend architecture or you are just coming from a different background and starting from scratch? whatâs your background itâs not very clear.
2
u/Reasonable-Tour-8246 14d ago
I have a background in computer science mostly specializing in backend development.
11
u/DavidMunDev 16d ago
not an internals expert so can't help with the salary stuff, but imo it's worth it *more* now, not less. AI writes code that looks right all the time, and knowing what's actually happening underneath is how you catch when it's subtly wrong
1
u/Pleasant-Fun-9274 16d ago
Database internals roles are niche and highly competitive, but the skill set directly translates to performance engineering which pays well. Look for titles like Database Performance Engineer or Storage Systems Developer at companies building infrastructure rather than just application layers.
-1
u/az987654 16d ago
No
The job market is in shambles.
Learn the internals of plumbing or welding.
2
u/look 16d ago
Knowledgeable engineersâones who âwant to keep learningââare very much still in high demand.
1
u/az987654 16d ago
Entry level engineers are not
1
u/AffectionateMix3146 16d ago
lmk if you know a better way to jump from entry level knowledge to senior
1
u/az987654 16d ago
I know you want to blame the messenger, but the truth of the matter is there are no entry level jobs at the moment, it is abysmal.
3
u/AffectionateMix3146 15d ago
What? I wasn't trying to argue anything like that at all. My point was dude is trying to learn and that's how you get to be more advanced, and I don't think it's right to discourage anyone from learning anything. Who knows where the path will take them. I hear you though.
1
u/az987654 15d ago
I'm trying to save OP heartache and underemployment or unemployment, if you're at a point where you can steer your future, steer away from IT
2
u/DickBrainTime 16d ago
Since you've already built a page manager, buffer pool and heap manager, the next useful milestone would be making a small storage engine survive failures, not just learning another concept. Add a write-ahead log and recovery path, then deliberately kill the process at different points around a commit and test which records survive. After that, implement a B+ tree with split/merge tests, a simple transaction/isolation model, and buffer-pool hit/miss measurements so you can compare scans against indexed lookups. Reading SQLite's pager/B-tree or PostgreSQL's WAL/buffer manager alongside your own implementation will show you which compromises a production engine has to make.
Those skills map to storage-engine, database systems, distributed KV, query-execution and performance-engineering roles, and also make you stronger in backend work. Pure entry-level internals jobs are narrower than general backend roles, though, so a reproducible project with correctness/crash tests and clear benchmarks is better evidence than saying you've studied internals for nine months. I wouldn't give a credible remote salary number without your country, seniority and target companies; those ranges vary enormously. Are you more interested in crash-consistent storage or in query planning/optimization? That choice would guide your next substantial project.
2
u/Reasonable-Tour-8246 16d ago
Thanks for the detailed roadmap man.
I am based in Tanzania. Locally, pure database internals or storage-engine roles basically don't exist. The closest roles here are traditional sysadmin or DBA positions at banks or telecoms, where salaries usually cap out under $1,000/month. That's a big reason why I am aiming to build strong enough proof-of-work to compete for remote roles or open-source fellowships globally, rather than relying only on the local market.
2
u/DickBrainTime 16d ago
That makes sense. If Tanzania has very few roles working directly on storage engines, I'd keep your internals project as proof of systems ability, but pair it with evidence that you can work in an existing codebase. Pick one active project whose issue tracker you can follow (PostgreSQL, DuckDB or RocksDB, for example), reproduce a small bug, add a regression test, and work toward a focused upstream PR. Even a well-reviewed test or documentation improvement is a good start; you don't need to land a major engine feature first.
For your own engine, make the work easy for someone abroad to verify: a one-command build/test setup, crash-recovery cases that intentionally kill the process, benchmarks with the workload and hardware stated, and a short write-up explaining a tradeoff you discovered. Link the repo, reproducible results and any upstream contributions on your CV. I'd also search adjacent remote roles under database performance, data infrastructure, storage systems and backend/platform engineering, not only "database internals". Many remote vacancies still restrict countries or time zones, so check that before investing in an application.
For mentorships, Google Summer of Code and LFX Mentorship are worth checking through their official current program pages, but cohort dates, requirements, stipends and eligibility vary; I wouldn't assume acceptance or a particular income. Which language is your engine in, and have you made any upstream contribution yet?
2
u/Reasonable-Tour-8246 16d ago
My engine is written purely in C. I wanted to force myself to manage manual memory allocation, page layouts, pointer arithmetic, and raw file descriptors directly without any abstractions hiding what the OS is doing. I hope there might be plenty of companies still preferring C out there.
Also, I have not yet made an upstream contribution so far, almost all of my time has gone into building my own engine from scratch and doing other stuffs.
3
u/DickBrainTime 16d ago
Writing the engine in C makes sense for what you're trying to learn: page layouts, memory ownership and raw I/O are exactly the parts worth understanding. I wouldn't assume that using C automatically opens lots of jobs, though. C is still used in database and other systems software, but the stronger signal for systems roles is whether you can debug, test and explain concurrency, storage and failure behavior, not just pointer arithmetic.
A useful next milestone for your own repo: run debug builds with AddressSanitizer and UndefinedBehaviorSanitizer, test malformed/truncated pages, and write a crash/restart test that terminates the process at different points during a write and verifies the reopened state. Include a one-command test setup and a short note explaining ownership and durability choices. For your first upstream work, choose an active C codebase with a documented review process (PostgreSQL or Valkey are examples), reproduce a small issue, then start with a failing regression test or narrow fix rather than a big feature. A small reviewed contribution proves collaboration as well as C ability. Have you started WAL and crash recovery yet, or are you still building the page/heap layer?
5
u/elephant_ua 16d ago
What's your background?
I think, if you reeeealy interested in internals, you learn c (++), and going into system engineer focus tree. But it is hard and requires lots of knowledge, imho.