Article View: comp.lang.pascal.delphi.databases
Article #89Query problems on a large database
From: Derek
Date: Thu, 13 Aug 1998 00:00
Date: Thu, 13 Aug 1998 00:00
34 lines
1898 bytes
1898 bytes
Re: Problem described below The SQL is a "select * from my_table where Field_1='zzzz'" (Field1 is indexed...) - the table itself has 10 fields; all simple numeric or string fields (it's a vanilla .dbf file) PS I have tried this in a test app with ONLY the query hooked up to a dbgrid on a single form... Derek Dan Brennand wrote: > > Please post your SQL statements and a description of the tables. A > description of what you are trying to get from the tables will help, > too. > > >(Running D3, with BDE 4.51) > > > >I have run into some problems trying to query a large database (stored > >either on the local hard drive or on a CD) - I kept getting a > >"insufficient file handles" error --- which did not seem to be the real > >problem as I had already increased the MaxFileHandles to its maximum > >value of 4096. Then I noticed that the query seemed to be generating > >very large (temporay?) files, in the program directory, of 10's of MB in > >size; named _QSQL###.DBF (### = 000 to 999). Any ideas if this is the > >real problem (and how to solve if...!) or if there is another underlying > >issue?? > > -- dhohls@csir.co.za (remove .NOSPAM in header to reply)
Technical Details
Message-ID:
<35D2A83B.125D@csir.co.za>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<35D030B2.5CA5@csir.co.za> <35d1e050.12685023@news.dimensional.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: ffff5,3d0d99c241f90a87 X-Google-Attributes: gidffff5,public X-Google-Thread: ff75c,ad718783823bebe0 X-Google-Attributes: gidff75c,public From: Derek <dhohls@csir.co.za> Subject: Query problems on a large database Date: 1998/08/13 Message-ID: <35D2A83B.125D@csir.co.za> X-Deja-AN: 380939330 Content-Transfer-Encoding: 7bit References: <35D030B2.5CA5@csir.co.za> <35d1e050.12685023@news.dimensional.com> Content-Type: text/plain; charset=us-ascii Organization: Mikomtek/CSIR Mime-Version: 1.0 Reply-To: dhohls@csir.co.za Newsgroups: comp.lang.pascal.delphi.databases,borland.public.delphi.database.desktop