extralite
extralite copied to clipboard
What happened to the Sequel adapter?
require 'extralight'
require 'sequel'
DB = Sequel.connect 'extralight://db.sqlite3'
table = DB[:some_table]
... alas ...
Sequel::AdapterNotFound: LoadError: cannot load such file -- sequel/adapters/extralight
used to work but now not so anymore, and https://github.com/jeremyevans/sequel/tree/master/lib/sequel/adapters matches that...
Whoops, my bad. Bad, bad typo. Sorry!!!
Funny enough I now learned that for some reason sqlite:// is faster at getting records out of a 23GB database than extralite:// is.
Can you include some code to show what you are doing? I'd like to investigate this.
Oh, you mean with regard to the speed thing, @ciconia ?
Sorry for the late reply, yes I'm talking about the speed thing.
Hi, no worries, but now it's for me to say sorry as I can't replicate what I thought I had seen a week ago. Here's what I'm doing with that 23GB database file, anyways:
https://gist.github.com/sixtyfive/83ed7504523e5ecb849375fd224168f0
If I should run across any behaviour again where extralight ends up being the slower adapter, I'll open a new Issue for that.