Asher @abh12345 avatar

Just signed up to HiveSQL

abh12345

Published: 25 Mar 2020 › Updated: 25 Mar 2020Just signed up to HiveSQL

Just signed up to HiveSQL

For a day to start with, but I couldn't resist having a look around....

image.png
HiveSQL by arcange@arcange

For those that aren't aware SteemSQL, and now HiveSQL, are a copy of the blockchain data, stored in a SQL Server database. Witness arcange@arcange runs and manages the service, which is 4 SBB/HBD for 24 hours, or 40 SBD/HBD for a month.

Each database consists of over 60 views (a virtual table based on the result set of a SQL statement) which range from account information, content votes, witness data, rewards, transfers, and much more.

In my time I've come to know some of these views quite well, but there are also a bunch that i've not looked at all, such as TxSMTCreates and the other SMT data. Perhaps these will come into play soon ™.

Today, I'll just pull some basic stuff from tables I've used frequently (on the old chain), which may or may not be of interest to you.

The self-lovers...

select top 20 author, '', count(voter) 
from txvotes where author = voter 
and timestamp > getdate()-7
group by author
order by count(voter) desc

Top 20 voters of own content, past 7 days

Author(Voter)Vote CountTotal Weight
crystalliu2852820000
supergiant81810000
happydolphin72403400
likwid525200
steemcleaners51235500
atnazo47470000
ralph-rennoldson47247500
magnapolonia47470000
ssjsasha44440000
firefly202038370000
dirapa37370000
ervin-lemark35350000
xels35350000
krevasilis34260000
livenow34340000
cyberdemon53134315200
hot-women32320000
sergiomendes32300200
ace1083278800
goldmatters31310000

A 100% vote is 10000, a 1% vote is 100. Probably some piss-taking there, but i'll leave that up to you to decide who.


Top 20 incoming pay-days...

select top 20 author, sum(pending_payout_value) from comments
where depth = 0 and created > getdate()-7
group by author
order by sum(pending_payout_value) desc

Top 20 authors by pending payouts, posts only.

AuthorPending Payout
blocktrades678.6750
tarazkp462.5040
theycallmedan316.2760
themarkymark307.9710
taskmaster4450292.0330
oflyhigh287.6380
joythewanderer271.5470
priyanarc270.5990
good-karma248.8120
nonameslefttouse242.6570
coruscate237.3800
kingscrown236.7330
derangedvisions218.6130
firefly2020214.9120
claudio83214.2190
peakd210.1490
d-pend196.0590
gtg186.2380
holger80185.8240
anggreklestari184.6440

Well done (4?) ladies and gentlemen. Many HIVE coming your way from week one :)


Top 20 communities by subscribers

select top 20 community, '|', count(subscriber)
from CommunitiesSubscribers
group by community 
order by count(subscriber) desc
CommunitySubscribers
hive-1960373109
hive-1745782379
hive-1318121806
hive-1004211634
hive-1679221160
hive-1198451135
hive-1484411129
hive-1141051013
hive-140217868
hive-175001830
hive-122108822
hive-177682796
hive-193552781
hive-120078767
hive-161155753
hive-175254721
hive-184437699
hive-102880651
hive-156509593
hive-133872566

This might well be detailed somewhere on PeakD, and if so, with friendlier names!


Top 20 accounts handing out upvotes

select top 20 voter,'|', count(distinct author) from txvotes
where timestamp > getdate()-7
and weight > 0
group by voter 
order by count(author) desc
AccountUnique accounts upvoted
innerhive3069
techken1850
payroll1782
pixelfan838
steembasicincome831
nobyeni788
bert0756
bewithbreath733
arcange708
raphaelle707
sbi2693
memeteca679
tresor679
jlsplatts652
mys632
tombstone603
majes.tytyty601
tshering-tamang590
knaveen585
sbi3568

And last one....

Top 20 accounts dishing out downvotes

select top 20 voter,'|', count(distinct author) from txvotes
where timestamp > getdate()-7
and weight < 0
group by voter 
order by count(distinct author) desc
VoterUnique author count
camillesteemer1202
theycallmedan507
spaminator318
bordulez239
steemcleaner181
certhas152
jorjis148
fierolma147
drujik143
irsaz142
graedu141
pigmlit135
hurjem135
bristac131
frimold129
hujipy129
usial129
wistan128
morduk120
jemics116

I make that 3 with a plan, and 17 without :)


Just a note on the Engagement League. I'm still undecided if I'll have another week off, but I think it'll be back sooner rather than later.....


Does anyone want any data pulling specific to their account?

Cheers

Asher

Leave Just signed up to HiveSQL to:

Written by

Life | Hive

Read more #sql posts


Best Posts From Asher @abh12345

We have not curated any of abh12345's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From Asher @abh12345