Re: Big tables



N:dlzc D:aol T:com (dlzc) wrote:
Dear Joe Wright:

"Joe Wright" <joewwright@xxxxxxxxxxx> wrote in message news:tKqdnRe9vJQTJlXanZ2dnUVZ_v6rnZ2d@xxxxxxxxxxxxxx
I maintain a fairly elaborate set of .dbf tables
representing images of tables in an Informix
engine on a Sun server. My images are created
and maintained on a Windows 2k server on a
daily (overnight) basis.

I create the .dbf with a program of my own which
reads a text file from the Informix server and
builds a .dbf on the windows side. It is essentially
'append from' and very fast.

What RDD?

None. It's a tight little C program that takes Informix pipe delimited files and 'appends' the lines to a .dbf table.

There are 100 or so of these .dbf tables created
every morning (M..F) and some of them get
larger on a daily basis.

There is some preprocessing of these tables by
Clipper apps I have written. One day last month
one of the Clipper apps failed. It had run flawlessly five days a week for five years. Now it
fails..

A little troubleshooting suggested it failed while
attempting to index the principal .dbf table.

How many keys, and what length?

I can't say exactly as I'm at home now, not at work. Certainly key length is very important.

I noted that the table size was approaching 2 Gigabytes. Clipper didn't seem to have any problem
with the size of the table so I determined to 'cook' it
down some before indexing it.

I got the file size down to 900 Megabytes or so and
indexing it went smoothly. Problem solved.

Maybe not. During the day we use Visual FoxPro
6.0 to do various interesting things using my .dbf
images. Yesterday, Feb 28, VFP6.0 attempted to
open my 2GB table, barfed and declared "Not a
table".

Clipper thinks it's a table but can't index it.

Underlying filesystem is NTFS. Is there a known way
through or around this 2GB file limit?

Have a sense of humor, I am not trying to be a smart-a**:
- xHarbour has no such low limitations, and will accept your Clipper code... depending on your 3rd party libs.
- xHarbour has an SQL RDD available, so that you could directly access the server data, and let it do all the work.
- you might find some code here that will let Clipper (but certainly xHarbour) access the data...
http://www.iiug.org/software/software_index.html
... maybe via OLE.

A sense of humor? Have you heard the one about the ... ?
We don't send donkeys to school because nobody likes a smart ass. :-)
I will again look into xHarbour and SQLRDD. Thanks.

As to Visual FauxPro, I believe Micro$haft is making that open source, and it is certainly higher than 6.0 now.

xHarbour has its own newsgroup on comp.lang.xharbour.
www.xharbour.org for the free version
www.xharbour.com for the commerical version, and the SQL RDD.

David A. Smith


Thanks David.

--
Joe Wright
"Everything should be made as simple as possible, but not simpler."
--- Albert Einstein ---
.



Relevant Pages

  • Re: Big tables
    ... engine on a Sun server. ... My images are created ... Clipper apps I have written. ... - xHarbour has an SQL RDD available, ...
    (comp.lang.clipper)
  • Re: Adwantage Database Server ?
    ... I never head something about leto db. ... Does it work only wit xHarbour? ... we developed our own clipper application since years. ... All Data's are on a SBS 2003 Server. ...
    (comp.lang.clipper)
  • Re: dbf trashing problem after upgrade
    ... the application would automatically correct the files with foxfix and no bad ... the terminals share a DBF on the server. ... > good UPS, ...
    (microsoft.public.fox.programmer.exchange)
  • Re: SQL conversion
    ... offering the large scale Relational Database world, ... insert the data in Clipper DBFs, and build your HTML pages from the Clipper ... would be standard SQL language and similar to Clipper-ese. ... I have the task of unloading an Informix table on a Unix server and putting the data in a .dbf structure on a Windows server for use by Clipper and FoxPro. ...
    (comp.lang.clipper)
  • Re: dbf trashing problem after upgrade
    ... I also develop POS solutions ... the terminals share a DBF on the server. ... sure the server is running an NT kernel based O/S. ... we extensivley used foxfix to remedy ...
    (microsoft.public.fox.programmer.exchange)

Loading