Re: [sqlite] Feature request: add support for COMMENT statement

2013-06-18 Thread Alexey Pechnikov
'.dump' dump.sql fossil diff dump.sql With SQLite we can do many things very simple. Why not? -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman

Re: [sqlite] Feature request: add support for COMMENT statement

2013-06-15 Thread Alexey Pechnikov
in table/view/index/trigger definitions: sqlite create table t(x /* :-) */); sqlite .schema CREATE TABLE t(x /* :-) */); Regards, Clemens Bad idea. The schema definition can't be modified! -- Best regards, Alexey Pechnikov. http://pechnikov.tel

[sqlite] Feature request: add support for COMMENT statement

2013-06-14 Thread Alexey Pechnikov
from some bindings (including official tclsqlite) when column types are non-standard. -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite

Re: [sqlite] FTS problem with 'NOT term' queries

2013-02-03 Thread Alexey Pechnikov
Hello! And as result it's impossible to search docs in some situations: SELECT * FROM docs WHERE docs MATCH 'NOT sqlite'; Error: malformed MATCH expression: [NOT sqlite] As far as I can tell, in MATCH syntax NOT is a binary operator, denoting set difference. You are trying to use it as a

[sqlite] FTS problem with 'NOT term' queries

2013-01-29 Thread Alexey Pechnikov
] And as result it's impossible to search docs in some situations: SELECT * FROM docs WHERE docs MATCH 'NOT sqlite'; Error: malformed MATCH expression: [NOT sqlite] -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list

Re: [sqlite] Any limitation of file size on sqlite?

2012-12-16 Thread Alexey Pechnikov
Hello! Sqlite databases 10Gb+ sizes work fine for me in multi-user web environment and 100Gb+ sizes were tested in my scenarios. The unsupported index compression is the main problem and so use more scalable FTS4 index when possible. Best regards, Alexey. http://pechnikov.tel 17.12.2012 0:03

[sqlite] FTS4 extension: problem with field-specified search

2012-12-12 Thread Alexey Pechnikov
-- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

[sqlite] BUG:insert or replace doesn't works for External Content FTS4 Tables

2012-12-07 Thread Alexey Pechnikov
|e9b4d0bcb5 sqlite INSERT INTO address_fts0(address_fts0) VALUES('rebuild'); sqlite select count(*) from address_fts0 where sys_title:hash match 'e7d4683bb2'; count(*) 0 -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing

Re: [sqlite] BUG:insert or replace doesn't works for External Content FTS4 Tables

2012-12-07 Thread Alexey Pechnikov
). May be is more reasonable to make the content of FTS table synchronized with the content of external table by FTS extension internally? -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http

Re: [sqlite] Anybody using REGEXP in the ICU extension?

2012-11-05 Thread Alexey Pechnikov
regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Improving access speed to fetch indexed column.

2012-07-13 Thread Alexey Pechnikov
___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users

Re: [sqlite] SQLite4 (don't scream)

2012-06-28 Thread Alexey Pechnikov
/www/design.wiki Just thought some people might enjoy reading and thinking about it. Simon. ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users -- Best regards, Alexey Pechnikov

Re: [sqlite] undefined symbol: sqlite3_stricmp

2012-04-12 Thread Alexey Pechnikov
The sqlite3_stricmp() function is used only once in FTS3 extension and I did fix the problem by replacing it to sqlite3_strnicmp() http://sqlite.mobigroup.ru/fdiff?v1=111626ce72b0df93v2=29b395d2169466ab 2012/4/9 Alexey Pechnikov pechni...@mobigroup.ru As I find is missed sqlite3_stricmp

Re: [sqlite] Bug in SQLite's TCL module

2012-04-12 Thread Alexey Pechnikov
regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Suggestion about hard-coded time string format YYYY-MM-DD

2012-04-12 Thread Alexey Pechnikov
')); 1005589861 -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] undefined symbol: sqlite3_stricmp

2012-04-09 Thread Alexey Pechnikov
As I find is missed sqlite3_stricmp reference in file loadext.c -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] undefined symbol: sqlite3_stricmp

2012-04-08 Thread Alexey Pechnikov
that? Michael D. Black Senior Scientist Advanced Analytics Directorate Advanced GEOINT Solutions Operating Unit Northrop Grumman Information Systems From: sqlite-users-boun...@sqlite.org [sqlite-users-boun...@sqlite.org] on behalf of Alexey Pechnikov

[sqlite] undefined symbol: sqlite3_stricmp

2012-04-07 Thread Alexey Pechnikov
Compiled as extension FTS3 module produce error undefined symbol: sqlite3_stricmp by loading. The problem exists in last release and current trunk. -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users

Re: [sqlite] undefined symbol: sqlite3_stricmp

2012-04-07 Thread Alexey Pechnikov
for instructions Enter SQL statements terminated with a ; sqlite SELECT load_extension('/usr/lib/libsqlitefts3.so'); load_extension('/usr/lib/libsqlitefts3.so') sqlite 2012/4/7 Richard Hipp d...@sqlite.org On Sat, Apr 7, 2012 at 7:20 AM, Alexey Pechnikov pechni...@mobigroup.ru wrote: Compiled

[sqlite] About INSERT into External Content FTS4 Tables

2012-04-04 Thread Alexey Pechnikov
Why INSERT command can't copy all needed fields from external content table same as rebuild command? The definition of all values does not has any reasons and can produce inconsistent FTS table. -- Best regards, Alexey Pechnikov. http://pechnikov.tel

[sqlite] Suggestion about hard-coded time string format YYYY-MM-DD

2012-04-02 Thread Alexey Pechnikov
and formatting dates. -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Suggestion about hard-coded time string format YYYY-MM-DD

2012-04-02 Thread Alexey Pechnikov
2012/4/2 Simon Slavin slav...@bigfraud.org Please see http://www.sqlite.org/lang_datefunc.html and you will be frustrated because SQLite can format date/time to different string formats but can't read the produced date/time strings. -- Best regards, Alexey Pechnikov. http://pechnikov.tel

Re: [sqlite] Suggestion about hard-coded time string format YYYY-MM-DD

2012-04-02 Thread Alexey Pechnikov
___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite

Re: [sqlite] Suggestion about hard-coded time string format YYYY-MM-DD

2012-04-02 Thread Alexey Pechnikov
regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

[sqlite] Bug in init of ICU extension

2012-03-30 Thread Alexey Pechnikov
SELECT icu_load_collation('ru_RU', 'russian'); sqlite select 'ы' like 'Ы' collate russian; 0 The problem is old - I did find it first time at 2011.06.28. -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite

[sqlite] Feature request: references from view to himself

2012-03-27 Thread Alexey Pechnikov
, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Sqlite FTS retrieve inverted index

2012-03-12 Thread Alexey Pechnikov
-users -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] IPv{4,6} addressing extension

2012-02-27 Thread Alexey Pechnikov
://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] SQLite extensions repository

2012-02-12 Thread Alexey Pechnikov
. Please let me know. Thanks. -- Marco Bambini http://www.sqlabs.com http://twitter.com/sqlabs ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users -- Best regards, Alexey Pechnikov

Re: [sqlite] Slow inserts in indexed table

2012-02-10 Thread Alexey Pechnikov
per transaction) or something else? Sincerely, Valentin Davydov. ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users -- Best regards, Alexey Pechnikov. http://pechnikov.tel

Re: [sqlite] Elegant printout of table (with header) via TCL

2012-02-10 Thread Alexey Pechnikov
the TCL sqlite3 statement open the database using command switchs (ie    --cvs  -headers) -- -Rod ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users -- Best regards, Alexey Pechnikov

Re: [sqlite] About new ticket Per page/region checksums

2012-02-07 Thread Alexey Pechnikov
bs=4096 count=100 and repair after database by using per pages checksums. -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

[sqlite] About new ticket Per page/region checksums

2012-02-04 Thread Alexey Pechnikov
? Does powersave overwrite feature conflicts with idea of per pages checksums? P.S. The article Berkeley DB Recoverability provides some info about WAL+checksum mode: http://help.bdbxml.net/html/ed539869-eebd-478f-97de-7e5377e87f66.htm -- Best regards, Alexey Pechnikov. http://pechnikov.tel

Re: [sqlite] support of %y in strftime()

2012-02-03 Thread Alexey Pechnikov
-Laco. ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing

Re: [sqlite] Speeding up Sqlite reads after DML

2012-02-03 Thread Alexey Pechnikov
@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] [sqlite 3.6.22] database .dump function cannot export table of large number of columns 2000

2012-01-28 Thread Alexey Pechnikov
link to SQLite documentation instead of any astral reasons. -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Bug in trigger: when comparing a value of an int column to a quoted value

2011-12-26 Thread Alexey Pechnikov
Of cource you may report your bug! But I'm not sure about possibility of the bugfix in upstream and so I speak about patch to SQLite binding for your language. -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list

Re: [sqlite] Bug in trigger: when comparing a value of an int column to a quoted value

2011-12-25 Thread Alexey Pechnikov
but for backward compability problem wil not be resolved by upstream. So I did write patch for myself. -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite

Re: [sqlite] Bug in trigger: when comparing a value of an int column to a quoted value

2011-12-21 Thread Alexey Pechnikov
The problem can be fixed by variables bindings patch: http://sqlite.mobigroup.ru/wiki?name=tclsqlite I think, you can do same for you lang. -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org

Re: [sqlite] sqlite support for geometric column types?

2011-11-26 Thread Alexey Pechnikov
version supports 3.7.3), and it uses a more restrictive license (not hard, since any license is more restrictive than SQLite's non-license!) It can be used as extensions set for any new SQLite version. -- Best regards, Alexey Pechnikov. http://pechnikov.tel

Re: [sqlite] Fts4 table + triggers

2011-11-22 Thread Alexey Pechnikov
/sqlite-users -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] 200 lines of fun sqlite3 code

2011-11-16 Thread Alexey Pechnikov
:8080/cgi-bin/mailman/listinfo/sqlite-users -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Virtual Tables and tcl / apsw

2011-10-25 Thread Alexey Pechnikov
2011/10/25 Dan Kennedy danielk1...@gmail.com: Not possible. The Tcl interface has no bindings for either the virtual table or VFS interfaces. But why? Is there any technical/ideological problems? -- Best regards, Alexey Pechnikov. http://pechnikov.tel

Re: [sqlite] FTS vs INDEX

2011-10-19 Thread Alexey Pechnikov
efficiently via TEXT INDEX too. But if the overhead is comparable, I'd rather use FTS. ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users -- Best regards, Alexey Pechnikov. http

Re: [sqlite] FTS vs INDEX

2011-10-19 Thread Alexey Pechnikov
it :) -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] FTS vs INDEX

2011-10-19 Thread Alexey Pechnikov
some overhead for full-text queries that use the index. So you can work with a big FTS tables without using the optimize method. I use some FTS tables with tens of millions records and effect of the optimize isn't measurable. -- Best regards, Alexey Pechnikov. http://pechnikov.tel

Re: [sqlite] Problems building/running SQLite test.exe with ICU enabled

2011-10-01 Thread Alexey Pechnikov
/listinfo/sqlite-users -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Internal v. External BLOBs

2011-09-21 Thread Alexey Pechnikov
___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http

Re: [sqlite] Does coalesce terminate early?

2011-09-15 Thread Alexey Pechnikov
, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Fine tuning of Sqlite

2011-09-06 Thread Alexey Pechnikov
/mailman/listinfo/sqlite-users -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Fine tuning of Sqlite

2011-09-06 Thread Alexey Pechnikov
temp in-memory database to main disk-database! -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Fine tuning of Sqlite

2011-09-06 Thread Alexey Pechnikov
2011/9/6 jerome moliere jerome.moli...@gmail.com: Could you give me more  details about corruption cases ? Is there a list of contexts where we can get corrupted tables ? http://www.sqlite.org/howtocorrupt.html -- Best regards, Alexey Pechnikov. http://pechnikov.tel

Re: [sqlite] Fine tuning of Sqlite

2011-09-05 Thread Alexey Pechnikov
different pragmas... we don't know about your environment enough. You may show some problematic tests as example. -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin

Re: [sqlite] Read only scaling optimization

2011-08-14 Thread Alexey Pechnikov
. Is needed the sources of the test programm. -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] SQLite with 10M record

2011-08-11 Thread Alexey Pechnikov
2011/8/11 Sumit Gupta gamersu...@gmail.com: 10-10-2011 18:48:42, 10,20, 30, 40, 50, 60, 80 .. 48 such entries Use unixtime (time in seconds) and index on this field and your queries will be fast. You can use single blob as integers array for more compact database. -- Best regards, Alexey

Re: [sqlite] Read only scaling optimization

2011-08-10 Thread Alexey Pechnikov
, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Feature request: extend the IN operator

2011-08-08 Thread Alexey Pechnikov
for Igor. We can fast search any id by using match operator on FTS table. P.S. FTS table has nice scalability. Check insertion a lot of records and insertion speed is constant. I did try 400 millions of records (and did get database size 100 Gb). -- Best regards, Alexey Pechnikov. http://pechnikov.tel

[sqlite] Feature request: extend the IN operator

2011-08-07 Thread Alexey Pechnikov
). Does somebody interesting in this functionality too? -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Feature request: extend the IN operator

2011-08-07 Thread Alexey Pechnikov
2011/8/7 Simon Slavin slav...@bigfraud.org: For example, SELECT * FROM cars WHERE cars.name IN ('Corolla', 'Fiesta') create table t (names TEXT); insert into t(name) values ('Corolla Fiesta'); SELECT * FROM cars WHERE cars.name IN (select names from t where rowid=1); -- Best regards, Alexey

Re: [sqlite] Feature request: extend the IN operator

2011-08-07 Thread Alexey Pechnikov
'pltcl' IMMUTABLE; -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Feature request: extend the IN operator

2011-08-07 Thread Alexey Pechnikov
000 rows! It's too slow and is not useful in real world. Of cource all systems store lists of identifiers in similar situations. -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http

Re: [sqlite] Feature request: extend the IN operator

2011-08-07 Thread Alexey Pechnikov
, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Need Help! -- SQlite database on server

2011-08-04 Thread Alexey Pechnikov
and send RDF or other data format. I don't see your problem. May be you want any different?.. -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo

Re: [sqlite] Example of implementing undo/redo using sqlite3?

2011-08-04 Thread Alexey Pechnikov
of the design ideas were cribbed from: http://www.sqlite.org/cvstrac/wiki?p=UndoRedo -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Will SQLite supports UnQL?

2011-08-02 Thread Alexey Pechnikov
2011/8/2 Eric Scouten e...@scouten.com: It falls apart badly in a highly distributed environment where ... ... May be a RDF storage is more reasonable for this. Operations with atomic facts can be highly distributed. And SPARQL is similar to SQL. -- Best regards, Alexey Pechnikov. http

Re: [sqlite] Will SQLite supports UnQL?

2011-08-01 Thread Alexey Pechnikov
2011/8/1 Black, Michael (IS) michael.bla...@ngc.com: This is a side-question to this thread...but has anybody every done row-level locking for edit? What problem are you solving? -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite

Re: [sqlite] Will SQLite supports UnQL?

2011-08-01 Thread Alexey Pechnikov
2011/8/1 Simon Slavin slav...@bigfraud.org: On 1 Aug 2011, at 6:56pm, Alexey Pechnikov wrote: 2011/8/1 Black, Michael (IS) michael.bla...@ngc.com: This is a side-question to this thread...but has anybody every done row-level locking for edit? What problem are you solving? Please stop

Re: [sqlite] Will SQLite supports UnQL?

2011-08-01 Thread Alexey Pechnikov
2011/8/1 Simon Slavin slav...@bigfraud.org: I'm sorry Alexey, I was trying to be funny and failed.  Your question is very important for this situation. Oh, I'm sorry! My english is bad by night :) -- Best regards, Alexey Pechnikov. http://pechnikov.tel

Re: [sqlite] Will SQLite supports UnQL?

2011-07-31 Thread Alexey Pechnikov
knows the semantics of the data. You write extra code to find and resolve CouchDB replication conflicts but you are speak about do not have to write extra code. One of these approvals is false! -- Best regards, Alexey Pechnikov. http://pechnikov.tel

Re: [sqlite] Will SQLite supports UnQL?

2011-07-31 Thread Alexey Pechnikov
data. There are a lot of causes of _potential_ conflicts and replication is only one of these. Replication is aggregation process but is not silver bullet for extracting correct data. -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite

Re: [sqlite] Will SQLite supports UnQL?

2011-07-31 Thread Alexey Pechnikov
regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] LevelDB benchmark

2011-07-30 Thread Alexey Pechnikov
mode. -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

[sqlite] Will SQLite supports UnQL?

2011-07-30 Thread Alexey Pechnikov
Very interesting annonce: http://www.couchbase.com/press-releases/unql-query-language -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite

Re: [sqlite] Will SQLite supports UnQL?

2011-07-30 Thread Alexey Pechnikov
-exists test_record rows from host A to host B and from B to A and then regenerate some rows in test tables. And Fossil is well-known example of SQLite database replication :D -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users

Re: [sqlite] Will SQLite supports UnQL?

2011-07-30 Thread Alexey Pechnikov
and revert any changes. I think easy replication is not feature of NoSQL solutions. With big disks we can create and use append-only datasets in SQL DBMS. And virtual table can incapsulate all details. -- Best regards, Alexey Pechnikov. http://pechnikov.tel

Re: [sqlite] LevelDB benchmark

2011-07-29 Thread Alexey Pechnikov
ops) crc32c : 11.447 micros/op; 341.2 MB/s (4K per op) snappycomp : 8.106 micros/op; (snappy failure) snappyuncomp : 26.941 micros/op; (snappy failure) acquireload : 1.407 micros/op; (each op is 1000 loads) -- Best regards, Alexey Pechnikov. http://pechnikov.tel

Re: [sqlite] LevelDB benchmark

2011-07-29 Thread Alexey Pechnikov
tests faster. P.S. There is constant database created by DJB. And exists patch to drop constant limitation. IMHO it's functionally equal and better solution than LevelDB... -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users

Re: [sqlite] LevelDB benchmark

2011-07-29 Thread Alexey Pechnikov
cheaper. And single-thread without correct synchronous. Plus full in-memory copy of LevelDB log. And tests is adopted for specific scenarious (IMHO test of fixed value size is incorrect). I'm sure key-value database may be faster. -- Best regards, Alexey Pechnikov. http://pechnikov.tel

Re: [sqlite] LevelDB benchmark

2011-07-28 Thread Alexey Pechnikov
LevelDB use append log but SQLite is tested without WAL :) I check and some tests 2.5x faster with WAL. -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin

Re: [sqlite] LevelDB benchmark

2011-07-28 Thread Alexey Pechnikov
: 228.869 micros/op;0.5 MB/s (1 ops) fillseqbatch : 56.131 micros/op;2.0 MB/s ... -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo

Re: [sqlite] LevelDB benchmark

2011-07-28 Thread Alexey Pechnikov
is here: http://pastebin.com/dM2iqdvj And patch as above plus integer keys instead of blobs http://pastebin.com/CnBeChWg P.S. For blob-to-blob mapping we may use table with index on hashed key. Virtual table can simplify this. -- Best regards, Alexey Pechnikov. http://pechnikov.tel

Re: [sqlite] New madIS v1.3 release

2011-07-26 Thread Alexey Pechnikov
here: http://sqlite.mobigroup.ru/wiki?name=ext_tcl -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] [FTS3] The Compress and Uncompress functions and extension

2011-07-22 Thread Alexey Pechnikov
://sqlite.mobigroup.ru/artifact/56df1be3c402d7d49c3a13be704a2ff22c3003d2 http://sqlite.mobigroup.ru/dir?name=ext/compress -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin

Re: [sqlite] [FTS3] The Compress and Uncompress functions and extension

2011-07-22 Thread Alexey Pechnikov
. But that email discussion suggests a nifty trick to overcome this. And you can get the content size without decompression. It can be useful. -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http

Re: [sqlite] FTS3: synonyms dictionary and tokens length

2011-07-15 Thread Alexey Pechnikov
search as example. It's very common task for many applications. -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] FTS3: synonyms dictionary and tokens length

2011-07-15 Thread Alexey Pechnikov
' before it is run. I wanted to say - we can't rank results differently. The query 'sqlite educate' may return result 'dbms education' with low rank and 'sqlite education' with high rank. -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite

Re: [sqlite] FTS3: synonyms dictionary and tokens length

2011-07-14 Thread Alexey Pechnikov
With 0-length token in icuNext there is the error: Error: SQL logic error or missing database May xNext returns 0 length when the token is stopword? -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users

Re: [sqlite] FTS3: synonyms dictionary and tokens length

2011-07-14 Thread Alexey Pechnikov
will not useful. -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] FTS3: synonyms dictionary and tokens length

2011-07-14 Thread Alexey Pechnikov
regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] my new site is using as backend sqlite

2011-07-14 Thread Alexey Pechnikov
can try stemmed SQLite FTS4 search and enjoy by fast work. Note: you can guess the admin user password :D -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin

[sqlite] Database handle access from tokenizer module (stopwords table support)

2011-07-13 Thread Alexey Pechnikov
I want to add stopwords table support for ICU tokenizer but there is no database handle access (icuOpen). Any ideas? -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080

[sqlite] FTS3: synonyms dictionary and tokens length

2011-07-13 Thread Alexey Pechnikov
With synonyms dictionary the result token length can be more then original token length. Is it problem for current realization of FTS? -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http

Re: [sqlite] Storing/editing hierarchical data sets

2011-07-12 Thread Alexey Pechnikov
See FTS3 extension where the full-text index is stored in multi btree in regular tables. Note: FTS2 is more simple. -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080

[sqlite] Error: malformed database schema

2011-07-04 Thread Alexey Pechnikov
database schema (job_user_id_idx) - no such table: main.job_record .dump ... sqlite pragma integrity_check; *** in database main *** Page 5 is never used Page 35 is never used Page 67 is never used Page 97 is never used -- Best regards, Alexey Pechnikov. http://pechnikov.tel

Re: [sqlite] Best solution to import big DBF file?

2011-06-27 Thread Alexey Pechnikov
or affordable? Thank you. ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users -- Best regards, Alexey Pechnikov. http://pechnikov.tel

[sqlite] Documentation typos and inconsistent logic

2011-06-20 Thread Alexey Pechnikov
cannot reference objects in attached databases but view can reference deleted object? -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite

[sqlite] How to parse VIEW fields definitions?

2011-06-14 Thread Alexey Pechnikov
As example, we have view: create view vtest as select name1 || ' ' || name2 as name from test; How to get the definition of name field (will be name1 || ' ' || name2)? Of cource, the view can be more complex. -- Best regards, Alexey Pechnikov. http://pechnikov.tel

Re: [sqlite] How to parse VIEW fields definitions?

2011-06-14 Thread Alexey Pechnikov
The new PRAGMA or Virtual Table will be more useful. But I don't sure about possibility of this. 2011/6/14 Nico Williams n...@cryptonector.com: On Tue, Jun 14, 2011 at 1:58 PM, Alexey Pechnikov pechni...@mobigroup.ru wrote: As example, we have view: create view vtest as select name1

[sqlite] Patch for fts3_tokenizer.c to compile FTS3 extension as a loadable module

2011-06-13 Thread Alexey Pechnikov
In fts3_tokenizer.c these lines are invalid: #include sqlite3ext.h #ifndef SQLITE_CORE SQLITE_EXTENSION_INIT1 #endif Use single line instead: #include sqlite3.h -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ___ sqlite-users mailing

Re: [sqlite] can we configure high availibility with SQLITE?

2011-06-11 Thread Alexey Pechnikov
. -- Thanks Regards Irfan Khan ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users -- Best regards, Alexey Pechnikov. http://pechnikov.tel

  1   2   3   4   5   6   >