I want to see the accumulated size of all documents under a specific node.
I get count using following SQL.
[Show the amount of documents under 817979 and subnodes which have been created this year]
SELECT
count(d.dataid)
FROM
dtree d,
dtree p
WHERE
d.parentid = p.dataid
AND d.dataid IN
(
SELECT
dataid
FROM
dtree START WITH dataid = 817979 CONNECT BY prior dataid = ABS(parentid))
AND d.subtype IN (144)
AND d.CREATEDATE > TO_DATE('2014-01-01','yyyy-mm-dd');
How must that be modified to get the total size?