Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Perl DBI for MariaDB v SQLite in a Single Use SBC

by marto (Cardinal)
on Mar 19, 2023 at 11:16 UTC ( [id://11151066]=note: print w/replies, xml ) Need Help??


in reply to Perl DBI for MariaDB v SQLite in a Single Use SBC

I don't understand your SQLite concern, is it purely that it doesn't ship with a tool to import fixed width data? I often wrap (or have to wrap) such loads from various sources in a perl script, so that I can apply some logic and error handling when inserting millions of rows into SQLite. This isn't a lot of work and it allows for greater control. Depending on what your code is like SQLite would likely perform better than MariaDB on lower end SBCs. For context I use SQLite with a Mojolicious front end, I recreate the data on a nightly basis, millions of rows, it performs very well.

Regarding how to replicate your system from emmc to sd card, you could use dd to create an image you'd then write the target sd cards.

  • Comment on Re: Perl DBI for MariaDB v SQLite in a Single Use SBC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11151066]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-19 13:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found