Skip to content Skip to footer
0 items - $0.00 0

Searchcode.com’s SQLite database is probably 6 terabytes bigger than yours by polyrand

Searchcode.com’s SQLite database is probably 6 terabytes bigger than yours by polyrand

7 Comments

  • Post Author
    antithesis-nl
    Posted February 17, 2025 at 10:08 am

    Yup, they win. My biggest SQLite database is 1.7TB with, as of just now 2314851188 records (all JSON documents with a few keyword indexes via json_extract).

    Works like a charm, as in: the web app consuming the API linked to it returns paginated results for any relevant search term within a second or so, for a handful of concurrent users.

  • Post Author
    1f60c
    Posted February 17, 2025 at 10:30 am

    searchcode doesn't seem to work for me. All queries (even the ones recommended by the site) unfortunately return zero results. Maybe it got hugged?

    https://searchcode.com/?q=re.compile+lang%3Apython

  • Post Author
    bborud
    Posted February 17, 2025 at 10:32 am

    I've been using RWMutex'es around SQLite calls as a precaution since I couldn't quite figure out if it was safe for concurrent use. This is perhaps overkill?

    Since I do a lot of cross-compiling I have been using https://modernc.org/sqlite for SQLite. Does anyone have some knowledge/experience/observations to share on concurrency and SQLite in Go?

  • Post Author
    lokimedes
    Posted February 17, 2025 at 10:51 am

    I’ll bet you some CERN PhD student has a forgotten 100 TB detector calibration database in sqlite somewhere in the dead caverns of collaboration effort.

  • Post Author
    leighleighleigh
    Posted February 17, 2025 at 11:18 am

    I've been looking for a service just like searchcode, to try and track down obscure source code. All the best, hope it can be sustainable for you.

  • Post Author
    Alifatisk
    Posted February 17, 2025 at 11:21 am

    Is the site like grep.app?

  • Post Author
    feverzsj
    Posted February 17, 2025 at 11:26 am

    I'd consider no relational db scales reads vertically better than SQLite. For writes, you can batch them or distribute them to attached dbs. But, either way, you may lose some transaction guarantee.

Leave a comment

In the Shadows of Innovation”

© 2025 HackTech.info. All Rights Reserved.

Sign Up to Our Newsletter

Be the first to know the latest updates

Whoops, you're not connected to Mailchimp. You need to enter a valid Mailchimp API key.