ClickHouse/dbms/src/Core
Ivan bef233f450
Add simple memory profiler (#8765)
* Add new trace type to system.trace_log table

* [WIP]

* Add settings for soft limit raising.

* Remove unused diff

* Remove unused diff

* Some renames

* Fix client hanging on quit

* Remove obsolete pointer for trace collector in context.

* Use memory tracker on query level.

* Fix TSan tests

* Try to simplify TraceCollector initialization.

It allows to workaround first call inside signal handler

* Initialize TraceCollector before setting signal handlers

* Attempt to fix

* Fix Int64 → UInt64 for |size|

* Explicitly reset global TraceCollector instance.
2020-02-12 15:37:40 +03:00
..
tests Replaced deprecated INSTANTIATE_TEST_CASE_P with INSTANTIATE_TEST_SUITE_P 2020-01-10 11:48:24 +03:00
AccurateComparison.h ubsan fix 2019-11-02 17:00:03 +08:00
BackgroundSchedulePool.cpp adding -Wshadow for GCC 2019-08-09 23:58:16 +03:00
BackgroundSchedulePool.h adding -Wshadow for GCC 2019-08-09 23:58:16 +03:00
Block.cpp Skip null columns while checknig num rows. 2019-09-23 22:26:04 +03:00
Block.h rewrite with cursor position 2020-01-15 23:33:29 +03:00
BlockInfo.cpp Added some warnings from clang's -Weverything 2019-01-04 17:14:48 +03:00
BlockInfo.h fix for review: rename variable CLICKHOUSE-3578 2018-12-04 23:10:43 +03:00
callOnTypeIndex.h Moved DataTypeDateTime64 and now64() to separate source files. 2019-10-14 11:38:03 +03:00
CMakeLists.txt WIP 2019-09-15 18:20:31 +03:00
ColumnNumbers.h
ColumnsWithTypeAndName.h
ColumnWithTypeAndName.cpp
ColumnWithTypeAndName.h More GCC warnings 2019-12-16 23:19:50 +02:00
config_core.h.in refactor avro cmake 2020-01-10 16:47:41 -06:00
DecimalComparison.h Merge commit 'e7540dcf686936a490f89d0735f74c2f5f009821' into DateTime64 2019-12-11 17:38:32 +03:00
DecimalFunctions.h Post-review refactoring and tests for DateTime64 and Decimal. 2019-12-11 06:58:49 +03:00
Defines.h add test 2020-02-06 20:23:05 +03:00
ExternalResultDescription.cpp adding -Wshadow for GCC 2019-08-09 23:58:16 +03:00
ExternalResultDescription.h adding -Wshadow for GCC 2019-08-09 23:58:16 +03:00
ExternalTable.cpp better constructors of storages 2019-12-26 20:04:08 +03:00
ExternalTable.h Add GCC warning to suggest virtual function override 2020-01-21 13:10:32 +02:00
Field.cpp Prepare for stricter type checking in Field. 2019-12-10 16:40:45 +03:00
Field.h Check Field type in get(). (#7386) 2019-12-17 23:48:33 +03:00
iostream_debug_helpers.cpp remove separate getTableName() and getDatabaseName() 2019-12-26 21:11:49 +03:00
iostream_debug_helpers.h More GCC warnings 2019-12-16 23:19:50 +02:00
MySQLProtocol.cpp mysql protocol: fixed Float32 conversion and added types test 2019-12-08 08:40:08 +03:00
MySQLProtocol.h Remove getting user by name from Context. 2020-02-06 18:12:53 +03:00
Names.h some more ExpressionAnalyzer refactoring 2019-09-04 19:20:02 +03:00
NamesAndTypes.cpp Replace libsparsehash with sparsehash-c11 2019-09-18 00:08:20 +03:00
NamesAndTypes.h
Protocol.h better scalar query 2019-10-23 21:37:54 +08:00
QualifiedTableName.h
QueryProcessingStage.h Whitespaces [#CLICKHOUSE-2] 2018-11-26 03:56:50 +03:00
Row.h
Settings.cpp Update Settings.cpp 2019-12-28 06:52:47 +03:00
Settings.h Add simple memory profiler (#8765) 2020-02-12 15:37:40 +03:00
SettingsCollection.cpp Do not rethrow Poco exception 2020-02-01 22:06:20 -06:00
SettingsCollection.h AvroConfluent bugfixes 2020-02-01 18:53:11 -06:00
SettingsCollectionImpl.h Invert flags in Settings.h: IGNORABLE flag is replaced with IMPORTANT flag. 2019-11-20 19:37:04 +03:00
SortCursor.h Merged with master. 2020-01-03 15:34:17 +03:00
SortDescription.h implement modifier 'with fill' for 'order by' clause 2019-08-21 15:59:03 +03:00
TypeListNumber.h gather utils for Decimals (no scale checks) 2019-11-11 19:18:37 +03:00
Types.h revert TypeIndex, another fix for T64 (#9033) 2020-02-07 03:04:25 +03:00
UUID.h