Unlike the outdated dbanalys the recent versions of proutil -C viewB2 and prostrct statistics reports the number of blocks owned by the database objects resided in SAT2. Together with the "size" value from dbanalys we can estimate the unused disc space. And then we can decide if a percentage is...
Based only on your example, I would recommend to add the TRANSACTION keyword to the DO block:
IF NOT AVAILABLE(Manifest) THEN
DO TRANSACTION:
iCnt4 = iCnt4 + 1.
CREATE Manifest...
Where do you assign a value to Manifest.ShippingMethod? Your code is totally forgot about this field. FIND statement uses all components of the OrderNumber index. ASSIGN statement also missed at least the Transferred, CarrierCode and LocationCode fields.
Your ASSIGN statement does not create...
Bingo!
DELETE OBJECT ophDataSet.
END PROCEDURE. /* Callee */
Tested: a caller gets all records from ophDataSet and then a callee deletes the dataset
Thank you!
I was wrong. On return to the editor, Progress deletes all temp-tables linked to the orphaned datasets but it just forgets to delete the datasets themselves.
EMPTY-DATASET does crash a session when dataset does not have the temp-tables.
The workaround does work!
In the callee I’m using...
Unfortunately, it turned out to be impossible to re-use or to delete the "forgotten" datasets from the chain in SESSION:FIRST-DATASET.
DELETE OBJECT hDataset has no effect.
hDataset:EMPTY-DATASET() crashes a session whatever I do with dataset before EMPTY-DATASET.
IMHO, it looks like a bug...
PROCEDURE B:
DEFINE OUTPUT PARAMETER DATASET-HANDLE ophDataSet.
<code>
END PROCEDURE. /* B */
It looks like a dataset is sent to a calling procedure at the END operator. We should not empty a dataset before the END. We can't empty a dataset after the END.
Documentation says:
https://docs.progress.com/bundle/openedge-prodatasets-guided-journey/page/Cleanup-after-using-a-dataset.html
There are two recommended practices for cleaning up after using datasets in your code:
DETACH-DATA-SOURCE
EMPTY-DATASET
IMHO, it’s true only partially.
I wrote...
I totally agree with Rob but a few questions are still remained. The most of the times I see the voluntaristic choice of the options and I’m trying to collect the criteria to make the choice more “calculable”. I'm looking for a "formula".
Let’s assure we should keep the replication running...
What would experts say about the optimal number of variable-length AI extents? 3 is the minimum. What is the best practice?
About (or less than) 1 MB/sec (less than 1 GB per 16 min) -> 300 GB of disc space will give you 3.5 days to fix an issue. Great!
I hope your database does not have 300 AI extents of 1 GB size .
It's a good idea.
You can add the AI extents online. V12.8 prostrct removeonline can remove online only data extents:
Unrecognized extent type sports.a3 for prostrct removeonline utility
I can share the documentation for Progress V9.1B if you need it. It's in the pdf format;
You can find the installed licenses that will tell you what you can do with a database: %DLC%\bin\showfcfg.exe %DLC%\progress.cfg;
You can check a database log (dbname.lg file) to find out how database is...
If we stay with D&L… There are the reasons not to use the multi-threaded load. The load will be the longest phase. Then the best choice, IMHO, is to dump and load in parallel using the multi-volume dump. Bonus - we will use the less disc space.
Max number of the dump threads is defined by the number of the keys in the root block of the index used for dump. In other words, the number of dump threads depends on the chosen index. The larger table more likely its root blocks have just the small numbers of index keys.
Dbanalys does not...
To find the root cause ones need:
1. to gather as much information as possible;
2. to have a qualified support team who is able to analyze the huge volume of the collected information;
3. to be lucky to get the answers after the minimal number of the incidents or to be patient to continue an...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.