Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account
List archives

Fwd: Fwd: fts virtual table questions

tclsqlite Precompiled binary for tcl
(7 lines)
Source code for system.data.sqlite
(15 lines)
Mar 1, 2011
Paul Shaffer
Paul Shaffer
I had an API problem, and I now think that the virtual table does not need
to be created each time. I can't find documentation that covers this.

The question on threading the virtual table construction still stands.

If I don't have any response in a day or so I will close this issue.


-------- Original Message --------
Subject: Fwd: fts virtual table questions
Date: Mon, 28 Feb 2011 22:48:58 -0700
From: Paul Shaffer <sql### @cyberplasm.com>
To: General Discussion of SQLite Database <sqlite-use### @sqlite.org>

Edit: with doing a create virtual call --> without doing a create
virtual call

-------- Original Message --------
Subject: fts virtual table questions
Date: Mon, 28 Feb 2011 22:46:32 -0700
From: Paul Shaffer <sqli### @cyberplasm.com>
To: General Discussion of SQLite Database <sqlite-use### @sqlite.org>

I am still testing my results and am new to fts.

To use fts, is "create virtual table" required every time my program runs
and opens the sqlite database? I see that the table (plus a few other
related fts tables) is physically present in the database after my program
closes. I would prefer to not recreate this table every time I launch my
windows forms application. I have tried to use the existing table with
doing a create virtual call, but I get table not found exception. The table
takes an additional 10 seconds or so to load at program start.

If I have to create the virtual table every time my program runs, I will
first resort to creating the table on a background thread. Do you know of
any problems doing this aside from the usual threading concerns? How is
this usually handled in desktop applications?






Reply
Tags: virtual tabletable construction
Messages in this thread
Fwd: Fwd: fts virtual table questions
reply Re: Fwd: Fwd: fts virtual table questions
(21 lines) Mar 1, 2011 18:59
Fwd: fts virtual table questions
February 28, 2011 11:49:16 PM
Edit: with doing a create virtual call --> without doing a create virtual call -------- Original Message -------- Subject: fts virtual table questions Date: Mon, 28 Feb 2011 22:46:32 -0700 From: Paul Shaffer <sql### @cyberplasm.com> To:…
fts virtual table questions
February 28, 2011 11:47:14 PM
I am still testing my results and am new to fts. To use fts, is "create virtual table" required every time my program runs and opens the sqlite database? I see that the table (plus a few other related fts tables) is physically present in the…
Virtual Table and the xBestIndex
February 25, 2011 08:30:39 PM
Hi all, I am trying to implement a simple virtual table that reads in a file with two columns and "::" separator. My question is: is it necessary to implement xBestIndex to run a simple where clause queries? Thank you.
Virtual table optimization using xBestIndex/xFilter
December 19, 2010 06:21:39 AM
Hi, I'm using the SQLite virtual table mechanism to create an SQL interface for a specialized relational database that doesn't speak SQL natively. Thanks to Jay Kreibich's great "Using SQLite", the implementation has been pretty straightforward so…
Questions about table optimization
February 12, 2011 07:26:03 AM
Hi all, I'm new on this list. First of all a BIG thanks to the dev team of SQLite, it's an amazing library, it helped me to enter in the world of SQL and I'm using it from PHP on some small-medium sites. Thanks also to who takes time to explain …
DO NOT REPLY Tomcat Virtual Host Manager application doesn't persist newly created virtual hosts
September 12, 2010 01:40:58 PM
https://issues.apache.org/bugzilla/show_bug.cgi?id=48674 --- Comment #3 from Wesley <wesley.a### @gmail.com> 2010-09-12 14:40:28 EDT --- Created an attachment (id=26019) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26019)…
DO NOT REPLY Tomcat Virtual Host Manager application doesn't persist newly created virtual hosts
September 12, 2010 02:03:17 PM
https://issues.apache.org/bugzilla/show_bug.cgi?id=48674 Wesley <wesley.a### @gmail.com> changed: What |Removed |Added
DO NOT REPLY Tomcat Virtual Host Manager application doesn't persist newly created virtual hosts
September 24, 2010 03:16:56 PM
https://issues.apache.org/bugzilla/show_bug.cgi?id=48674 --- Comment #5 from Chuck Caldarale <chuck.ca### @unisys.com> 2010-09-24 16:16:06 EDT --- (In reply to comment #4) > Is this worth continuing with? I know its rough but I'd like…
DO NOT REPLY Tomcat Virtual Host Manager application doesn't persist newly created virtual hosts
September 24, 2010 03:04:30 PM
https://issues.apache.org/bugzilla/show_bug.cgi?id=48674 --- Comment #4 from Wesley <wesley.a### @gmail.com> 2010-09-24 16:03:43 EDT --- Is this worth continuing with? I know its rough but I'd like to know if its a start again job, or…
Created: (DERBY-4883) Create a table function which turns an html table into a dbms table
November 2, 2010 04:02:50 PM
Create a table function which turns an html table into a dbms table
Updated: (DERBY-4639) Repeatedly issuing a CREATE TABLE against a table that already exists causes D
June 29, 2010 04:14:50 PM
[ https://issues.apache.org/jira/browse/DERBY-4639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Matrigali updated DERBY-4639:
Assigned: (DERBY-4639) Repeatedly issuing a CREATE TABLE against a table that already exists causes
June 7, 2010 04:29:49 PM
[ https://issues.apache.org/jira/browse/DERBY-4639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lily Wei reassigned DERBY-4639:
Commented: (DERBY-4681) Dropping a column in the table drops the views that use this table
February 17, 2011 06:44:11 AM
[ https://issues.apache.org/jira/browse/DERBY-4681?page=com.atlassian.ji ra.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= 12995786#comment-12995786 ] Grzegorz ?yp commented on DERBY-4681:
Updated: (DERBY-4639) Repeatedly issuing a CREATE TABLE against a table that already exists causes D
February 16, 2011 06:08:46 PM
[ https://issues.apache.org/jira/browse/DERBY-4639?page=com.atlassian.ji ra.plugin.system.issuetabpanels:all-tabpanel ] Dag H. Wanvik updated DERBY-4639:
Updated: (DERBY-4681) Dropping a column in the table drops the views that use this table
February 16, 2011 06:03:49 PM
[ https://issues.apache.org/jira/browse/DERBY-4681?page=com.atlassian.ji ra.plugin.system.issuetabpanels:all-tabpanel ] Dag H. Wanvik updated DERBY-4681:
Created: (DERBY-4681) Dropping a column in the table drops the views that use this table
May 28, 2010 06:15:40 AM
Dropping a column in the table drops the views that use this table
Updated: (DERBY-4639) Repeatedly issuing a CREATE TABLE against a table that already exists causes D
June 7, 2010 04:31:43 PM
[ https://issues.apache.org/jira/browse/DERBY-4639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lily Wei updated DERBY-4639:
Closed: (DERBY-2251) When I Create a table with Chinese table name , ij report IO exception.
October 5, 2010 04:51:05 AM
[ https://issues.apache.org/jira/browse/DERBY-2251?page=com.atlassian.ji ra.plugin.system.issuetabpanels:all-tabpanel ] Tiago R. Espinha closed DERBY-2251.
Created: (HIVE-1480) CREATE TABLE IF NOT EXISTS get incorrect table name
July 22, 2010 02:18:49 PM
CREATE TABLE IF NOT EXISTS get incorrect table name
Created: (HIVE-1977) DESCRIBE TABLE syntax doesn't support specifying a database qualified table nam
February 8, 2011 04:09:31 PM
DESCRIBE TABLE syntax doesn't support specifying a database qualified table name
Few questions on planning mysql table
January 11, 2011
say I have a large table, 200 000 rows and I need to change/add column of enum type, would it work properly or would I experience problems? Should I…
Alternative for CREATE VIRTUAL TABLE IF NOT EXISTS
February 15, 2011
According to CREATE VIRTUAL TABLE syntax , IF NOT EXISTS clause is not available . How should I handle the case when the virtual table already…
Postfix user not found in virtual alias table
October 17, 2010
Does anyone know why I get this error: postfix/error[4711]: 707A9189C6B0: to=<person.example.com@example.com>,…
Postfix - User unknown in virtual mailbox table + authentification failed
January 31, 2011
Hi, I'm trying to set postfix with MySQL authentication. I can send mails (from postfixadmin) to different domains. The problem is that I cannot…
Some questions about caching
February 14, 2011
I am using apache webserver for a django application. How, do I set caching for images and css? I ran a webpagetest on my website, and it says…
Some apache log questions
February 13, 2011
In the following log snippet what could cause certain requests to return a 302 status and the last one to return a 200 status? As I understand it…
Mod_rewrite and Apache questions
January 10, 2011
We have an interesting situation in relation to some help desk software that we are trying to setup. This is a web based software application that…
Caching for database questions.
January 15, 2011
When we say caching like using memcahe or Redis, is this a 1:1 caching between the user and the cache or can we cache 1 item and use it for all…
Im making a PHP game with a map, and i have some questions
January 10, 2011
Well im Making a PHP webgame with a map where players can walk on. but im very about overall performance of the game. it is a bit like this: The…
PHP : parsing questions then getting the keywords
February 10, 2011
I need to parse a question and then get the keywords and store them inside the database. Example: What is a void function? I can already take out…
Two questions about mongodb console
February 12, 2011
In the mongo shell: > db.thing_collection.find() { "_id" : ObjectId("4d5541bece6bff4a6d000000"), "views" : 0 } How to delete above record? {…
Gzip - questions about performance
December 20, 2010
Firstly, I'm using Django. Django provides gzip middleware which works just fine. Nginx also provides a gzip module. Would it make more sense to…
Some questions about SQL gorup by week
February 26, 2011
I have some problems when coding SQL gorup by week. I have a MySQL table named order. In this entity, there are several attributes, called…
Questions about salting passwords
January 12, 2011
Okay. Say for example that i set the salt for a password to "hello." Can't someone just look at the source code and discover the salt? If so, how…
Questions on sqlite transactions
December 27, 2010
1) Is it ok to do inserts,deletes and updates in one transaction? 2) Is there a (recommended) limit to the number of writes per transaction?
PostgreSQL Locking Questions
February 18, 2011
I am trying to figure out how to lock an entire table from writing in Postgres however it doesn't seem to be working so I am assuming I am doing…
.htaccess - help on understanding - 8 little comments/questions.
February 21, 2011
I have the following .htaccess at the moment. This is a dummy copy paste from here and there, but I would like to understand a little bit more about…
Select questions which doesnot have answers
February 28, 2011
Hello, I have a simple query doubt. Question Table qid question 1 ques1 2 ques2 3 ques3 4 ques4 5 ques5 6 ques6 7 ques7 Answer Table ansid qid…
Some questions related to SphinxSE and RT indexes
February 10, 2011
Hi. I consider using Sphinx search in one of my projects so I have a few questions related to it. When using SphinxSE and RT index, every UPDATE or…
General questions about index and mysql
January 28, 2011
Im trying to understand indexes better for when I use Mysql. One issue is Im still having a hard time to determine what type of index I should use…