Skip to main content

Questions tagged [heap]

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
2 votes
1 answer
110 views

Background I have two virtual machines set up on Azure: Standard E48ds v5 Standard E16ds v5 Both machines are running SQL Server 2019, and I have a specific query that retrieves data from a view. ...
adam.g's user avatar
  • 487
3 votes
2 answers
553 views

I believe I am a little confused about what exactly a database page actually is, and perhaps also database heaps, and how they relate to each other. From my understanding; A database heap is a table ...
myol's user avatar
  • 143
0 votes
1 answer
68 views

I clearly have a misconception, but no amount of consulting documentation has solved it. Consider the following argument: We generally worry about joining to heaps, because sorting them is often more ...
J. Mini's user avatar
  • 1,322
0 votes
1 answer
87 views

I know a HEAP is a table without a clustered index. But I'm not quite clear on the following definition from sys.indexes. I understand that this system view contains row per index of a tabular object. ...
nam's user avatar
  • 525
2 votes
1 answer
903 views

Irrespective of the where clause; When table is heap (no clustered indexes) then does a select query make sql server to lock all rows until it has finished reading all the rows? Where as in case of ...
variable's user avatar
  • 3,602
5 votes
2 answers
1k views

As I understand, a heap is an unordered object. When you insert a record, SQL Server use IAM page to get the pages that belong to this heap, and use PFS page to find a particular one which has enough ...
Just a learner's user avatar
1 vote
0 answers
769 views

On Postgresql 12, given: postgres=# \d bip Table "public.bip" Column | Type | Collation | Nullable | Default --------+---------+-----------+----------+--------- a |...
Kevin Meredith's user avatar

15 30 50 per page