source_sizing.slt 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # Copyright Materialize, Inc. and contributors. All rights reserved.
  2. #
  3. # Use of this software is governed by the Business Source License
  4. # included in the LICENSE file at the root of this repository.
  5. #
  6. # As of the Change Date specified in that file, in accordance with
  7. # the Business Source License, use of this software will be governed
  8. # by the Apache License, Version 2.0.
  9. mode cockroach
  10. # Start from a pristine server
  11. reset-server
  12. statement ok
  13. CREATE SOURCE s1 FROM LOAD GENERATOR COUNTER;
  14. statement ok
  15. CREATE SOURCE s2 FROM LOAD GENERATOR COUNTER;
  16. query TTTTTT rowsort
  17. SELECT id, schema_id, name, type, connection_id, size FROM mz_sources WHERE id LIKE 'u%'
  18. ----
  19. u2 u3 s1 load-generator NULL NULL
  20. u4 u3 s2 load-generator NULL NULL
  21. u1 u3 s1_progress progress NULL NULL
  22. u3 u3 s2_progress progress NULL NULL
  23. # clusters.
  24. query TTTT
  25. SHOW SOURCES
  26. ----
  27. s1 load-generator quickstart (empty)
  28. s1_progress progress NULL (empty)
  29. s2 load-generator quickstart (empty)
  30. s2_progress progress NULL (empty)