Top "Database-indexes" questions

An index contains keys built from one or more columns in the table, or view, and pointers that map to the storage location of the specified data.

Neo4j: Step by Step to create an automatic index

I am creating a new Neo4j database. I have a type of node called User and I would like …

database indexing neo4j cypher database-indexes
Multiple indexes vs single index on multiple columns in postgresql

I could not reach any conclusive answers reading some of the existing posts on this topic. I have certain data …

postgresql database-indexes
Why are super columns in Cassandra no longer favoured?

I have read in the latest release that super columns are not desirable due to "performance issues", but no where …

cassandra indexing database-indexes super-columns
SQL Server - INSERT failed because of 'ARITHABORT'

I use NHibernate and SQL Server 2005 and I have an index on a computed column in one of my tables. …

sql-server sql-server-2005 calculated-columns database-indexes
PostgreSQL: Create index for boolean column

I have a table that has one boolean column. productid integer isactive boolean When I execute the query SELECT productid …

postgresql boolean database-indexes
Indexes with included columns, what's the difference?

I've never really understood the difference between these two indexes, can someone please explain what the difference is (performance-wise, how …

sql sql-server tsql database-indexes sql-server-performance
How do I know when to index a column, and with what?

In docs for various ORMs they always provide a way to create indexes, etc. They always mention to be sure …

database database-indexes database-optimization
Do I need to add an Index on ORDER BY field?

I have a query of such like $query = "SELECT * FROM tbl_comments WHERE id=222 ORDER BY comment_time"; Do I …

php mysql sql database-indexes
Indexes on join tables

When searching on Google for join table indexes, I got this question. Now, I believe that it is giving some …

postgresql database-design database-indexes
Does rename_column take care of indexes?

Say, we have something like this: add_column :users, :single, :boolean add_index :users, :single and then later we do …

ruby-on-rails ruby-on-rails-3 activerecord rails-activerecord database-indexes