Re: [sqlite] Searching with like for a specific start letter

2010-04-26 Thread Alberto Simões
Just to complete the thread, I decided for the following: SELECT substr(normalized,1,1) AS letter, COUNT(*) from entry group by letter order by letter; Thank you ALL! 2010/4/26 Alberto Simões <hashas...@gmail.com>: > Hello > > Thank you all for the answers. > > On Mon, Apr

Re: [sqlite] Searching with like for a specific start letter

2010-04-26 Thread Alberto Simões
the like > > > Is there any way to make this query faster? It is taking about 10 > second for 140K entries. > > One idea is to add a column named 'letter' and SELECT COUNT(letter) > from dictionary WHERE letter = 'a'. > But are there other solutions? > > Thanks > -- >

[sqlite] Searching with like for a specific start letter

2010-04-25 Thread Alberto Simões
ay to make this query faster? It is taking about 10 second for 140K entries. One idea is to add a column named 'letter' and SELECT COUNT(letter) from dictionary WHERE letter = 'a'. But are there other solutions? Thanks -- Alberto Simões ___ sqlite-use

Re: [sqlite] Backuping SQLite database in VC system

2010-03-16 Thread Alberto Simões
Hello 2010/3/16 Alberto Simões <hashas...@gmail.com>: > Hello > > I was pondering to backup an SQLite database using a version control > system (probably SVN). Of course that if I add the binary file SVN > will diff the entire file. That is not a good option. > > I

[sqlite] Backuping SQLite database in VC system

2010-03-16 Thread Alberto Simões
: - any comment on this? is it just stupid? - if it is not stupid, how can I dump a full sqlite database to a text file that could be used later to restore the database? Cheers ambs -- Alberto Simões ___ sqlite-users mailing list sqlite-users@sqlite.org http

Re: [sqlite] String Vs Integer Index

2010-02-10 Thread Alberto Simões
ble (from string to integer). But probably the best is to try and compare :P > > On Wed, Feb 10, 2010 at 15:38, Simon Slavin <slav...@bigfraud.org> wrote: > >> >> On 10 Feb 2010, at 5:19pm, Alberto Simões wrote: >> >> > I know I can benchmark myself this question, b

[sqlite] String Vs Integer Index

2010-02-10 Thread Alberto Simões
? Thanks -- Alberto Simões ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Temporal SQLite database

2009-09-16 Thread Alberto Simões
ssage- > From: sqlite-users-boun...@sqlite.org [mailto: > sqlite-users-boun...@sqlite.org] On Behalf Of Alberto Simões > Sent: Tuesday, September 15, 2009 4:38 AM > To: General Discussion of SQLite Database > Subject: [sqlite] Temporal SQLite database > > Dear SQLite users, > &

[sqlite] Temporal SQLite database

2009-09-15 Thread Alberto Simões
Dear SQLite users, I am preparing a temporal database. Basically, entries will have a compound key composed by the real key and some kind of time stamp. This is not complicated to do, but I would like to know if anybody did something similar and if: - used the number of non-leap seconds since

Re: [sqlite] SQLite 3.6.17

2009-09-04 Thread Alberto Simões
recompile sqlite with it (check another e-mail mine about how to compile sqlite with a different readline version). It will work :) -- Alberto Simões ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] SQLite 3.6.17

2009-09-02 Thread Alberto Simões
on.co.uk> wrote: > > > > On 2 Sep 2009, at 2:39pm, Alberto Simões wrote: > > > >> Can you please send me your env? > > > > It works fine for me on Leopard, and I have done no special > > environment setting at all: I use the default Unix settings and the > &

[sqlite] Compiling SQLite with custom readline

2009-09-02 Thread Alberto Simões
ntation line clearer, probably with an example of what is expected. Oh, by the way, the non-ascii characters are now recognized :) Cheers Alberto -- Alberto Simões ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mai

Re: [sqlite] SQLite 3.6.17

2009-09-02 Thread Alberto Simões
gt; > > > sqlite-imac:bld drh$ ./sqlite3 > SQLite version 3.6.17 > Enter ".help" for instructions > Enter SQL statements terminated with a ";" > sqlite> create table t1(x); > sqlite> insert into t1 values('

Re: [sqlite] SQLite 3.6.17

2009-09-02 Thread Alberto Simões
" > sqlite> create table t1(x); > sqlite> insert into t1 values('Alberto Simões ξ € 夷'); > sqlite> select * from t1; > Alberto Simões ξ € 夷 > sqlite> > > It worked for me before. No idea what is happenning. Can you please send me your env? Thank you Alberto -- Al

[sqlite] SQLite 3.6.17

2009-09-02 Thread Alberto Simões
-- Alberto Simões ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Near misses

2009-07-01 Thread Alberto Simões
Hello 2009/6/26 Alberto Simões <hashas...@gmail.com>: > I am trying to find words in a dictionary stored in sqlite, and trying > a near miss approach. > For that I tried an algorithm to create patterns corresponding to > Levenshtein distance of 1 (edit distance of 1). > Th

Re: [sqlite] Near misses

2009-06-28 Thread Alberto Simões
ously outperform any SQL > solution by a large factor. > > I can't promise a very clean version tomorrow but just mail if you're > interested in the C source. You could tailor it to your precise needs > easily. I can't help and test it in the next few days. But I would be happ

Re: [sqlite] Near misses

2009-06-26 Thread Alberto Simões
On Fri, Jun 26, 2009 at 3:43 PM, Simon Slavin<slav...@hearsay.demon.co.uk> wrote: > > On 26 Jun 2009, at 12:25pm, Alberto Simões wrote: > >> one adition, one remotion or one substitution > > I am always amazed at how well people use English.  For your word > 'remoti

Re: [sqlite] Near misses

2009-06-26 Thread Alberto Simões
dict where closeEnough(word, 'car'); Hmms, need to check how to do that. But that would mean call the function to all words in the database (110K atm). > I also don't see why you need DISTINCT. Do you have duplicate words in > dict? Yes, I have. Forgot to explain ;) Thanks -- Alberto Simões ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

[sqlite] Near misses

2009-06-26 Thread Alberto Simões
ecially because the speed is proportional to the word size). Any hint on how to speed up this thing? THank you Alberto -- Alberto Simões ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

[sqlite] SQLite 80x15 badge.

2009-06-06 Thread Alberto Simões
Hello If anyone find it interesting, please use. http://dicionario-aberto.net/sqlite-db.png Also, be free to put it on sqlite.org or something. Cheers Alberto -- Alberto Simões ___ sqlite-users mailing list sqlite-users@sqlite.org http

Re: [sqlite] Fixing a database - solved

2009-04-22 Thread Alberto Simões
n't >> edit it. I get Disk I/O error. The disk is not full. > > You don't have write permissions to the file, perhaps? It had to be mine stupidity. I was testing as root, and as root I have disk space. As user I don't (root quota). Thanks and sorry for the gen

[sqlite] Fixing a database

2009-04-22 Thread Alberto Simões
value. But not sure :) Thank you Alberto -- Alberto Simões ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] disk I/O error...?

2009-04-11 Thread Alberto Simões
s, it should probably be inside the database file. Is there anyway to 'clean' a database status? Thank you Alberto > > To me, it should be a permission error instead, to make it clear > what's going on. > > Jim > > On 4/11/09, Alberto Simões <hashas...@gmail.com>

[sqlite] disk I/O error...?

2009-04-11 Thread Alberto Simões
]$ I tried to get I/O errors with other commands (for instance, yes > _) but couldn't get any error. Any hint on what I can check to discover the problem? Thank you Alberto -- Alberto Simões ___ sqlite-users mailing list sqlite-users@sqlite.or

Re: [sqlite] ANN - DBD::SQLite version 1.20

2009-04-10 Thread Alberto Simões
I was just wondering, is it a good idea to bundle SQLite in the Perl Module? Wasn't it better to use the system version, if it is available? (well, I think this isn't done as I have it on the system and DBD::SQlite just compiled it...) Cheers Alberto 2009/4/10 Alberto Simões <hashas...@gmail.

Re: [sqlite] ANN - DBD::SQLite version 1.20

2009-04-10 Thread Alberto Simões
ers mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > -- Alberto Simões ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

[sqlite] UTF-8 Collation anyone?

2009-03-23 Thread Alberto Simões
Hello I am not yet sure how to write a collation and, worst, how to integrate it with DBD::SQLite. But, does anybody write a UTF-8 collation that I can use as base? Or, yet better, does anyone has experience on using a collation with DBD::SQLite? TIA. -- Alberto Simões

Re: [sqlite] Random Syntax changed in 3.6.11?

2009-03-02 Thread Alberto Simões
Hello, DRH, On Mon, Mar 2, 2009 at 6:32 PM, D. Richard Hipp <d...@hwaci.com> wrote: > The RANDOM() function takes zero arguments.  This has always been the > case.  But 3.6.11 has begun to enforce that rule.  Prior to 3.6.11, > the error was ignored. Oh. That explains it. Than

[sqlite] Random Syntax changed in 3.6.11?

2009-03-02 Thread Alberto Simões
that is the problem). Thanks Alberto -- Alberto Simões ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Fuzzy Matching

2008-07-07 Thread Alberto Simões
nce >>>> of one or two would do the trick, probably. >>>> >>>> I imagine that SQLite (given the lite), does not provide any kind >>>> of nearmisses search. But probably, somebody here did anything >>>> similar in any language? >>>> >>>> Cheers Alberto >>> ___ sqlite-users >>> mailing list sqlite-users@sqlite.org >>> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users >> >> ___ sqlite-users mailing >> list sqlite-users@sqlite.org >> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users >> ___ sqlite-users mailing >> list sqlite-users@sqlite.org >> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > > ___ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > -- Alberto Simões ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

[sqlite] Fuzzy Matching

2008-07-03 Thread Alberto Simões
Levenshtein distance of one or two would do the trick, probably. I imagine that SQLite (given the lite), does not provide any kind of nearmisses search. But probably, somebody here did anything similar in any language? Cheers Alberto -- Alberto Simões

Re: [sqlite] CREATE INDEX time degradation

2008-06-18 Thread Alberto Simões
pages in the page > cache, but for an index of that size, chances are you're always over. Disk access on that cluster was always a problem. It might be that as well. > Increase the cache size (see PRAGMA commands). Actually, this is > good practice anytime you need t

[sqlite] CREATE INDEX time degradation

2008-06-18 Thread Alberto Simões
degradation? Can it be caused by a larger db file? To have an idea, _.db at the end of this process: $ du -hs _.db 1.8G_.db And, if this time degradation is derived from the file size: is there any trick to make it faster? Cheers Alberto -- Alberto Simões

Re: [sqlite] Importing table

2008-06-17 Thread Alberto Simões
On Tue, Jun 17, 2008 at 6:33 PM, P Kishor <[EMAIL PROTECTED]> wrote: > On 6/17/08, Alberto Simões <[EMAIL PROTECTED]> wrote: >> Hi, Folks >> I am thinking on creating another text file with 18 399 392 INSERT >> commands. >> Would that be the bes

[sqlite] Importing table

2008-06-17 Thread Alberto Simões
? (by the way, I am expecting to have bigger tables in the near future) Thanks Alberto -- Alberto Simões ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

[sqlite] SQLite Announcements

2007-11-22 Thread Alberto Simões
Hi Is it just me, or SQLite announcements for new releases are not being sent to this list? At least I didn't see 3.5.0, 3.5.1 and 3.5.2 announcements. I am aware of them just because complain about them :) Cheers ambs -- Alberto Simões

Re: [sqlite] SQLite website

2007-11-10 Thread Alberto Simões
btrusive hacks were needed for it to render decently. > > James > > - > To unsubscribe, send email to [EMAIL PROTECTED] > ------

[sqlite] Disabling tcl bug?

2007-08-24 Thread Alberto Simões
Hi, When trying to install 3.4.2 without tcl (--disable-tcl) it all works ok during compilation, but when trying to install, the install script tries to run the tclsh command. Is this normal? Thank you -- Alberto Simões

Re: [sqlite] how do i generate a uniqueidentifier ?

2007-07-27 Thread Alberto Simões
t; I can't understand why do you need a big identifier like that, instead of just a different integer as a key (as said below). > > {fieldname} INTEGER NOT NULL PRIMARY KEY Note that the integer will be quite faster. Cheers -- Alberto Simões --

Re: [sqlite] Importing a big text file (CSV?)

2007-07-20 Thread Alberto Simões
ac/wiki) so that you can add things like this yourself. We have a wiki? Nice :) -- Alberto Simões - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] SQLite on Mac

2007-07-19 Thread Alberto Simões
needed to deactivate TCL bindings. Cheers Alberto -- Alberto Simões - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Importing a big text file (CSV?)

2007-07-19 Thread Alberto Simões
-- > > > - > To unsubscribe, send email to [EMAIL PROTECTED] > - --------- To unsubscribe, send email to [EMAIL PROTECTED] - -- Alberto Simões

Re: [sqlite] Importing a big text file (CSV?)

2007-07-19 Thread Alberto Simões
an '.import' command on SQLite, but I can't find a suitable documentation on how it works. -- Alberto Simões - To unsubscribe, send email to [EMAIL PROTECTED] -

[sqlite] Importing a big text file (CSV?)

2007-07-19 Thread Alberto Simões
Hi I have a file (big file with 16 000 000 lines) with records like 2 3 4 4 3 2 5 4 387 5 8 5473 ... and I want to import this to an SQLite table. Although I can replace all this to INSERT commands very easily, I would like to ask first if there is any faster method. Cheers Alberto -- Alberto

Re: [sqlite] mailing list slow?

2007-07-18 Thread Alberto Simões
age is 0.13. Nothing unusual in the logs. There are currently 1281 people on the mailing list. The mailing list manager (ezmlm) will send messages to at most 20 people at at time. If each send requires 20 seconds, that means about 1200 seconds to relay a message, or about 20 minutes. Nice math

[sqlite] Re: Help with order-by query

2007-07-15 Thread Alberto Simões
Ok, my fault. Integers versus string values. Cheers Alberto On 7/15/07, Alberto Simões <[EMAIL PROTECTED]> wrote: Hi I have this simple schema for news: sqlite> .schema CREATE TABLE news (year,month,day,title,text); CREATE INDEX date ON news(year,month,day); And this quer

[sqlite] Help with order-by query

2007-07-15 Thread Alberto Simões
7|6|19|10.000 palavras|... 2007|7|15|Actualização das regras de transcrição|... What am I doing wrong? Thank you Kind regards Alberto -- Alberto Simões - To unsubscribe, send email to [EMAIL PROTECTED] -

[sqlite] INDEX + SELECT or just SELECT?

2007-07-05 Thread Alberto Simões
-- Alberto Simões - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] SQLite article, Adobe info

2007-06-21 Thread Alberto Simões
/ Tim - To unsubscribe, send email to [EMAIL PROTECTED] - -- Alberto Simões - To unsubscribe, send email to

Re: [sqlite] error in round-function?

2007-06-10 Thread Alberto Simões
? If on windows, was it a GCC-compile or a MS-VC-compile? MacOS X, gcc 4.0.1 Cheers -- Alberto Simões - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] error in round-function?

2007-06-10 Thread Alberto Simões
1) 9.9 select round(0.995, 2) 0.99 select round(9.995, 2) 9.99 (3.3.17 here) -- Alberto Simões - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] error in round-function?

2007-06-10 Thread Alberto Simões
> > (tested with 3.3.17) I do not know what are you trying to round. In any case, I just can say that if you are storing a column as a float for money, turn it into a string. This is what I've learned when writing

Re: [sqlite] Why do you use SQLite? Comments for an article needed

2007-06-07 Thread Alberto Simões
TECTED] - -- Alberto Simões - To unsubscribe, send email to [EMAIL PROTECTED] -

[sqlite] No space left on device?

2007-06-04 Thread Alberto Simões
Hi What happens when no space is left on device? Does the process die, or does it try to store as much as it can using main memory? I'm asking this because I have a process dying (being killed) because it exauted main memory. Cheers Alberto -- Alberto Simões

Re: [sqlite] Re: How to sort not binary?

2007-05-12 Thread Alberto Simões
. a column with the word/string or whatever . a column with the string where accented characters are not (accented). Use the first for presentation and query, the second for ordering. Hope this can help Alberto -- Alberto Simões - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Compiling SQLite under Mac OS (was: unsupported file format)

2007-05-12 Thread Alberto Simões
On 5/12/07, Alberto Simões <[EMAIL PROTECTED]> wrote: I am compiling *manually* sqlite3 in my Mac OS. Configured without tcl, and with prefix /usr/local. (--disable-tcl --prefix=/usr/local) I get this while compiling: ... gcc -L/sw/lib -I/sw/include -g -O2 -I. -I./src -DNDEBUG -DTHRE

Re: [sqlite] Compiling SQLite under Mac OS (was: unsupported file format)

2007-05-12 Thread Alberto Simões
'sqlite3_vtab' ./src/sqliteInt.h:516: warning: no semicolon at end of struct or union ./src/sqliteInt.h:528: error: parse error before '}' token ... Hints, please? Thanks Alberto -- Alberto Simões - To unsubscribe, send email

Re: [sqlite] Compiling SQLite under Mac OS (was: unsupported file format)

2007-05-12 Thread Alberto Simões
On 5/12/07, P Kishor <[EMAIL PROTECTED]> wrote: On 5/12/07, Alberto Simões <[EMAIL PROTECTED]> wrote: > On 5/11/07, P Kishor <[EMAIL PROTECTED]> wrote: > > > Just download the latest source code and compile a new sqlite3 with > > it. All will be well. > &g

[sqlite] Compiling SQLite under Mac OS (was: unsupported file format)

2007-05-12 Thread Alberto Simões
parse error before 'sqlite3_vtab' ./src/sqliteInt.h:516: warning: no semicolon at end of struct or union ./src/sqliteInt.h:528: error: parse error before '}' token ... Hints, please? Thanks Alberto -- Alberto

[sqlite] Unsupported file format

2007-05-11 Thread Alberto Simões
ns sqlite> .schema Error: unsupported file format Any hints on what I might be doing wrong? Thank you Alberto -- Alberto Simões - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Re: Powered by SQLite image?

2007-05-05 Thread Alberto Simões
onario-aberto.net/powered_by_sqlite.xcf Of course I would be very happy if the image(s) is included in the source tarball. Kind Regards Alberto -- Alberto Simões - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Powered by SQLite image?

2007-05-04 Thread Alberto Simões
On 5/4/07, Cesar Rodas <[EMAIL PROTECTED]> wrote: Looks great... and this image is public domain? Sure. Be free to use it. Also, I have the xcf file. So if anybody knows how to tweak Gimp, I'll be pleased to send it. Cheers Alberto On 04/05/07, Alberto Simões <[EMAIL PROTECTE

Re: [sqlite] Powered by SQLite image?

2007-05-04 Thread Alberto Simões
> If nobody have one, I'll try to put one up tomorrow :) Ok, I had some time today. What do you think of the one shown in: http://dicionario-aberto.net/bin/dic.pl Cheers Alberto -- Alberto Simões - To unsubscr

Re: [sqlite] Powered by SQLite image?

2007-05-04 Thread Alberto Simões
iny, lightweight, and efficient that few could actually see it. ;-) Seriously though, I believe the nice logo at the upper left on page: http://www.sqlite.org/index.html can be used, If nobody have one, I'll try to put one up tomorrow :) Cheers Thanks -

[sqlite] Powered by SQLite image?

2007-05-04 Thread Alberto Simões
Hi Is there any image/logo with "powered by SQLite"? You know, people with web services (not webservices) that rely on SQLite might like to say that to others :) Well, I would. Cheers Alberto -- Albe

Re: [sqlite] SQLite Performance

2007-04-18 Thread Alberto Simões
On 4/17/07, Alberto Simões <[EMAIL PROTECTED]> wrote: On 4/17/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > "=?ISO-8859-1?Q?Alberto_Sim=F5es?=" <[EMAIL PROTECTED]> wrote: > > > > Consider the following database schema: > > CREATE TABLE tetrag

[sqlite] Efficiency and Pragmas

2007-04-18 Thread Alberto Simões
the problem is querying. If I use sqlite3 shell I get answers in one (two) second(s). If I use my program after these pragmas, I get a slow query. Is there any good reason for that? Thanks PS: let me know if more detail on the query or database can be handy for answers. Cheers Alberto -- Alberto

Re: [sqlite] Insert order maintained?

2007-04-17 Thread Alberto Simões
ttp://link.interia.pl/f1a38 - To unsubscribe, send email to [EMAIL PROTECTED] --------- -- Alberto Simões - To unsubs

[sqlite] Insert order maintained?

2007-04-17 Thread Alberto Simões
Hi I would like to know if the order I get the rows from a select (without ORDER BY) is the order by which the values were inserted. I know this is the behavior for MySQL, but not sure about SQLite. THank you Alberto -- Alberto Simões

Re: [sqlite] SQLite Performance

2007-04-17 Thread Alberto Simões
ccs DESC LIMIT 10; > > and it takes.. five minutes and did not give the result yet... > > Is there anything I can do to make it speed up CONSIDERABLY? CREATE INDEX tet_e ON tetragrams(word1, occs); Hmms, Yes, it works as expected and speeds u

[sqlite] SQLite Performance

2007-04-17 Thread Alberto Simões
yet... Is there anything I can do to make it speed up CONSIDERABLY? I mean, this is to be used in a CGI and each CGI query will make 11 queries like the one above to the database. Thank you in advance, Alberto -- Alberto Sim

Re: [sqlite] SQL and SQLite pronounciation?

2007-04-04 Thread Alberto Simões
elf. With the only difference that I pronounce the 'S' 'Q' and 'L' letters in Portuguese. Cheers -- Alberto Simões - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Sorting with latin1 characters

2007-03-31 Thread Alberto Simões
On 3/31/07, Nuno Lucas <[EMAIL PROTECTED]> wrote: On 3/31/07, Alberto Simões <[EMAIL PROTECTED]> wrote: That is by design. SQLite only knows how to sort ASCII strings. The problem is that almost every language has it's own idea of how to sort, and making SQLite know about all thi

[sqlite] Sorting with latin1 characters

2007-03-31 Thread Alberto Simões
if sqlite reacts to that changes. Thanks in advance for any help Cheers -- Alberto Simões - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] One big database or various smaller ones?

2007-03-26 Thread Alberto Simões
On 3/26/07, Joe Wilson <[EMAIL PROTECTED]> wrote: --- Alberto Simões <[EMAIL PROTECTED]> wrote: > The tables are related but they are already being created in parallel > (three tables). I was joining them just because it was easier to move. > But given the new, erm, b

Re: [sqlite] One big database or various smaller ones?

2007-03-26 Thread Alberto Simões
lit. Joe Wilson idea of attaching the tables seems cool. I'll give it a try. Thank you, folks. -- Alberto Simões - To unsubscribe, send email to [EMAIL PROTECTED] -

[sqlite] One big database or various smaller ones?

2007-03-26 Thread Alberto Simões
around the 2GB of disk space. My question, about efficiency, is, it better to have: - one big database, one connection from C code to the database - three smaller databases, three connection from C code to the database Thank you Alberto -- Alberto Simões

Re: [sqlite] Avoiding use of temporary files

2007-03-19 Thread Alberto Simões
The temp_store pragma has no effect on the placement of rollback journals. Rollback journals always go to disk. I am not sure of the side-effects it would lead to, but I would love to see a "PRAGMA journal = NO&

Re: [sqlite] ANN: SQLcc another open source Database manager

2007-03-17 Thread Alberto Simões
On 3/17/07, Stef Mientki <[EMAIL PROTECTED]> wrote: Jim Dodgen wrote: > Server not found very weird, it's a server directly connected to the European backbone, so please try again. Works here. Cheers -- Alber

Re: [sqlite] Last call for bugs...

2007-01-26 Thread Alberto Simões
o unsubscribe, send email to [EMAIL PROTECTED] > -- > --- > - To unsubscribe, send email to [EMAIL PROTECTED] --------- -- Alberto Simões - To unsubscribe, send email to [EMAIL PROTECTED] -

[sqlite] FTS1

2007-01-14 Thread Alberto Simões
... makes me think of gmail) and that it is not supported, but it would be easier for users to compile it and test it. Just an idea ;) Now, I'll continue learning how to create a .so file ;) Cheers Alberto -- Alberto Simões

[sqlite] Compound index or multiple indexes?

2007-01-04 Thread Alberto Simões
, and the differences of timings on selects by full key. Somebody has timings on this? Kind regards, Alberto -- Alberto Simões - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Joining tables in a single file

2006-12-29 Thread Alberto Simões
se of the ATTACH DATABASE command http://www.sqlite.org/lang_attach.html SQLITE3 A.db >ATTACH 'B.db' as B; >ATTACH 'C.db' as C; >Create tableFromB as select * from B.tablename; >Create tableFromC as select * from C.tablename; Hmms, I think this will do the trick. Thank y

[sqlite] Joining tables in a single file

2006-12-29 Thread Alberto Simões
ach table. But I would like to know if there is any faster method. Thank you Kind regards, Alberto -- Alberto Simões - To unsubscribe, send email to [EMAIL PROTECTED] -