Commit Graph

6484 Commits (0efb897706c288b5164445328186619fb65b6255)

Author SHA1 Message Date
Gokhan Gulbiz 0efb897706
Test local cached queries & prepared statements 2023-03-23 11:51:09 +03:00
Gokhan Gulbiz 931554fb32
Merge branch 'multi-tenant-monitoring-annotation-parsing' into multi-tenant-monitoring-annotate-local-queries 2023-03-23 11:13:18 +03:00
Gokhan Gulbiz 7dfe0c7659
Test special and multibyte characters in tenant attribute 2023-03-23 11:12:16 +03:00
Gokhan Gulbiz ad91298568
Increase citus.stats_tenants_limit to 10 2023-03-23 11:10:29 +03:00
Gokhan Gulbiz 3d9f40d22a
Indent 2023-03-23 10:20:50 +03:00
Gokhan Gulbiz 46ae3a37d5
Indent 2023-03-22 17:13:24 +03:00
Gokhan Gulbiz bb2ab9e93c
Move adding tenant statistic attributes to local_executor to keep track of both local shard queries and local cached queries 2023-03-22 16:39:10 +03:00
Gokhan Gulbiz 9a0ed9844f
Merge branch 'multi-tenant-monitoring-annotation-parsing' into multi-tenant-monitoring-annotate-local-queries 2023-03-22 11:05:15 +03:00
Gokhan Gulbiz 125532e98a
temp - local query monitoring 2023-03-22 11:03:13 +03:00
Gokhan Gulbiz 852db8f2f9
Rewrite ExtractTopComment by using strstr() and stringinfo 2023-03-21 12:34:05 +03:00
Gokhan Gulbiz 16c75165cf
Use stringinfo for escaping/unescaping 2023-03-21 11:27:00 +03:00
Gokhan Gulbiz 26226d0eb4
Update comment
Co-authored-by: Jelte Fennema <github-tech@jeltef.nl>
2023-03-21 11:22:29 +03:00
Gokhan Gulbiz 3f61a62420
Add an additional comment
Co-authored-by: Jelte Fennema <github-tech@jeltef.nl>
2023-03-21 11:22:08 +03:00
Gokhan Gulbiz 1df9260f82
Revert "Use text_substr for getting top comment"
This reverts commit 9531cfd3bf.
2023-03-20 11:02:34 +03:00
Gokhan Gulbiz 34e1dafb18
Convert char* to text for text_substr call 2023-03-20 09:40:08 +03:00
Gokhan Gulbiz df3ad5c4f6
Indent 2023-03-20 08:49:39 +03:00
Gokhan Gulbiz f972b6fae9
Handle no comment end chars 2023-03-20 08:46:52 +03:00
Gokhan Gulbiz 9531cfd3bf
Use text_substr for getting top comment 2023-03-20 08:46:22 +03:00
Gokhan Gulbiz 5929fda143
Use palloc instead of malloc 2023-03-20 08:15:11 +03:00
Gokhan Gulbiz bee5b6d58f
Indent 2023-03-16 14:52:36 +03:00
Gokhan Gulbiz 7074035307
Indent 2023-03-16 11:31:12 +03:00
Gokhan Gulbiz de527dbb71
Refactoring to reduce nesting 2023-03-16 11:02:52 +03:00
Gokhan Gulbiz ae276e70ab
Remove unnecessary check 2023-03-16 11:00:37 +03:00
Gokhan Gulbiz c8ed4d174a
Renamings 2023-03-16 10:54:07 +03:00
Gokhan Gulbiz 05f90b30d3
Set INVALID_COLOCATION_ID if colocationId doesn't exist in the annotation. 2023-03-16 10:40:02 +03:00
Gokhan Gulbiz 174f9574a1
Indent 2023-03-15 13:35:28 +03:00
Gokhan Gulbiz 7c5a724b3b
Merge branch 'multi-tenant-monitoring-annotation-parsing' into multi-tenant-monitoring-annotate-local-queries 2023-03-15 09:19:59 +03:00
Gokhan Gulbiz 57eaeb2ecb
Indent 2023-03-15 09:01:41 +03:00
Gokhan Gulbiz 5cd3c8ad11
Indent 2023-03-15 08:36:43 +03:00
Gokhan Gulbiz 23f4406d7f
Merge remote-tracking branch 'upstream/multi-tenant-monitoring' into multi-tenant-monitoring-annotation-parsing 2023-03-15 08:18:21 +03:00
Gokhan Gulbiz 44fec55d58
Escape/Unescape sql comment chars 2023-03-15 08:11:07 +03:00
Gokhan Gulbiz 230a189c1f
Minor renamings and refactorings 2023-03-15 08:10:45 +03:00
Gokhan Gulbiz 5cedee7a7d
Add comment chars escaping 2023-03-15 08:09:24 +03:00
Gokhan Gulbiz 3a435e7c14
Fix attribute prefix 2023-03-15 08:08:33 +03:00
Halil Ozan Akgul 33265dd411 Fix indent 2023-03-14 17:44:33 +03:00
Halil Ozan Akgul 5e9e67e5bf Include update and delete queries 2023-03-14 15:52:36 +03:00
Halil Ozan Akgul 2aa30dd303 Remove citus_stats_tenants from tests 2023-03-14 12:42:45 +03:00
Halil Ozan Akgul 93fb53b72b Remove storage view 2023-03-14 10:53:27 +03:00
Halil Ozan Akgul bb1db823f7 Add tests 2023-03-13 19:41:55 +03:00
Gokhan Gulbiz c241af1eb9
Fix tenant statistics annotations normalization 2023-03-13 14:32:16 +03:00
Gokhan Gulbiz 596954622c
Indent 2023-03-13 14:31:41 +03:00
Gokhan Gulbiz 59990addd1
Validate attribute prefix existance on query string 2023-03-13 13:24:27 +03:00
Gokhan Gulbiz 0de2ebad3f
Validate input string length 2023-03-13 12:44:57 +03:00
Gokhan Gulbiz c7af2ff0ef
Normalize multiline sql comment statements 2023-03-13 12:36:02 +03:00
Gokhan Gulbiz d85c277404
Use strncpy_s instead of strncpy 2023-03-13 11:36:54 +03:00
Gokhan Gulbiz 144915880d
Annotate all queries included in a task 2023-03-13 10:36:10 +03:00
Gokhan Gulbiz 81cf3cf408
Use palloc instead of malloc 2023-03-13 10:13:28 +03:00
Gokhan Gulbiz 7f0c502660
Replace strcpy with strcpy_s 2023-03-10 16:35:21 +03:00
Gokhan Gulbiz 64b6d7a44e
Merge remote-tracking branch 'upstream/multi-tenant-monitoring' into multi-tenant-monitoring-annotation-parsing 2023-03-10 16:29:12 +03:00
Halil Ozan Akgul fa181a8bfd fix indent 2023-03-10 12:38:56 +03:00