Skip to main content

Questions tagged [partitioning]

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

1 vote
1 answer
137 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,322
1 vote
1 answer
55 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
2 answers
191 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,322
1 vote
1 answer
101 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
0 votes
2 answers
63 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
3 votes
2 answers
551 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,322
4 votes
1 answer
132 views

The documentation claims The data type of a column of a partitioned table can't be changed. It repeats this claim elsewhere such as here. Yet I have never seen this fail. CREATE PARTITION FUNCTION ...
J. Mini's user avatar
  • 1,322
7 votes
4 answers
791 views

The documentation says the following Aligned index An index that is built on the same partition scheme as its corresponding table. When a table and its indexes are in alignment, the database engine ...
J. Mini's user avatar
  • 1,322

15 30 50 per page
1
2 3 4 5
74