Skip to main content

Questions tagged [partitioning]

Splitting a database table into multiple segments for performance or manageability.

1 vote
1 answer
105 views

I have a table that contains a billion rows. I want to partition that table for multiple reasons (i.e. deleting from table blows up log space). My problem is since the table is so big, dropping the ...
user avatar
0 votes
1 answer
33 views

I have a table that currently has 14 partitions right click table --> properties --> storage How can I view the data in each partition?
frank's user avatar
  • 187
0 votes
1 answer
30 views

I am using DolphinDB to store stock market data. I have created a distributed table with a Composite Partition scheme: Value Partition by Month (nActionDay) Hash Partition (20 buckets) by Symbol (...
xiyan zheng's user avatar
5 votes
0 answers
143 views

It is extensively documented that shrinking any data files that have LOB pages is awful: Microsoft says you need to read the whole partition once for every page you want to move. The well-known ...
J. Mini's user avatar
  • 1,488
1 vote
1 answer
207 views

Context I have been experimenting with incremental statistics a lot. I do not know of any online resource about them that I have not read. Despite all of this, I just don't understand what trace flag ...
J. Mini's user avatar
  • 1,488
-1 votes
1 answer
140 views

I am about to start working on a project that aims at modeling all trees in France using the LiDAR coverage of the territory. I won't get into the detail of the modeling but basically after ...
Hugo Rechatin's user avatar
1 vote
1 answer
92 views

We have sensor data used for analytics that has for columns: CREATE TABLE sensor_data ( dt date NOT NULL, timeofday time without time zone NOT NULL, sensor_id TEXT NOT NULL, --...
raphael's user avatar
  • 615
1 vote
0 answers
97 views

I'm trying to find a good way of refilling partition of the table without locking other partitions. Essentially, I have partitioned clustered columnstore table, which I query often and need to refill ...
roman's user avatar
  • 304
1 vote
2 answers
282 views

The Question The idea of incremental statistics is that they make statistics updates faster. However, no documentation comments on how they interact with automatic statistics updates. This leaves me ...
J. Mini's user avatar
  • 1,488
1 vote
0 answers
30 views

We ingest time-series sensor data into a GridDB TimeSeries container on GridDB Cloud (Free plan). I’m trying to keep only the most recent N days (e.g., 90 days) online with minimal impact on ingest ...
Badhon Ashfaq's user avatar
1 vote
1 answer
130 views

I have the following table partitioned by projects. CREATE TABLE IF NOT EXISTS entries ( id bigint NOT NULL, status_id bigint NOT NULL, group_id bigint NOT NULL, project_id bigint ...
Josh's user avatar
  • 13
1 vote
1 answer
137 views

have a log table that stores execution logs for many different functions. Each row contains the function name, and the table has millions of rows. To improve performance and manage the data better, I ...
Arm.'s user avatar
  • 11
0 votes
2 answers
107 views

Similar to Improving performance with a common low-cardinality field We get a large dataset and we load it by source. Let's say team_id. We currently have our data partitioned by team_id and then by ...
raphael's user avatar
  • 615
0 votes
0 answers
65 views

I'm working with PostgreSQL 15 and experimenting with table partitioning to improve performance. Original setup: I have two tables: tasks (parent) with ~65M rows and records (child) with ~200M ...
Cowabunga's user avatar
  • 145
3 votes
2 answers
598 views

I know, at least theoretically, that heap tables can be partitioned. As I learn more about table partitioning, I realise that the use case is very limited. Similarly, the use case for heaps in SQL ...
J. Mini's user avatar
  • 1,488

15 30 50 per page
1
2 3 4 5
74