ObjectDB Database Search

1-50 of 200 results

jakarta.persistence.criteria.CriteriaBuilder.size(Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Expression size (    Expression collection ) Create an expression that tests the size of a collection. Parameters: collection - expression Returns: size expression. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.size(C)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Expression size (    C collection ) Create an expression that tests the size of a collection. Parameters: collection - collection Returns: size expression. Since: Jakarta Persistence (JPA) 1.0

Database size is much larger than expected (x2)

insertions? Question 2 : Why the size of db increased to 16,671,309,824, while the original images ... every 256 images. The database size should be larger than the size of the image files on the file ... The database size should be larger than the size of the image files on the file system, but more than 100

Page size - changing after database creation

Hi, I was wondering, is it safe to change page size after database is created and filled with data? Should I set page size to the same value as block size on my filesystem? lwalkowski Lukasz Walkowski The page size configuration setting should only affect new created databases

Getting the database file size

Hi,  we are planning to implement monitoring feature for the increases in database size . I ... read the size of filename directly from application. But in case of client-server use in future ... and it supports getting the file size and the total number of entity objects by queries: try

Database(*.odb) file size on disk

Hello, we have questions about the file size of ObjectDB database on disk. Can you tell us something about how the deleting of entities affects the size of *.odb files on disk? -Will the released ... than the initial size . import java.util.ArrayList; import java.util.List; import javax.persistence.Basic

ObjectDB size not reducing

that DB and the size does not decrease.  In fact it keeps growing as records decrease.  ... are persisted. However, the size of the database file is not reduced. So this is a normal behaviour. Currently, the way to reduce the size of a database is to use the Doctor utility, creating a new (smaller

Size of recording directory keeps growing

the size or history of recording? Is there any setting in configuration file? Thank you   Below are sizes of our database files: Main database: nef@l1:~/objectdb$ ls -lah db/cloudai/genose.odb -rw-r

odb file size doesn't shrink

Hello, why delete from ... doesnt modify size of odb? Even in in embedded mode, and in server mode i use recovery, not recording mode. mastervoland Vladimir Sadovnikov When objects are deleted from the database their space is marked as unused and becomes available for future objects. The size

Speeding up reporting queries with size() on list

Hi, I'm working on some reporting stuff in our application. One of few different reports should include activity on last modified objects. The query for now looks like this: select date(insp.lastModificationDate), insp.modifiedBy, insp.description.length(), insp.products. size (), insp.picture from

Max transaction size

What’s the max transaction size , or how is it determined? Trianglehead Json Error The main limit is the available memory in the JVM. There is no hard limit. support Support

Collections in JPQL and Criteria Queries

IS NOT EMPTY evaluates to TRUE if the collection is not empty and FALSE otherwise. SIZE The SIZE (collection) function returns the number of elements in a specified collection. For example: SIZE (c.languages ... ); Predicate i2 = param. in ("English", "French"); // SIZE (collection) Expression size = cb. size (languages);

Database Management Settings

specifies the database file and page size settings: The initial attribute specifies the initial size for each new database file. The resize attribute specifies the size by which to extend the database ... . The page attribute specifies the size of a page in a database file. The default value of 2 KB

General Settings and Logging

. Therefore, ObjectDB uses temporary files only for data that exceeds a size limit specified by the threshold ... a list of the most recently used database URLs for the Explorer tool. The size attribute specifies the maximum size of this list. To disable this feature , set the size to 0 . The user attribute

JPA Shared (L2) Entity Cache

. Per entity class, using annotations. ObjectDB Configuration The shared cache size is specified in the ObjectDB configuration : The level2 attribute determines the size of the EntityManagerFactory 's shared cache. The default size , 0 , disables the cache. To enable the cache, you must specify a positive

Is ObjectDB scalable? What are its limitations?

ObjectDB is highly scalable and can manage efficiently databases in a wide range of sizes , from a few Kilobytes to hundreds of Gigabytes and even Terabytes. ObjectDB can be used in small embedded ... supports: Database file size up to 128 TB (= 131,072 GB = 134,217,728 MB). Up to 2,147,483,648 entity

ObjectDB Object Database Features

can manage databases of various sizes efficiently, ranging from kilobytes to terabytes . Platform ... mode. Capabilities and Limitations Database file size up to 128 TB (= 131,072 GB = 134,217,728 MB

Database Explorer

the size of the result collection and the query execution time. If the query compilation fails ... the combo boxes on the right side to choose the font face, font size , font style, background color

SELECT clause (JPQL / Criteria API)

results might affect performance, depending on the size of the query result list and other factors. SELECT

Setting and Tuning of JPA Queries

the beginning of the complete result list. The setMaxResults method specifies the size of the result

FROM clause (JPQL / Criteria API)

, SET, SIZE , SOME, SQRT, SUBSTRING, SUM, THEN,TRAILING, TRIM, TRUE, TYPE, UNKNOWN, UPDATE, UPPER, VALUE

JPA Query Expressions (JPQL / Criteria)

, isNotEmpty , isMember , isNotMember , size ) Comparison expressions ( equal , notEqual , gt , ge , lt , le

Auto Generated Values

. It takes a name, an initial value (default is 1), and an allocation size (default is 50). A sequence

Numbers in JPQL and Criteria Queries

that return a numeric value, such as INDEX and SIZE . As string functions that return a numeric value, such as

JPA Value Generation Annotations

, and allocation size . Defines a named primary key generator that uses a specific database table to ensure

Chapter 6 - Configuration

value. You can use the mb (megabytes) and kb (kilobytes) suffixes in any size value attribute

Entity Management Settings

attribute specifies the size of the shared level-2 cache that is managed by

Paths and Types in JPQL and Criteria API

, and COUNT calculates its size . Criteria query paths and types Paths and navigation are represented in

JPA Criteria API Queries

, ...) Collection expressions ( isEmpty , isNotEmpty , isMember , isNotMember , size ) Comparison expressions

ObjectDB Overview

. Can easily be embedded in applications of any type and size . Tested with Tomcat, Jetty, GlassFish

Database Server

. For example, you can increase the maximum JVM heap size and improve performance by using the HotSpot JVM

jakarta.persistence.criteria.CriteriaBuilder

- expression Returns: sign. Since: Jakarta Persistence (JPA) 1.0 Expression size ( Expression collection ) Create an expression that tests the size of a collection. Parameters: collection - expression Returns: size expression. Since: Jakarta Persistence (JPA) 1.0 Expression size ( C collection ) Create

Transaction size limit

Although I read in this post https://www.objectdb.com/forum/2606 that the size of the transaction ... TransactionTooBigException. But what would help us most, would be a way to check the current size of the transaction ... : java.lang.OutOfMemoryError: Requested array size exceeds VM limit at com.objectdb.o.FIW.m(FIW.java

Bug when using SIZE in combination with date lower parameter

Hello, I have 2 entity types, which I want to query, ParserJob and Tag. Unfortunately there seems to be a bug if I use the lower date select: SELECT j.jobId, SIZE (j.tags) FROM ParserJob j WHERE j ... should return the same results but they do not. The first query returns 1 result and a tags size of 1

Out of memory

" java.lang.OutOfMemoryError: GC overhead limit exceeded GC overhead limit exceeded Database size is only 67MB, heap size is set to 1536MB. Log files are empty. Database uptime was about 3 weeks ... big (import lot of data from other source). I didn't catch the size of record log file. For now I

Soft Reference Object Cache Recommendation

upload size limit being exceeded before the post attempt.  =(  ) I desire ... with page file size of 64 KB.  Here are relevant objectdb.conf settings: My persisted class, "JdoBlob2 ... ; Then one can navigate to Classes, double click "byte[]" to view its instances, click "Compute retained sizes

jakarta.persistence.AttributeOverride

")) @AttributeOverride(name = "value. size ", column = @Column(name = "SQUARE_FEET")) @AttributeOverride(name ... parcelNumber; Integer size ; BigDecimal tax; } See Also: Embedded Embeddable MappedSuperclass

evictAll() behavior

; System.out.println("Cache size before commit= " + pm.getManagedObjects(). size ()); pm.currentTransaction().commit(); pm.currentTransaction().begin(); System.out.println("Cache size after commit= " + pm.getManagedObjects(). size ()); pm.evictAll(); System.out.println("Cache size after pm.evict = " + pm

ObjectDB's Database Doctor Incorrect Error Report

with this database file. Have you set the database page size to 256KB? The maximum supported page size is 64KB, but unfortunately somehow this was not enforced by ObjectDB. This was fixed now ... this error use page size of 64KB or smaller. support Support Ah, OK.  I will do that.   I

Occasionally slow requests in load testing

drives should also help. support Support Hi, We've run another test today with large initial DB size , to avoid resizing. The initial size was set to 4.5GB. It was running great for 6 hours ... that can cause large file writes? I would estimate the size of actual data in the db file

virtual servers and one file

where the hard drives are also virtualized. From a certain size of the objectdb file (approx. 1.5 GB ... on the size ) not completly loadet in memory and the virtualisation software tries to make ... problem. The ObjectDB is currently a little over 3GB in size , the respective server service is assigned

Is it possible to remove parent/child entities without refresh?

; entityManager.getTransaction().commit();   Assert.assertEquals(4, parentEntity.getChildren(). size ());   ... (3, parentEntity.getChildren(). size ()); } @Test public void testRemoveVariant2() {   ... ();   Assert.assertEquals(2, parentEntity.getChildren(). size ());   entityManager.refresh

Vacuum - Reclaiming Unused Space In Odb

.  Our odb files are about 50Gb in size and are written to about a million times a day ... . Original File Size        Post Doctor File Size         ... In Size Can you explain why a database would increase in size after running the doctor utility?  

How Should I Configure objectdb.conf to Obtain 256KB Disk IO Requests and Maximize Shared PersistenceManager Entity Cache?

pagefile caching 1 MB (4 256KB sized pages).  The goal is to have frequent PersistenceManager L1 ... from/to the disk, but in a 256 KB sized IO packets. Is the objectdb.conf file (attached  ... of arbitrary objects (like key-value store)? CBE CBE Does ObjectDB access the datafile in page- sized IO

Use temporary files to enable very large transactions

results), currently the size of a transaction (i.e. the total size of database pages that have to be replaced) is limited by the JVM heap size . Supporting huge transactions requires some major changes ... situation. For this, we need more information: What is the total size of data in the transaction

Server out of memory exceptions

. The message size going into the queue is not large - around 4k at most. Each read/write operation ... reader. The msg size being saved should be around 2mb. The server is running with -Xms256m -Xmx256m ... clients loading a 2mb msg - so 24mb raw data size ? (Let me know if I've got this wrong

Best practise loading big data

sizes of caches and how to configure them. Please clarify whether the RAM is released when you close ... sizes to reduce RAM please provide more information about the RAM consumption of relevant ObjectDB ... , even if at some time the GC collects the unused entities. When reading further, the cache size and the number

Inverse OneToMany Mapping and EmbeddedId

. size =" + abs . size ( ) + "]" ;          }      ... ;           return "B [id=" + id + ", abs. size =" + abs . size ... .HibernatePersistenceProvider - Found no matching persistence units [A [id=1, abs. size =1]] [B [id=1, abs

Blocked by find

varied in size from 1MB but the entity object is simple and looks like: @Entity public class DataHolder ... but with processing and query cache sizes set to 0mb due to issues we've seen in the past with large objects ... , sometimes it seems to run on past 10k persists without problems. I bumped up the object size (int

Memory leak in com.objectdb.o.CST

you have mistaken shallow heap size as instances.  It is only 1 instance of EMF as seen in the better ... . However, the default size of the connection pool is 50, so it is unclear how there are 132 objects. Another option ... instances in there are 54MB.  Is that a normal size for those objects?  What are the things