2022-08-28 13:53:52 +00:00
|
|
|
---
|
2022-08-28 13:58:27 +00:00
|
|
|
slug: /en/operations/system-tables/numbers_mt
|
2022-08-28 13:53:52 +00:00
|
|
|
---
|
2022-06-02 10:55:18 +00:00
|
|
|
# numbers_mt
|
2020-06-18 08:24:31 +00:00
|
|
|
|
2020-07-09 15:10:35 +00:00
|
|
|
The same as [system.numbers](../../operations/system-tables/numbers.md) but reads are parallelized. The numbers can be returned in any order.
|
2020-06-18 08:24:31 +00:00
|
|
|
|
|
|
|
Used for tests.
|
2020-08-06 08:50:29 +00:00
|
|
|
|
2020-12-03 19:27:55 +00:00
|
|
|
**Example**
|
|
|
|
|
|
|
|
```sql
|
|
|
|
:) SELECT * FROM system.numbers_mt LIMIT 10;
|
|
|
|
```
|
|
|
|
|
|
|
|
```text
|
|
|
|
┌─number─┐
|
|
|
|
│ 0 │
|
|
|
|
│ 1 │
|
|
|
|
│ 2 │
|
|
|
|
│ 3 │
|
|
|
|
│ 4 │
|
|
|
|
│ 5 │
|
|
|
|
│ 6 │
|
|
|
|
│ 7 │
|
|
|
|
│ 8 │
|
|
|
|
│ 9 │
|
|
|
|
└────────┘
|
|
|
|
|
2021-07-29 15:20:55 +00:00
|
|
|
10 rows in set. Elapsed: 0.001 sec.
|
2020-12-03 19:27:55 +00:00
|
|
|
```
|