AskUbuntu · @askubuntu
232 followers · 1719 posts · Server ubuntu.social

Installing DBSqlite Browser on Ubuntu

askubuntu.com/q/1485104/612

#database #sqlite3

Last updated 1 year ago

Tommy Kavanagh · @ancatdubh
309 followers · 1383 posts · Server mastodon.ie

Came across this nugget last night which was news to me. Some useful reading in the docs. More testing later.

Autoincrement

"The AUTOINCREMENT keyword imposes extra CPU, memory, disk space, and disk I/O overhead and should be avoided if not strictly needed. It is usually not needed."
sqlite.org/autoinc.html#:~:tex.

#sqlite #sqlite3

Last updated 1 year ago

Hrefna (DHC) · @hrefna
1321 followers · 5134 posts · Server hachyderm.io

The shim is going to be _very_ thin because I don't need to swap runtime databases and can do a little work when I switchover, though maintaining the ability to run against something like would be nice just for demo purposes.

I've gone back and forth around whether I could use a non-relational database, but RDBMS are known quantities, SQL is such a well established language (even with variants and quirks), and creating a shim like this to swap between NoSQL systems is… nontrivial.

#sqlite3

Last updated 1 year ago

Tommy Kavanagh · @ancatdubh
307 followers · 1373 posts · Server mastodon.ie

@chfkch Not yet been an issue for me. running some 24x7 and haven't yet had a corrupted SD card. They're not particularly taxed (wake up each 5 minutes, do something, write to a database, and return to sleep). One running for 8 months like that, a second running for maybe 2 years like that. Raspbian on one (yes, it's been about for a while) , RPiOS on the other. No corruption thus far.

#sqlite3

Last updated 1 year ago

guites · @guites
42 followers · 332 posts · Server bolha.us

nao suporta adição de foreign key em tabela já existente?? I'm heart broken :blobcatmeltcry:

#sqlite3

Last updated 1 year ago

BohwaZ · @bohwaz
511 followers · 3588 posts · Server mamot.fr

My contribution to 8.3 (beta3 will be released next week): deprecate warnings in extension, in favor of exceptions.

See RFC: wiki.php.net/rfc/sqlite3_excep

Next target: I'll be trying to implement the authorizer and other missing features in PDO\SQLite for PHP 8.4, if I have time.

#php #sqlite3 #sqlite

Last updated 1 year ago

Kévin ⏚ · @kc
103 followers · 2396 posts · Server social.coop

Has anybody anywhere been able to get a database to import to a 8 server without being a total asshole ? The sql conversion refuses to import giving me errors on syntax for table creation, the sqlite2mysql errors out in the middle of the transfer for no reason w8.sus.fr/tag/SQLite3

#sqlite3 #mysql

Last updated 1 year ago

AskUbuntu · @askubuntu
201 followers · 1730 posts · Server ubuntu.social

Ubuntu 20.04 has no installation candidate for php8.1-sqlite #2004

askubuntu.com/q/1480207/612

#php #sharedlibrary #sqlite3

Last updated 1 year ago

AskUbuntu · @askubuntu
78 followers · 2079 posts · Server ubuntu.social

In Ubuntu 22.04.2 LTS, what is the connection between Evolution, Berkeley DB and SQLite format 3?

askubuntu.com/q/1465012/612

#evolution #sqlite3 #berkeleydb

Last updated 2 years ago

AskUbuntu · @askubuntu
78 followers · 2075 posts · Server ubuntu.social

What is the connect between Evolution Database Server, Berkeley DB and SQLite format 3?

askubuntu.com/q/1465012/612

#evolution #sqlite3 #berkeleydb

Last updated 2 years ago

aegilops :github::microsoft: · @aegilops
134 followers · 485 posts · Server fosstodon.org

Via a colleague:

Heads up for SQLite3 users: DO NOT upgrade to 3.40+. The query planner improvements cause massive performance regressions for many users. Wait for 3.42 or stay with 3.39. We're talking ~ms to multiple seconds for the same query.

#sqlite #sqlite3

Last updated 2 years ago

Maxim Lebedev · @toby3d
127 followers · 1141 posts · Server mstdn.io

Almost done: source.toby3d.me/toby3d/hub

The websub.rocks tests are passed, all that remains is to add storage, since the hub currently stores all its subscriptions in memory.

The plan is to add a statistics page for topics and softer delivery of stuck subscriptions not every second, but with delays in steps twice as long as the previous one.

#sqlite3 #websub

Last updated 2 years ago

· @lamitpObuS
33 followers · 417 posts · Server troet.cafe

@rotnroll666 @georgberky
q is a binary wrapper around .

It brings a bit of the (just learned today about it ;-) ) functionality.

In sqlite if you want to use a csv file without a header column, the only way seems to be (at least I couldn't find one without using "create table" first)

create table table1 (columns ...)
.import your.csv table1

where with q you can directly query from the CSV file

select * from your.csv

#duckdb #sqlite3

Last updated 2 years ago

AskUbuntu · @askubuntu
58 followers · 2282 posts · Server ubuntu.social
diub · @diub
1 followers · 3 posts · Server mastodontech.de

diub.SQlite3
Eine einfache Wrapper-Klasse für (sqlite3.dll) .

Quellcode: github.com/diub/diub.SQlite3

usage see: kodierecke.diub.de/de/csharp/d

A simple wrapper class for direct use of (sqlite3.dll).

The implementation is not a universal interface! Only the basic functionalities are spread, but these in a convenient way.

All fields, which should be stored in the table, must be public!

#csharp #sqlite3 #sqlite

Last updated 2 years ago

Daniel Nordhoff-Vergien · @dve
29 followers · 292 posts · Server norden.social

@rotnroll666

@starbuxman

"Why so many software" as the filename of - software. Thanks for making me smile in the morning

#sqlite3 #csv #sql

Last updated 2 years ago

Michael Simons · @rotnroll666
781 followers · 766 posts · Server mastodon.social

Yesterday I saw a nice stream by @starbuxman about Spring Batch and analyzing a video game sales data set and I thought: Can we do with less software? We can.

Analyze the "vgsales.csv" data set with sqlite3 and curl alone:
gist.github.com/michael-simons

Description of the dataset here kaggle.com/datasets/gregorut/v

Output in the attached image

#sqlite3 #csv #sql

Last updated 2 years ago

😡😡🤬

Python.SQLite3 – Quando gli sviluppatori sono distratti e tu perdi ore a capire perché diamine le cose non funzionano!! 😡

bulk.jcsh.eu/quando-gli-svilup

#python3 #sqlite3

Last updated 2 years ago

Damn python's sqlite3 module (DB-API 2.0 interface for SQLite databases😡😡😡

If you open a file of ANY type with:

     import sqlite3

try:
connection = sqlite3.connect(FileName)
except sqlite3.DatabaseError:
return False

return true

You will not receive false returns as we would expect! The .connect API just opens the file WITHOUT any content consistency testing!!

So whether you open an sqlite database, or a cookie granny recipe file, it won't generate any traps through the try: making it look like it's a valid SQLite database file anyway!!!

The safest way I've found to test that it REALLY is a sqlite database file is as follows:

   with open(DbFileName,'r', encoding = "ISO-8859-1") as f:
header = f.read(16)
if header.startswith('SQLite format 3'):
return True
else:
return False

I wasted hours figuring out why the heck my SQLite database verify function failed the test!!!!

#python #sqlite3

Last updated 2 years ago

alexanderadam · @alexanderadam
335 followers · 3582 posts · Server ruby.social

RT @luislavena@twitter.com

Today had some fun when I tried to add support for automatic PRAGMAs configuration to crystal-sqlite3. Did a recording of the season and will send a PR tomorrow. 😊
youtu.be/cZgsB1K_HVQ

🐦🔗: twitter.com/luislavena/status/

#crystallanguage #crytallang #sqlite3

Last updated 2 years ago