Search results

  1. George Potemkin

    Files in DLCWRK folder aren't getting deleted, causing disk space utilization to spike

    DBI file is the only one created in $Extend\$Deleted. Other Progress temp files are visible on Windows even if a session is not use the -t parameter.
  2. George Potemkin

    Effect of moving from 128 to 256 RPB

    I will split your question into 3 parts: 1. Should you do a d&l? 2,906,790,153 is the total size of records in your database; 4,440,358,912 is their footprint on the disk. Even laptops have much more RAM. You can put the whole database in memory and this will completely eliminate disk I/O. 2...
  3. George Potemkin

    Effect of moving from 128 to 256 RPB

    I added "Size" column from pt.viewB2.txt as the "Blocks" column to tabanalys. Also I added a few columns based on the formulas: Block Size = Blocks * 8128 where 8128 = dbblocksize - 64 Usage% = (Record) Size / Block Size * 100% Dev Symmetry = (Max - Mean) / (Mean - Min) Dev Ratio = (Max - Min)...
  4. George Potemkin

    Effect of moving from 128 to 256 RPB

    Wow! I did not know that proutil -C viewB2 supports the -csoutput -verbose parameters. At least since version 11.7! This does not documented even in V12.8. Thanks, Patrick!
  5. George Potemkin

    Effect of moving from 128 to 256 RPB

    @PatrickTingen Can you upload the -csoutput files instead of tabanalys?
  6. George Potemkin

    Effect of moving from 128 to 256 RPB

    Almost all databases have the tables with the updates/creates ratio close to 1 (or even higher /integer/ number) no matter how long is a sampling interval. Or it's close to an integer number only on the intervals when the creates are very high. In 99.9% cases it means the programming issue - the...
  7. George Potemkin

    Effect of moving from 128 to 256 RPB

    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...
  8. George Potemkin

    Primary Unique DB Records

    Hence the unique index with this component should be deactivated or deleted.
  9. George Potemkin

    Primary Unique DB Records

    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...
  10. George Potemkin

    Primary Unique DB Records

    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...
  11. George Potemkin

    Question Cleanup after using a dataset

    Bingo! DELETE OBJECT ophDataSet. END PROCEDURE. /* Callee */ Tested: a caller gets all records from ophDataSet and then a callee deletes the dataset Thank you!
  12. George Potemkin

    Question Cleanup after using a dataset

    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...
  13. George Potemkin

    Question Cleanup after using a dataset

    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...
  14. George Potemkin

    Question Cleanup after using a dataset

    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.
  15. George Potemkin

    Question Cleanup after using a dataset

    Can it be used to call a remote procedure? Demo.p calls a local procedure only because it's a demo.
  16. George Potemkin

    Question Cleanup after using a dataset

    # Breakpoint Datasets Buffers 1 Test is beginning... 0 0 2 A: Before OUTPUT DATASET-HANI 0 0 3 B: Before CREATE TEMP-TABLE 0 0 4 B: After CREATE TEMP-TABLE 0 0 5 B: Before CREATE DATASET 0 1 6 B: After CREATE DATASET 1 1...
  17. George Potemkin

    Question Cleanup after using a dataset

    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...
  18. George Potemkin

    Working with Progress 9.1A

    The link is back: https://cloud.mail.ru/public/GFD8/YjTxQ5PtZ
  19. George Potemkin

    Change AI Extent Sizes

    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...
  20. George Potemkin

    Working with Progress 9.1A

    https://cloud.mail.ru/public/KHAm/3Qm87siCu It's the 9.1B.rar file - 67.2MB. Let me know when I can remove the file.
Back
Top