SEqlite – Minimal Stack Exchange Data Dump in SQLite Format
seqlite.puny.engineering
SEqlite – Minimal Stack Exchange Data Dump in SQLite Format
1–10 of 13 posts
Re: SEqlite – Minimal Stack Exchange Data Dump in SQLite Format
#2Re: SEqlite – Minimal Stack Exchange Data Dump in SQLite Format
#3Re: SEqlite – Minimal Stack Exchange Data Dump in SQLite Format
#4Do you know if is there a place to host other of sqlite dumps? I mean from other websites? Recently I dumped the whole hackernews api and I got thinking about it.
Re: SEqlite – Minimal Stack Exchange Data Dump in SQLite Format
#5Re: SEqlite – Minimal Stack Exchange Data Dump in SQLite Format
#6I liked the idea. I think SQLite is very powerful way of storing and sharing data. But this site is only about Stack Exchange Network. Do you know if is there a place to host other of sqlite dumps? I mean from other websites? Recently I dumped the whole hackernews api and I got thinking about it.
Re: SEqlite – Minimal Stack Exchange Data Dump in SQLite Format
#7Can someone tell me how this is collected in SQLite
Presumably they have a script that does something similar to that process, and then writes the resulting data into a predefined table structure.
Re: SEqlite – Minimal Stack Exchange Data Dump in SQLite Format
#8I keep meaning to do the same thing with Wikipedia. Although the Wikipedia dumps are so inscrutably named and seemingly undocumented it seems the organization does not want me to pursue the idea.
Re: SEqlite – Minimal Stack Exchange Data Dump in SQLite Format
#9Can someone tell me how this is collected in SQLite
I wrote a blog post a while back about reading these dumps: https://search.feep.dev/blog/post/2021-09-04-stackexchange Presumably they have a script that does something similar to that process, and then writes the resulting data into a predefined table structure.
Yep, my process is similar. It goes...
- decompress (users|posts)
- split into batches of 10,000
- xsltproc the batch into sql statements
- pipe the batches of statements into sqlite in parallel using flocks for coordination
On my M1 Max it takes about 40 minutes for the whole network. Then I compress each database with brotli which takes about 5 hours.Re: SEqlite – Minimal Stack Exchange Data Dump in SQLite Format
#10I built one of these myself that I keep on my laptop. Never had real need to use it, but glad I have . I keep meaning to do the same thing with Wikipedia. Although the Wikipedia dumps are so inscrutably named and seemingly undocumented it seems the organization does not want me to pursue the idea.
Pulling useful content out of the dumps has been an exercise in frustration. I'm sure I could figure something out if I had a bunch of time to dedicate to the effort.
If I just had sqlite dumps they'd be trivial to work with and I'd be much happier with them.