Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New function to gather users tables data information #345

Closed
wants to merge 2 commits into from

Conversation

ethervoid
Copy link
Contributor

@ethervoid ethervoid commented Feb 7, 2019

                                                          QUERY PLAN                                                          
------------------------------------------------------------------------------------------------------------------------------
 Function Scan on cdb_usertablesdata  (cost=0.25..10.25 rows=1000 width=112) (actual time=621.533..621.704 rows=1505 loops=1)
 Planning time: 0.045 ms
 Execution time: 621.848 ms
(3 rows)

explain analyze select * from cdb_userdatasize('hugeuser');
                                                     QUERY PLAN                                                      
---------------------------------------------------------------------------------------------------------------------
 Function Scan on cdb_userdatasize  (cost=0.25..0.26 rows=1 width=8) (actual time=2037.431..2037.431 rows=1 loops=1)
 Planning time: 0.039 ms
 Execution time: 2037.458 ms
(3 rows)```

@Algunenano Algunenano self-assigned this Feb 7, 2019
- Fixes a problem with case sensivity
- Now the function is parallel safe :)))
@Algunenano
Copy link
Contributor

Stale

@Algunenano Algunenano closed this Nov 6, 2019
@Algunenano Algunenano deleted the users_tables_data branch November 15, 2019 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants