InstantDB Project
About InstantDB
Project Mail Lists
Short History
Reporting Bugs
Screen Shots
3rd Party Examples
FAQs

Software
Downloads
Documentation
CVS Repositories
Roadmap
License

About Enhydra.org
Who We Are
News, Articles & Events
Getting Involved
Contact Us

Community
Demos
Contributions
Resources
Case Studies
On The Edge! -NEW-
Commercial Vendors


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: InstantDB: SQL query does not run


Hi Thomas,

One observation: this is a cartesian product, because there is no join
condition that links vrnt with any other table.  So it might be
generating a result set that is larger than what you intend.  If that
results in a ridiculously large result set, it could be overwhelming the
InstantDB engine.

Have you considered testing simpler queries with fewer tables until you
can build up the full 14-way join?

Thomas Vatter wrote:
> from
> 
>      eintr, stf, mng, knz, gfh, rstkmb, gbd, stc, rm, fchabt,
>      ins, arb, brb, vrnt
> 
> where
> 
>      dor is null and doa is null and unme <> "zxy" and
>      eintr.stfn = stf.stfn and
>      eintr.brbn = brb.brbn and
>      eintr.fchabtn = fchabt.fchabtn and
>      eintr.gbdn = gbd.gbdn and
>      fchabt.insn = ins.insn and
>      fchabt.arbn = arb.arbn and
>      gbd.stcn = stc.stcn and
>      gbd.rmn = rm.rmn and
>      stf.gfhn = gfh.gfhn and
>      stf.mngn = mng.mngn and
>      stf.rstkmbn = rstkmb.rstkmbn and
>      stf.knzn = knz.knzn

Regards,
Bill Karwin
Application Architect - Lutris Technologies, Inc.
-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.