Update csv_export
This commit is contained in:
parent
9d4bb721cf
commit
3c632ebe97
4 changed files with 5 additions and 6 deletions
|
@ -38,12 +38,11 @@ Get list blocks
|
|||
non-partitioned (very slow)
|
||||
|
||||
```
|
||||
select count(*) from (select distinct repo from records where collection in ('app.bsky.graph.listblock') and content['subject']::tex
|
||||
t like '"at://did:plc:bmjomljebcsuxolnygfgqtap/%');
|
||||
select count(*) from (select distinct repo from records where collection in ('app.bsky.graph.listblock') and deleted=false and content['subject']::text like '"at://did:plc:bmjomljebcsuxolnygfgqtap/%');
|
||||
```
|
||||
|
||||
partitioned (slow)
|
||||
`select count(*) from (select distinct repo from records_listblock where content['subject']::text like '"at://did:plc:bmjomljebcsuxolnygfgqtap/%');`
|
||||
`select count(*) from (select distinct repo from records_listblock where deleted=false and content['subject']::text like '"at://did:plc:bmjomljebcsuxolnygfgqtap/%');`
|
||||
|
||||
Count all records
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue