clustered-index Questions
7
Solved
I have a quite huge existing partitioned table in bigquery. I want to make the table clustered, at least for the new partition.
From the documentation: https://cloud.google.com/bigquery/docs/creat...
Athena asked 29/8, 2018 at 12:29
3
Solved
If I have an SQL Server table with a clustered index on a datetime field, that is set to DateTime.Now (from C#) before inserts, should the index be ascending or descending to avoid reorganization o...
Barna asked 25/6, 2009 at 14:22
7
Solved
How are clustered indexes stored on a hard disk? What is the logical order?
How do non-clustered indexes work?
Alastair asked 15/2, 2010 at 13:17
5
Solved
What happens if a clustered index is not unique? Can it lead to bad performance because inserted rows flow to an "overflow" page of some sorts?
Is it "made" unique and if so how...
Napoleon asked 2/12, 2010 at 8:17
3
Solved
One of the main reasons given for using auto-increment PK in MySQL is that it guarantees all inserts into the clustered PK index will be in order and hence fast. I understand that.
But what about ...
Lacielacing asked 28/3, 2011 at 21:22
5
Solved
From EF6.1, we have a way of specifying a clustered index on a property
public class Person
{
[Index(IsClustered = true, IsUnique = true)]
public long UserName { get; set; }
}
But this Index ...
Cameliacamella asked 14/8, 2016 at 16:18
5
Solved
Just for knowledge in interview question, and my knowledge.
SQL - Difference between Cluster and Non-cluster index?
Starknaked asked 3/3, 2010 at 18:29
13
Solved
What are the differences between a clustered and a non-clustered index?
Rozamond asked 18/9, 2008 at 11:14
12
Solved
I have a limited exposure to DB and have only used DB as an application programmer. I want to know about Clustered and Non clustered indexes.
I googled and what I found was :
A clustered index i...
Asthmatic asked 9/8, 2009 at 15:59
1
Solved
I have a BigQuery table - day partitioned, and clustered. However, it still uses a lot of data when I run queries over it. How is this possible?
Inclinatory asked 30/9, 2019 at 20:42
4
I'm reading all about how clustered indexes work, and think they would be beneficial to my app. I understand that primary keys are automatically clustered indexes, but how would you add a clustered...
Polliwog asked 8/12, 2012 at 15:59
6
Solved
I have a very large database with hundreds of tables, and after many, many product upgrades, I'm sure half of them aren't being used anymore. How can I tell if a table is is actively being selected...
Rubbish asked 28/1, 2010 at 15:25
6
I'm using psql to access a postgres database. When viewing the metadata of a table, is there any way to see whether an index of a table is a clustered index?
I heard that the PRIMARY KEY of a tabl...
Velocity asked 25/1, 2011 at 17:3
3
Solved
I have a table (Orders) with CLUSTERED IDENTITY PRIMARY KEY (OrderId) and I am filtering and sorting the data by add date column (AddDate).
Is there a way to tell the query optimizer that the AddDa...
Komsomol asked 2/10, 2018 at 11:40
2
Solved
The MySQL documentation describing the use of index extensions, gives the following table as an example, followed by the query below:
CREATE TABLE t1 (
i1 INT NOT NULL DEFAULT 0,
i2 INT NOT NULL...
Angulo asked 3/9, 2018 at 8:47
2
Solved
I am working on MS SQL server.
I have a table called "User" with three columns and default index which is created with Primary Key of the table, of UserId.
I have a word file that contains user ...
Illustrational asked 9/8, 2018 at 7:55
1
Solved
We are using Aerospike DB and was going through the documentation.
I could not find good explanation of algorithm explaining how Primary & Secondary index works.
The documentation says it uses ...
Elzaelzevir asked 27/7, 2018 at 6:2
1
I have such a table with a non-clustered primary key:
CREATE TABLE [dbo].[StudentGrade](
[EnrollmentID] [int] IDENTITY(1,1) NOT NULL,
[CourseID] [nvarchar](10) NOT NULL,
[StudentID] [int] NOT N...
Blennioid asked 16/9, 2016 at 13:45
1
Solved
I'm adding a new index to a SQL Azure database as recommended by the query insights blade in the Azure portal, which uses the ONLINE=ON flag. The SQL looks something like this:
CREATE NONCLUSTERED...
Faggot asked 18/5, 2018 at 8:57
1
Solved
Many posts like this stackoverflow link claim that there is no concept of a clustered index in PostgreSQL. However, the PostgreSQL documentation contains something similar. A few people claim it is...
Medicable asked 6/12, 2017 at 7:56
3
Solved
I can create clustered or non-clustered index on view and SQL SERVER says, we can have multiple non-clustered index (max 249), but only one clustered index exist on table or view. Because, records ...
Brach asked 18/4, 2013 at 22:36
3
Solved
I'm trying to optimize a procedure that has code like the following:
CREATE TABLE #t1 (c1 int, c2 varchar(20), c3(varchar(50)...)
CREATE CLUSTERED INDEX ix_t1 ON #t1(c3) ON [PRIMARY]
I wanted t...
Noise asked 5/10, 2011 at 15:41
2
Solved
When I use the below query to create index for a column in MS SQL Server
create index IX_indexname on tablename(columnname);
without mentioning it as clustered or non clustered index, what index...
Rabin asked 2/3, 2017 at 7:30
4
Solved
Does the sort order of a SQL Server 2008+ clustered index impact the insert performance?
The datatype in the specific case is integer and the inserted values are ascending (Identity). Therefore, t...
Thalassa asked 23/12, 2016 at 10:12
2
Solved
I am learning from a tutorial that uses INDEX() within a CREATE TABLE statement, but does not explain whether it is clustered or non-clustered. My question is: does INDEX() when used in a CREATE TA...
Brigid asked 22/12, 2016 at 19:19
1 Next >
© 2022 - 2025 — McMap. All rights reserved.