Forum Discussion

RebeccaKnecht__'s avatar
RebeccaKnecht__
Qrew Member
2 years ago

Optimizing Report reaching data limit

Hello!

 I have a report with 66,698 records and is 400MB of spcae. I really need to be able to access all records in some manner (they are basically patient appointments I may need to refer back to) Is there anyway to keep these in one report and optimize them or maybe build a second report for anything after a certain date??? The way it works is each patient has many appointments and I want to keep adding appointments to each patient and still be ale to review back as many years as needed. o far we have about 2 years of data on here so I expect to make it through bout 6 more months before reching the full limit. Any suggestions would be super helpful.



------------------------------
Rebecca Knecht, MS, ACSM-CEP
------------------------------

1 Reply

  • MarkShnier__You's avatar
    MarkShnier__You
    Qrew #1 Challenger

    I think that there is an easy answer here.  Go to the table hoe p[age and under the old style green button and then More ... use the option to Copy Table (with data).  Then decide where your cut off will be for old records. Let's say you decide to Archive out from 2021 and older.  So in the archive table you would delete everything after 2021, so run a report starting Jan 1 2022  and delete those from the Archive.

    The make a report link field on the PT record or even a relationship from Appointment back to Patients based on he existing [Related Patient] field in the Archive table.

     Then put that Report Link Link field as an embedded report on your patient record and you can use a form rule based on a summary checkbox field as to whether there are any archive records to decide whether to show the report link of archived appointments.

    Once you are totally satisfied that you have safely archived out a particular number of years and you are running out of space on your main table then be brave and run a report of the records that you want to delete off your main appointments table and then delete them.  



    ------------------------------
    Mark Shnier (Your Quickbase Coach)
    mark.shnier@gmail.com
    ------------------------------