12-01-2012, 05:46 PM
You should create a new column ( size ) in the tblDocuments,
or create a new table ( size_documents ) correlated to id documents.
Add new column ( quota ) in tblFolders.
When user go to upload page, SUM the total size docs and match with folder quota.
This will work with all platforms, will be very fast, and low CPU usage.
Regards,
Alex
or create a new table ( size_documents ) correlated to id documents.
Add new column ( quota ) in tblFolders.
When user go to upload page, SUM the total size docs and match with folder quota.
This will work with all platforms, will be very fast, and low CPU usage.
Regards,
Alex