Earlier quoted context omitted.
> SQL Server and Oracle both default to heaps I don't think that's true for SQL Server. If you define a primary key in SQL Server, this is automatically a clustered index.
Any table in SQL Server without a clustered index will be stored as a heap. https://docs.microsoft.com/en-us/sql/relational-databases/in...
Postgres Indexes for Newbies
41–43 of 43 posts
Yes, but the _default_ (and that's what I was referring to) is a clustered index.
Re: Postgres Indexes for Newbies
#42Earlier quoted context omitted.
Any table in SQL Server without a clustered index will be stored as a heap. https://docs.microsoft.com/en-us/sql/relational-databases/in...
Yes, but the _default_ (and that's what I was referring to) is a clustered index.
Then the definition depends on whether you consider adding a primary key as default or not. I would not consider it default, though it is customary.
Re: Postgres Indexes for Newbies
#43Use the index, Luke is always a great resource. [0] https://use-the-index-luke.com/
Another amazing resource are the CMU Database Systems videos with Prof. Andy Pavlo. Videos from 2021 with a different professor (Andrew Crotty) have also been uploaded, but Pavlo is just so engaging. https://www.youtube.com/playlist?list=PLSE8ODhjZXjbohkNBWQs_... (Pavlo, 2019) https://www.youtube.com/playlist?list=PLSE8ODhjZXjZaHA6QcxDf... (Crotty, 2021)
He really is engaging. I love the guest talks too.