On 3/2/2012 11:38 AM, Duquette, William H (318K) wrote:
On 3/2/12 8:29 AM, "Igor Tandetnik" wrote:
On 3/2/2012 11:29 AM, Pavel Ivanov wrote:
If I am querying data just from t1, is there a performance penalty
for using myview in the query? Or will the query planner
On 3/2/12 8:31 AM, "Simon Davies" wrote:
>On 2 March 2012 16:23, Duquette, William H (318K)
> wrote:
>> Howdy!
>>
>> Suppose I have two related tables, t1 and t2, and I write a view like
>>this:
>>
>>CREATE VIEW myview AS SELECT
On 3/2/12 8:29 AM, "Igor Tandetnik" wrote:
>On 3/2/2012 11:29 AM, Pavel Ivanov wrote:
>>> If I am querying data just from t1, is there a performance penalty
>>> for using myview in the query? Or will the query planner generate
>>> approximately the same bytecode as it
pecified?
>
> RobR
>
> -Original Message-
> From: sqlite-users-boun...@sqlite.org
> [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Duquette, William H
> (318K)
> Sent: Friday, March 02, 2012 11:23 AM
> To: Discussion of SQLite Database
> Subject: [sqlite] Vie
of SQLite Database
Subject: [sqlite] Views and Performance
Howdy!
Suppose I have two related tables, t1 and t2, and I write a view like this:
CREATE VIEW myview AS SELECT * FROM t1 JOIN t2 USING (some_column);
If I am querying data just from t1, is there a performance penalty for using
myview
On 3/2/2012 11:29 AM, Pavel Ivanov wrote:
If I am querying data just from t1, is there a performance penalty
for using myview in the query? Or will the query planner generate
approximately the same bytecode as it would if I'd simply queried
t1?
Yes, there is performance penalty and no it
On 2 March 2012 16:23, Duquette, William H (318K)
wrote:
> Howdy!
>
> Suppose I have two related tables, t1 and t2, and I write a view like this:
>
> CREATE VIEW myview AS SELECT * FROM t1 JOIN t2 USING (some_column);
>
> If I am querying data just from t1, is
> If I am querying data just from t1, is there a performance penalty for using
> myview in the query? Or will the query planner generate approximately the
> same bytecode as it would if I'd simply queried t1?
Yes, there is performance penalty and no it can't generate the same
bytecode. If you
Howdy!
Suppose I have two related tables, t1 and t2, and I write a view like this:
CREATE VIEW myview AS SELECT * FROM t1 JOIN t2 USING (some_column);
If I am querying data just from t1, is there a performance penalty for using
myview in the query? Or will the query planner generate
9 matches
Mail list logo