re. I-Descriptor is a little confusing to me because I cannot understand how you can reference @ positions 2, 4, and 6 before they are even defined in the I-Descriptor
By referencing @2 from 1st position, you get the value as it was stored in the previous execution of the i-descriptor, i.e., the previous record's value. That's why I said it only works from a presorted select list. For the very 1st record @2 comes back null.
It has always worked that way in UV and PI before. But it is undocumented so they've never actually committed to it, but I can't imagine them taking it away. If they did, at very worst the logic could be replaced with a subroutine that caches the record to common for comparison on subsequent executions.
UD works differently. In UV these buffers are i-descriptor-specific. In UD they are shared across all I-descriptors. At least that's how it worked when I last looked, lo, these many years ago.
Original Message:
Sent: 05-24-2024 07:50
From: Joseph von Arx
Subject: Are there any Best Practices to prevent/reduce the occurance of UV file Blinks
I think your sample I-Descriptor is a little confusing to me because I cannot understand how you can reference @ positions 2, 4, and 6 before they are even defined in the I-Descriptor. I think that may require additional explanation for those less familiar with constructing these dictionaries. I think we understand the intent of the sample based on the name, but the execution needs a little clarification.
The trick for me is to develop some new I-Descriptors that will allow trending and forecasting to more accurately determine what values to use in a RESIZE command to account for estimated growth plus additional padding. There is a lot to chew on and understand before I get that far, though.
------------------------------
Joseph von Arx
Software Developer
Data Management Associates Inc DMA
Cincinnati OH US
Original Message:
Sent: 05-23-2024 07:52
From: Chuck Stevenson
Subject: Are there any Best Practices to prevent/reduce the occurance of UV file Blinks
Does that sample i-descriptor make sense? I can explain it if anyone wants.
------------------------------
Chuck Stevenson
DBA / SW Developer
Pomeroy
US
Original Message:
Sent: 05-23-2024 07:35
From: Joseph von Arx
Subject: Are there any Best Practices to prevent/reduce the occurance of UV file Blinks
I like the idea of a FSTAT.HIST file. I had never thought of doing it that way, but it would certainly allow better reporting for trends. Now I just need to come up with some I-Descriptors to generate the reports.
------------------------------
Joseph von Arx
Software Developer
Data Management Associates Inc DMA
Cincinnati OH US
Original Message:
Sent: 05-22-2024 12:35
From: Chuck Stevenson
Subject: Are there any Best Practices to prevent/reduce the occurance of UV file Blinks
If files are grossly overflowed, switch to dynamic hashed, type 30.
I use type 30 for files that tend to grow.
For static tables, I'll size them correctly to static hashed, & monitor weekly with a scheduled report of anything out of whack.
I use ACCOUNT.FILE.STATS weekly & save each weeks data in my own FSTAT.HIST so I can sort by file then date. It's dictionary is basically same as STAT.FILE, with a few fancy I-descriptors that compare the previous FSTAT.HIST record to the current one I can get things like BytesAddedPerDay & RecsAddedPerDay & averages & see when things become unstable.
DICT FSTAT.HIST DATABYTES.PERDAY
0001: I works on lists sorted BY[.DSND] FILENAME BY[.DSND] RUNDATE
0002: @2;FILENAME; @4;RUNDATE; @6;DATABYTES; IF @1=@2 & @3#@4 THEN (@5-@6)/(@3-@4) ELSE ''
0003:
0004: DataBytesý / Day
0005: 9R0Z
0006: S
------------------------------
Chuck Stevenson
DBA / SW Developer
Pomeroy
US
Original Message:
Sent: 05-19-2024 19:28
From: Peter Cheney
Subject: Are there any Best Practices to prevent/reduce the occurance of UV file Blinks
Hi Gil, re the no more disk space.
Does your windows installation have separate file systems (partitions?) for things like your main UV database(s), logs, software? Do processes that run your application write logs to the UV database file system or to a separate file system? If you're running/storing everything in a single file system then that increases the likelihood of filling up your disk and borking(tm) your data with blinks. Especially if your files are grossly overflowed.
If your system(s) isn't already setup with depurate database/log/software partitions then perhaps a reorganisation might be needed to minimise impacts of runaway processes filling up logs etc. I quick and dirty way of achieving this (in unix at least) is to use symbolic links to relocate local logs in your DB out to a separate disk or partition. I'm sure windows has a similar feature but I'm not familiar with it.
Hope the above is of assistance.
Cheers,
Peter
------------------------------
Peter Cheney
Developer and Systems Superstar
Firstmac
Brisbane Qld Australia
Original Message:
Sent: 05-09-2024 11:29
From: Gil Steidle
Subject: Are there any Best Practices to prevent/reduce the occurance of UV file Blinks
Blinks. Our product uses the Universe database with Pick Flavored account running on various Windows OS platforms. What, if anything, can be done to reduce the number of file blinks that we are seeing? Three causes that we've identified so far are: Power failure, No more disk space, Anti-virus.
Are any UV versions (or Windows versions) more susceptible than others to Blinks?
Thanks in advance for your inputs.
------------------------------
Gil Steidle
DEV
DDI System Inc
brick NJ US
------------------------------