create account

RE: Tower: A REST API implementation on the top of Hivemind by emrebeyler

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @shaunmza/re-emrebeyler-tower-a-rest-api-implementation-on-the-top-of-hivemind-20190117t090713251z

· @emrebeyler · (edited)
$0.03
```
postgres=# SELECT pg_size_pretty( pg_database_size('hive') );
 pg_size_pretty
----------------
 181 GB
(1 row)
```

181 GB for hivemind. But beware, Hive doesn't store all the data of the blockchain.
👍  
properties (23)
authoremrebeyler
permlinkre-shaunmza-re-emrebeyler-tower-a-rest-api-implementation-on-the-top-of-hivemind-20190117t092344491z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2019-01-17 09:23:45
last_update2019-01-17 09:39:48
depth2
children1
last_payout2019-01-24 09:23:45
cashout_time1969-12-31 23:59:59
total_payout_value0.022 HBD
curator_payout_value0.005 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length203
author_reputation448,535,049,068,622
root_title"Tower: A REST API implementation on the top of Hivemind"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id78,492,172
net_rshares49,628,464,881
author_curate_reward""
vote details (1)
@shaunmza ·
Thanks for this, I see it's a Postgres db in the back then.

I am interested in only a subset of the data. Is it possible to filter posts where the parent id is empty (i.e. only get back posts, not comments)?

Going to read up a bit more.
properties (22)
authorshaunmza
permlinkre-emrebeyler-re-shaunmza-re-emrebeyler-tower-a-rest-api-implementation-on-the-top-of-hivemind-20190117t093359689z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2019-01-17 09:34:00
last_update2019-01-17 09:34:00
depth3
children0
last_payout2019-01-24 09:34:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length238
author_reputation17,139,522,306,343
root_title"Tower: A REST API implementation on the top of Hivemind"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id78,492,507
net_rshares0