[ 
https://issues.apache.org/jira/browse/PHOENIX-6989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17738827#comment-17738827
 ] 

Rushabh Shah edited comment on PHOENIX-6989 at 6/29/23 11:55 PM:
-----------------------------------------------------------------

> createTable
Creating table, view and index all happens within the same rpc call on the 
server side (MetadataEndpointImpl#createTable).  Will be good to differentiate 
between them and create separate metrics for each case. [~jingyu] [~vjasani]


was (Author: shahrs87):
> createTable
Creating table, view and index all happens within the same rpc call on the 
server side (MetadataEndpointImpl#createTable).  Will be good to differentiate 
between them and create separate metrics for each case. [~jingyu]

> Expose server side metrics for DDL operations
> ---------------------------------------------
>
>                 Key: PHOENIX-6989
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6989
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: Viraj Jasani
>            Assignee: Jing Yu
>            Priority: Major
>
> In order to get some insights into the frequency of the DDL operations, we 
> should expose server side metrics from MetaDataEndpointImpl for all DDL 
> endpoints:
>  * createTable
>  * createSchema
>  * createFunction
>  * addColumn
>  * addIndexToTable
>  * dropTable
>  * dropIndexes
>  * dropColumn
>  * dropSchema
>  * dropFunction
> etc.
> We should also log the table/view/index/column being created/modified as part 
> of the above endpoints.
> Metrics and logs would also be helpful while debugging issues during cache 
> invalidation as part of the DDL operations.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to