About index

111-120 of 200Refresh
Forum
2

How to create a Unique constraint?

Account { @Id @GeneratedValue private long id; @Index(unique="true ...  index is added to an entity class that already has instances in the database - the index starts as inactive. To activate it you need to rebuild the index. Currently the only way to activate the index
Issue
2

Sort of very large objects - out of memory

index can solve the problem: @Entity     @Index(members={"priority", "createTime"})     public static class Message { If there is an index that covers all the fields that are in use in the query and it is much smaller than the complete data (since the huge strings are excluded) the index is used
Forum
2

2.7.3_03 Erroneous "Attempt to modify a primary key of a managed object"

, but why do you duplicate the primary key into an additional indexed field? Primary key fields are already indexed (and with a primary index, which is usually more powerful), so what are the benefits of having that additional indexed field? Textual letter case.  I have an index on the exact case
Forum
2

ArrayIndexOutOfBoundsException

? Are there any errors except indexes that have to rebuilt? Type version #4 in a new database is unexpected ... (total) Analyzing database structure... 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% Index Errors ------------ [1] Index com.contextspace.datamodel.attribute.AttributeValue[name] requires rebuild
Forum
2

JDO sequences from ORM file

Types with Indexes -->      <index name="i1" unique="false">            index>             <index
Forum
2

Performance in SELECT statement

;     private String text5;     private Object value; // for now just Double values     @Index ... processingCount;     @Enumerated(EnumType.ORDINAL)     @Index     private EntityState entityState ... ... regards, paddy The index definition is invalid. You cannot define an index directly on a field
Issue
2

Errors after unexpected server shutdown

existing index entry: [2018-03-26 14:39:30 #1098 store] BTree ID: -170 [2018-03-26 14:39:30 #1099 ... it seems that one of the indexes (ObjectNode.modified) became non synchronized with the data or corrupted. This shouldn't happen of course as recovery from failure should protect data and indexes
Forum
2

Listing large number of complicated objects with paging.

]                        
Forum
2

Low performance when getting grove roots

an index for this field? Regards, Vladimir Of course. Setting indexes is explained in this manual page. As ... , Vladimir You can define indexes in an external XML file. More details would be needed in order ... after defining the new index? Using new indexes with an existing database requires fixing the database using
Forum
2

Schema migration - long to String

change (you may need to run the Doctor if the field is indexed). Every old object should be adjusted ... has an index on it. After migrating schema, explorer was throwing an error about some Map (didn't ... schema was migrated, but index left for old values and when trying to rebuild this index