Update test

This commit is contained in:
kssenii 2022-08-11 23:10:43 +02:00
parent b7c91b9cdb
commit e20341461f
2 changed files with 6 additions and 6 deletions

View File

@ -9,7 +9,7 @@ INSERT INTO nopers SELECT number, toString(number) FROM numbers(10);
SELECT * FROM nopers FORMAT Null;
SELECT sum(size) FROM system.filesystem_cache;
194
SELECT substring(local_path, 58, 10) as file, substring(cache_path, 55, 20) as cache, size
SELECT substring(local_path, 58, 10) as file, substring(cache_path, 53, 20) as cache, size
FROM
(
SELECT arrayJoin(cache_paths) AS cache_path, local_path, remote_path
@ -32,7 +32,7 @@ SELECT count() FROM (SELECT arrayJoin(cache_paths) AS cache_path, local_path, re
4
SELECT count() FROM system.filesystem_cache;
4
SELECT substring(local_path, 58, 10) as file, substring(cache_path, 55, 20) as cache, size
SELECT substring(local_path, 58, 10) as file, substring(cache_path, 53, 20) as cache, size
FROM
(
SELECT arrayJoin(cache_paths) AS cache_path, local_path, remote_path
@ -57,7 +57,7 @@ SELECT count() FROM (SELECT arrayJoin(cache_paths) AS cache_path, local_path, re
4
SELECT count() FROM system.filesystem_cache;
4
SELECT substring(local_path, 58, 10) as file, substring(cache_path, 55, 20) as cache, size
SELECT substring(local_path, 58, 10) as file, substring(cache_path, 53, 20) as cache, size
FROM
(
SELECT arrayJoin(cache_paths) AS cache_path, local_path, remote_path

View File

@ -14,7 +14,7 @@ INSERT INTO nopers SELECT number, toString(number) FROM numbers(10);
SELECT * FROM nopers FORMAT Null;
SELECT sum(size) FROM system.filesystem_cache;
SELECT substring(local_path, 56, 10) as file, substring(cache_path, 53, 20) as cache, size
SELECT substring(local_path, 58, 10) as file, substring(cache_path, 53, 20) as cache, size
FROM
(
SELECT arrayJoin(cache_paths) AS cache_path, local_path, remote_path
@ -37,7 +37,7 @@ SELECT sum(size) FROM system.filesystem_cache;
SELECT count() FROM (SELECT arrayJoin(cache_paths) AS cache_path, local_path, remote_path FROM system.remote_data_paths ) AS data_paths INNER JOIN system.filesystem_cache AS caches ON data_paths.cache_path = caches.cache_path;
SELECT count() FROM system.filesystem_cache;
SELECT substring(local_path, 56, 10) as file, substring(cache_path, 53, 20) as cache, size
SELECT substring(local_path, 58, 10) as file, substring(cache_path, 53, 20) as cache, size
FROM
(
SELECT arrayJoin(cache_paths) AS cache_path, local_path, remote_path
@ -60,7 +60,7 @@ SELECT sum(size) FROM system.filesystem_cache;
SELECT count() FROM (SELECT arrayJoin(cache_paths) AS cache_path, local_path, remote_path FROM system.remote_data_paths ) AS data_paths INNER JOIN system.filesystem_cache AS caches ON data_paths.cache_path = caches.cache_path;
SELECT count() FROM system.filesystem_cache;
SELECT substring(local_path, 56, 10) as file, substring(cache_path, 53, 20) as cache, size
SELECT substring(local_path, 58, 10) as file, substring(cache_path, 53, 20) as cache, size
FROM
(
SELECT arrayJoin(cache_paths) AS cache_path, local_path, remote_path