I was able to locate one (Oracle-specific) possible starting point for a solution here:
https://knowledge.opentext.com/knowledge/llisapi.dll?func=ll&objId=3680068&objAction=view&show=2
- Bhupinder
------------------------------------------------------Bhupinder Singh, B.Math., B.Ed.Senior Product Specialist, Customer SupportOpen Text Corporation, Waterloo, Ontario, CanadaCustomer support e-mail: support@opentext.comCustomer Support Telephone: 800-540-7292------------------------------------------------------
JimPhone: 321-726-7422An amateur practices until she gets it right. A professional practices until she can't get it wrong - Monday Night Football
Thanks Leon interesting Report but..Posted by Arens, Peter on 12/19/2006 04:34 AMHello,this is an interesting report, but not what we need. We don't need a report which shows us the folders with the most documents, we need a report which shows us the biggest folders in bytes or mega bytes. Where is the most data in.Does anyone have an idea how to do that?Peter[To reply to this thread, use your normal E-mail reply function.]============================================================Topic: Biggest Folders in Livelinkhttps://knowledge.opentext.com/knowledge/llisapi.dll/open/9653671Discussion: Livelink LiveReports Discussionhttps://knowledge.opentext.com/knowledge/llisapi.dll/open/2249677Livelink Server:https://knowledge.opentext.com/knowledge/llisapi.dllTo Unsubscribe from this Discussion, send an e-mail to unsubscribe.livereportsdiscussion@elinkkc.opentext.com.
Hi Peter,
The Average file size is using (round(sumb.datasize) / 1024,3) / count( b.datasize ). It should be round( sum(b.datasize ) / 1024, 3) / count( b.datasize ). That should fix your problem.
Regards,
Roger Duplin
Product Support Specialist
Open Text Corporation
From: eLink Discussion: Livelink LiveReports Discussion[mailto:livereportsdiscussion@elinkkc.opentext.com] Sent: Tuesday, January 09, 20079:29 AMTo: eLink RecipientSubject: No it doesn't....
No it doesn't....
Posted by parens (Arens, Peter) on 01/09/2007 09:28 AM
In reply to: You are missing right parenthesis
Posted by stephenfisher (Fisher, Stephen J) on 01/09/2007 08:47 AM
Hello, now I got the following message: [ORA-00907: missing right parenthesis - select round (sum (b.datasize) / 1024,3) "Data Size (in K bytes)", count (b.datasize) "File count", (round (sum b.datasize) / 1024,3) / count (b.datasize) "Average file size (in K bytes)", a.parentid "FolderDataID", c.name from dtree a, (select docid, datasize from dversdata) b, dtree c where a.dataid = b.docid and c.dataid = a.parentid group by a.parentid, c.name order by "Data Size (in K bytes) " desc] This seems to be a never ending story.. Peter
That will work, but will give you a longfloating point number in many cases. You might want to use round( ( sum(b.datasize ) / 1024 ) / count( b.datasize ), 3 ) instead…
Roger
From: eLink Discussion: Livelink LiveReports Discussion[mailto:livereportsdiscussion@elinkkc.opentext.com] Sent: Tuesday, January 09, 200710:38 AMTo: eLink RecipientSubject: RE No it doesn't.... 2
RE No it doesn't.... 2
Posted by rduplin (Duplin, Roger) on 01/09/2007 10:37 AM
In reply to: No it doesn't....
Message from Roger Duplin <rduplin@opentext.com> via eLink
The Average file size is using (round(sum b.datasize) / 1024,3) / count( b.datasize ). It should be round( sum( b.datasize ) / 1024, 3) / count( b.datasize ). That should fix your problem.
From: eLink Discussion: Livelink LiveReports Discussion [mailto:livereportsdiscussion@elinkkc.opentext.com] Sent: Tuesday, January 09, 2007 9:29 AMTo: eLink RecipientSubject: No it doesn't....
<hr
You are just missing a “(“between “sum” and “b.datasize”. Anyways, you shouldprobably use this instead to round off the final figure:
round( ( sum( b.datasize ) / 1024 ) /count( b.datasize ), 3 )
Here’s the full SQL statement withthe substitution in place:
select round (sum (b.datasize) / 1024,3)"Data Size (in K bytes)", count (b.datasize) "File count", round( ( sum( b.datasize ) / 1024 ) / count( b.datasize ), 3 )
"Average file size (in Kbytes)", a.parentid "FolderDataID", c.name from dtree a, (selectdocid, datasize from dversdata) b, dtree c where a.dataid = b.docid andc.dataid = a.parentid group by a.parentid, c.name order by "Data Size (inK bytes) " desc
From: eLink Discussion: Livelink LiveReports Discussion[mailto:livereportsdiscussion@elinkkc.opentext.com] Sent: Tuesday, January 09, 200711:33 AMTo: eLink RecipientSubject: No it doesn't.....
No it doesn't.....
Posted by parens (Arens, Peter) on 01/09/2007 11:27 AM
In reply to: RE No it doesn't.... 2
Now I got the following message... [ORA-00907: missing right parenthesis - select round (sum (b.datasize) / 1024,3) "Data Size (in K bytes)", count (b.datasize) "File count", round (sum b.datasize) / 1024,3) / count ( b.datasize ) "Average file size (in K bytes)", a.parentid "FolderDataID", c.name from dtree a, (select docid, datasize from dversdata) b, dtree c where a.dataid = b.docid and c.dataid = a.parentid group by a.parentid, c.name order by "Data Size (in K bytes) " desc] Peter
Cause: The column name entered is either missing or invalid.
Action: Enter a valid column name. A valid column name must begin with a letter, be less than or equal to 30 characters, and consist of only alphanumeric characters and the special characters $, _, and #. If it contains other characters, then it must be enclosed in double quotation marks. It may not be a reserved word.