Activity
From 05/27/2020 to 06/25/2020
06/25/2020
- 04:10 PM Feature #3814: more schema metadata
- Added _File-Trig and _Field-Trig population
Committing to 3821c revision 11366. ... - 12:51 PM Feature #4011: database/persistence layer performance improvements
- Regarding the test at #4011-633 - I've created a physical database with the same table structure and indexes, and OE ...
- 12:49 PM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> I'm not sure what you are asking. Across different DMO implementation classes, two unique in... - 12:44 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> But, does anyone know if we have a way to check if the unique indexes in two DMO impl ma... - 09:55 AM Feature #4011: database/persistence layer performance improvements
- For temp-tables, FWD has problems with this test:...
- 09:10 AM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Eric, an idea about the temp-table flushing. We currently save on every touched field. ... - 09:00 AM Feature #4011: database/persistence layer performance improvements
- Eric, an idea about the temp-table flushing. We currently save on every touched field. But I think we can defer thi...
- 06:36 AM Feature #4011: database/persistence layer performance improvements
- In @TemporaryBuffer.copyAllRows@, we can skip record validation if:...
06/24/2020
- 06:49 PM Feature #4011: database/persistence layer performance improvements
- The NULLS LAST/FIRST fix is in 4011a rev 11499.
- 05:50 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> I don't understand what is happening. The same SQL in the standalone H2 server knows to... - 03:29 PM Feature #4011: database/persistence layer performance improvements
- I don't understand what is happening. The same SQL in the standalone H2 server knows to move the nulls to last posit...
- 02:35 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Also, H2 is wrong with or without a DESC index for F2 - the NULL must be first.
To be m... - 02:33 PM Feature #4011: database/persistence layer performance improvements
- Ovidiu, add an ASC index for F1 and you will see that H2 is wrong - it will place the NULL first.
Also, H2 is wron... - 02:32 PM Feature #4011: database/persistence layer performance improvements
- ...
- 02:28 PM Feature #4011: database/persistence layer performance improvements
- What's the result for @select * from t1 order by f1 desc;@?
- 02:27 PM Feature #4011: database/persistence layer performance improvements
- I did a quick test with H2:...
- 02:24 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> I have some tests, and OE sorts the nulls always last, regardless of direction.
Sorry, ... - 02:01 PM Feature #4011: database/persistence layer performance improvements
- I have some tests, and OE sorts the nulls always last, regardless of direction.
H2 has a bug in that it doesn't co... - 01:16 PM Feature #4011: database/persistence layer performance improvements
- Postgresql states that:
> By default, null values sort as if larger than any non-null value; that is, NULLS FIRST is... - 11:48 AM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Another issue is that the SUBSELECT doesn't have the @NULLS LAST@. At least we should b... - 11:42 AM Feature #4011: database/persistence layer performance improvements
- There is a problem in 4011a, where we emit @NULLS LAST@ in the @ORDER BY@ clause. This causes a performance regressi...
- 03:20 PM Feature #3814: more schema metadata
- Finished with VIEW-AS field property conversion and population of the @_Field._View-As@.
Tested with a standalone te... - 08:55 AM Bug #3172: QUERY-PREPARE can be used on static queries (and the sorting can be dynamically changed)
- Roger Borrello wrote:
> Constantin Asofiei wrote:
> > Roger, the fix is in 3821c rev 11363.
> >
> > Please test ... - 08:40 AM Bug #3172: QUERY-PREPARE can be used on static queries (and the sorting can be dynamically changed)
- Constantin Asofiei wrote:
> Roger, the fix is in 3821c rev 11363.
>
> Please test with the customer scenario.
... - 07:10 AM Bug #3172: QUERY-PREPARE can be used on static queries (and the sorting can be dynamically changed)
- Roger, the fix is in 3821c rev 11363.
Please test with the customer scenario. - 05:58 AM Bug #3172: QUERY-PREPARE can be used on static queries (and the sorting can be dynamically changed)
- Eric Faulhaber wrote:
> I am attaching a patch because I didn't have a branch to which to commit. The attached patch... - 05:28 AM Bug #3172: QUERY-PREPARE can be used on static queries (and the sorting can be dynamically changed)
- Eric Faulhaber wrote:
> Constantin, please take it from here.
OK, I'm working on it.
- 01:33 AM Bug #3172: QUERY-PREPARE can be used on static queries (and the sorting can be dynamically changed)
- Roger Borrello wrote:
> That patch alleviated the NPE, and we now result in:
> * "Unable to PREPARE TEMP-TABLE bu... - 07:05 AM Support #3871: determine how to change codepages/locales during import
- This task is not about the runtime environment. This is only about database import.
What matters is that we must ... - 12:02 AM Support #3871: determine how to change codepages/locales during import
- Analyzing the task history. The @FWD@ functionality from my understanding is to have tow separate parts, runtime envi...
06/23/2020
- 07:54 PM Bug #3172: QUERY-PREPARE can be used on static queries (and the sorting can be dynamically changed)
- Eric Faulhaber wrote:
> Yes and no :-)
>
> I am attaching a patch because I didn't have a branch to which to comm... - 06:09 PM Bug #3172: QUERY-PREPARE can be used on static queries (and the sorting can be dynamically changed)
- Yes and no :-)
I am attaching a patch because I didn't have a branch to which to commit. The attached patch fixes ... - 06:04 PM Bug #3172: QUERY-PREPARE can be used on static queries (and the sorting can be dynamically changed)
- Eric Faulhaber wrote:
> Nevermind, got it.
Are you looking at this? Did you see the notes in #4208-736 ? - 04:55 PM Bug #3172: QUERY-PREPARE can be used on static queries (and the sorting can be dynamically changed)
- Nevermind, got it....
- 04:49 PM Bug #3172: QUERY-PREPARE can be used on static queries (and the sorting can be dynamically changed)
- Stack trace?
- 04:01 PM Bug #3172: QUERY-PREPARE can be used on static queries (and the sorting can be dynamically changed)
- Will there be different code-paths for a temp-table versus a standard table? I am walking through the testcase, tryin...
- 01:17 PM Bug #3172: QUERY-PREPARE can be used on static queries (and the sorting can be dynamically changed)
- This code generates a @NPE@ on @trunk-11347@:...
- 07:17 PM Feature #4011: database/persistence layer performance improvements
- I committed revision 11496 to 4011a. It is mainly a FLQ support update:
* added support for DMOs in FROM clause of S... - 10:35 AM Feature #4011: database/persistence layer performance improvements
- It is not clear to me why we match @PROPERTY@ in the lexer (as @DOT SYMBOL@). Since there are many possible qualifie...
- 10:22 AM Feature #4011: database/persistence layer performance improvements
- Related to parsing of FQL: at this moment FQL2SQL is unable to parse queries like:
@from com.goldencode.appname.dmo.... - 06:06 AM Feature #4011: database/persistence layer performance improvements
- I've committed revisions 11494 and 11495. 11494 is Ovidiu's import fix. 11495 partially fixes the test case in #4011-...
- 05:38 PM Feature #3814: more schema metadata
- After adding checks for @null@ to the @SymbolResolver@ I do not see warning anymore and there is a @KW_VIEW_AS@ note...
- 05:12 PM Feature #3814: more schema metadata
- > I do not see KW_VIEW_AS node in the .schema or .dict files. Maybe this is a result of NPE.
Yes, possibly so. - 05:04 PM Feature #3814: more schema metadata
- Greg Shah wrote:
> > however, there is no KW_VIEW_AS node in the AST at all
>
> The @replaceAst()@ rewrites that ... - 04:46 PM Feature #3814: more schema metadata
- > however, there is no KW_VIEW_AS node in the AST at all
The @replaceAst()@ rewrites that @KW_VIEW_AS@ subtree, th... - 04:42 PM Feature #3814: more schema metadata
- Greg Shah wrote:
> Constantin Asofiei wrote:
> > Greg, do you think is safe to set @dict=true@ at the @SymbolResolv... - 04:37 PM Feature #3814: more schema metadata
- Constantin Asofiei wrote:
> Greg, do you think is safe to set @dict=true@ at the @SymbolResolver@ instance created b... - 04:10 PM Feature #3814: more schema metadata
- Constantin Asofiei wrote:
> Greg, do you think is safe to set @dict=true@ at the @SymbolResolver@ instance created b... - 03:39 PM Feature #3814: more schema metadata
- Greg, do you think is safe to set @dict=true@ at the @SymbolResolver@ instance created by @SchemaLoader.postProcessIm...
- 03:36 PM Feature #3814: more schema metadata
- Constantin Asofiei wrote:
> Igor Skornyakov wrote:
> > This is exactly what I did. It seems that not callers are re... - 03:24 PM Feature #3814: more schema metadata
- Igor Skornyakov wrote:
> This is exactly what I did. It seems that not callers are ready for @null@. But I will try ... - 03:19 PM Feature #3814: more schema metadata
- Constantin Asofiei wrote:
> > I've tried this. It doesn't help, NPE happens in @SymbolResolver.addWrappedWorker@
> ... - 03:15 PM Feature #3814: more schema metadata
- Igor Skornyakov wrote:
> Constantin Asofiei wrote:
> > I think is enough to add a NPE check there for @currentCls@.... - 03:13 PM Feature #3814: more schema metadata
- Constantin Asofiei wrote:
> I think is enough to add a NPE check there for @currentCls@. During schema parser, ther... - 03:08 PM Feature #3814: more schema metadata
- Igor Skornyakov wrote:
> The conversion of the .df files produces a number of warnings like this:
> [...]
> This h... - 02:59 PM Feature #3814: more schema metadata
- The conversion of the .df files produces a number of warnings like this:...
- 08:01 AM Support #3871 (WIP): determine how to change codepages/locales during import
- Sergey Ivanovskiy wrote:
> I used the similar diff to the following one in order to setup the UTF-8 database with IN...
06/22/2020
- 06:12 PM Feature #4011: database/persistence layer performance improvements
- Some notes about @fql.g@ from my quick review:
* The overall structure looks ... familiar. :) This is not a compl... - 02:28 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> There are issues in 4011a with the batch deletes:
> * the composite tables need to be d... - 10:00 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> A variation of #4011-549 with the validation:
> [...]
>
> The @CAN-FIND@ sees this r... - 01:42 PM Feature #4692: add sanity check at server startup to compare DMO indices with database indices
- Good point. We should add a comparison of legacy "mandatory" fields with database columns marked "not null" as part o...
- 12:48 PM Feature #4692: add sanity check at server startup to compare DMO indices with database indices
- Additional indices are OK as they could improve performance (if we spot some series of queries that frequently use a ...
- 12:38 PM Feature #4692: add sanity check at server startup to compare DMO indices with database indices
- Branch 4011a eliminates the collection of index metadata from the database at startup to populate @IndexHelper@ data ...
- 12:27 PM Feature #4692 (New): add sanity check at server startup to compare DMO indices with database indices
- 01:37 PM Support #4693: check whether our index consolidation adversely affects flushing behavior
- During schema conversion, we do some consolidation of the original 4GL indices to eliminate redundant indices. I am w...
- 01:28 PM Support #4693 (New): check whether our index consolidation adversely affects flushing behavior
- 11:24 AM Feature #3814: more schema metadata
- Finished re-working metadata configuration in p2j.cfg.xml.
Now, if there is no <metadata> section on the @p2j.cfg.xm...
06/21/2020
- 06:51 PM Feature #3814: more schema metadata
- Yes, I think that is fine.
- 10:54 AM Feature #3814: more schema metadata
- Do we really need to support @p2j.cf.xml@ w/o a <metadata> section? It requires a lot of changes as in many places it...
- 05:09 AM Feature #3814: more schema metadata
- Backport of the @SEQUENCE@ support from 4011a and population of the @_Sequence@ table committed to 3821c rev. 11351.
06/20/2020
- 01:34 PM Feature #3814: more schema metadata
- Greg Shah wrote:
> 3821c not b
OK, thank you. - 01:33 PM Feature #3814: more schema metadata
- 3821c not b
- 01:32 PM Feature #3814: more schema metadata
- Greg Shah wrote:
> Hynek will open 3821b shortly.
Got it. Thanks! - 01:23 PM Feature #3814: more schema metadata
- Hynek will open 3821b shortly.
- 12:45 PM Feature #3814: more schema metadata
- Greg, which branch should I use for #3814 now?
Thank you. - 12:00 PM Feature #3814: more schema metadata
- Task branch 4231b has been merged to trunk as revision 11347.
- 12:10 PM Bug #4492: database trigger defined with abbreviation should create a new buffer
- Task branch 4231b has been merged to trunk as revision 11347.
- 12:01 PM Bug #3471: incremental conversion is regressed
- Task branch 4231b has been merged to trunk as revision 11347.
- 11:57 AM Feature #4397: add database attrs, methods and options
- Task branch 4231b has been merged to trunk as revision 11347.
Is there anything left to do in this task? - 11:57 AM Feature #3813: misc DB features part deux
- Task branch 4231b has been merged to trunk as revision 11347.
> Considering that the WHERE clause work has been mo... - 11:56 AM Feature #4375 (Closed): add support for -pf <profile_filename> option for CONNECT statement
- Task branch 4231b has been merged to trunk as revision 11347.
06/19/2020
- 05:13 PM Feature #4011: database/persistence layer performance improvements
- Ovidiu Maxiniuc wrote:
> The old @cumulativeDirtyProps@ was stored in @ValidationHelper@ and contained the entire se... - 04:49 PM Feature #4011: database/persistence layer performance improvements
- The old @cumulativeDirtyProps@ was stored in @ValidationHelper@ and contained the entire set of changes at the last (...
- 04:37 PM Feature #4011: database/persistence layer performance improvements
- Ovidiu, regarding 4011a/11486: @RecordBuffer.cumulativeDirtyProps@ is never modified, only instantiated and used as a...
- 04:09 PM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> Constantin Asofiei wrote:
>
> > the composite tables need to be deleted manually (or is t... - 04:05 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> the composite tables need to be deleted manually (or is the foreign key 'on cascade de... - 03:18 PM Feature #4011: database/persistence layer performance improvements
- There are issues in 4011a with the batch deletes:
* the composite tables need to be deleted manually (or is the fore... - 02:17 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> The only issue I have is that @boolean doFlush = !rollback || hasUniqueConstraint;@ wi... - 02:01 PM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> Constantin, would you please carefully review the change? It did go through some regression ... - 01:40 PM Feature #4011: database/persistence layer performance improvements
- Committed rev 11487, which:
* bypasses database-level unique constraint validation when the backing table has no u... - 07:52 AM Feature #4011: database/persistence layer performance improvements
- Ovidiu Maxiniuc wrote:
> some indexes keep their @unique@ attribute. I remember that we were intentionally doing s... - 08:05 PM Feature #4011: database/persistence layer performance improvements
- Eric,
As I informed by email, I noticed some differences in the generated indexes for our test framework. There are ... - 06:08 AM Feature #3814: more schema metadata
- Status summary update (see #3814-100)
# Added @_Sequence@ table population based on the new @SEQUENCE@ support (back...
06/18/2020
- 07:34 PM Feature #4011: database/persistence layer performance improvements
- As part of cleaning up the branch, we should get rid of these ANTLR warnings:...
- 01:30 PM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> This is a different issue than that which is addressed by the use of the @ParameterIndices@ ... - 01:04 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Constantin Asofiei wrote:
> > For a WHERE clause which has subscripted fields like @tt1... - 09:25 AM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> For a WHERE clause which has subscripted fields like @tt1.f1[?]@, I need to inject the @... - 08:34 AM Feature #4011: database/persistence layer performance improvements
- For a WHERE clause which has subscripted fields like @tt1.f1[?]@, I need to inject the @tt1__10.list__index = ?@ at t...
- 04:52 PM Feature #4690: re-integrate dirty share logic into new persistence implementation
- Ovidiu Maxiniuc wrote:
> The choice to use a @null@ context is due the performance. This might not be the most ele... - 03:55 PM Feature #4690: re-integrate dirty share logic into new persistence implementation
- Eric Faulhaber wrote:
> I'm reading through the changes, and this is not a full review yet, but I have some general ... - 02:28 PM Feature #4690: re-integrate dirty share logic into new persistence implementation
- I'm reading through the changes, and this is not a full review yet, but I have some general questions about the 4011a...
- 02:20 PM Feature #4690: re-integrate dirty share logic into new persistence implementation
- Some new requirements have arisen for the dirty share feature set. Although we would like to eliminate this feature a...
- 01:54 PM Feature #4690: re-integrate dirty share logic into new persistence implementation
- Opening a separate issue for this, as it is a substantial topic on its own...
4011a_dirty is the branch in use for... - 01:53 PM Feature #4690 (WIP): re-integrate dirty share logic into new persistence implementation
06/17/2020
- 02:12 PM Feature #3814: more schema metadata
- Greg Shah wrote:
> OK, please commit the change to 4231b.
Committed revision 11609. - 02:05 PM Feature #3814: more schema metadata
- OK, please commit the change to 4231b.
- 01:58 PM Feature #3814: more schema metadata
- Some additional fixes were made to run hotel apps w/o @p2j.cf.xml@. See attachment.
- 12:33 PM Feature #3814: more schema metadata
- Igor Skornyakov wrote:
> Greg Shah wrote:
> > The change looks good. Please test it with Hotel GUI and Hotel ChUI.... - 12:32 PM Feature #3814: more schema metadata
- Greg Shah wrote:
> The change looks good. Please test it with Hotel GUI and Hotel ChUI.
Both apps started OK. Pl... - 12:11 PM Feature #3814: more schema metadata
- The change looks good. Please test it with Hotel GUI and Hotel ChUI.
- 12:04 PM Feature #3814: more schema metadata
- Greg Shah wrote:
> Why did you remove the @throw@ in the @catch()@ block of @Configuration.createConfiguration()@? ... - 11:55 AM Feature #3814: more schema metadata
- Why did you remove the @throw@ in the @catch()@ block of @Configuration.createConfiguration()@? This means that the ...
- 11:48 AM Feature #3814: more schema metadata
- Greg Shah wrote:
> Code Review cfg.diff
>
> Please remove the new imports in @Configuration@ and also remove the ... - 11:41 AM Feature #3814: more schema metadata
- Code Review cfg.diff
Please remove the new imports in @Configuration@ and also remove the change for the @catch()@... - 11:11 AM Feature #3814: more schema metadata
- Greg Shah wrote:
> Code Review cfg.diff
>
> 1. At this time, it is intentional that we do not use logging in @Con... - 10:17 AM Feature #3814: more schema metadata
- Code Review cfg.diff
1. At this time, it is intentional that we do not use logging in @Configuration@. It is used... - 09:02 AM Feature #3814: more schema metadata
- Greg Shah wrote:
> Please post the change here in patch format so I can review it. If OK, you will check it in to 4... - 08:06 AM Feature #3814: more schema metadata
- Please post the change here in patch format so I can review it. If OK, you will check it in to 4231b since this is m...
- 07:54 AM Feature #3814: more schema metadata
- Greg Shah wrote:
> A safe default configuration (which has nothing enabled) should be present if the file is not ava... - 07:02 AM Feature #3814: more schema metadata
- A safe default configuration (which has nothing enabled) should be present if the file is not available. No abends.
- 06:57 AM Feature #3814: more schema metadata
- I've fixed the situation when there is no <metadata> section on the @p2j.cfg.xml@. However it seems that the applicat...
- 05:55 AM Feature #3814: more schema metadata
- Please make both cases safe.
- 02:55 AM Feature #3814: more schema metadata
- Greg Shah wrote:
> I'm using the ChUI regression test suite. I found that with 4231b, it is now required to have a ...
06/16/2020
- 07:00 PM Feature #3814: more schema metadata
- I'm using the ChUI regression test suite. I found that with 4231b, it is now required to have a @cfg/p2j.cfg.xml@ bu...
- 04:58 PM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> Constantin Asofiei wrote:
> > A variation of #4011-549 with the validation:
> > [...]
> >... - 04:42 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> A variation of #4011-549 with the validation:
> [...]
>
> The @CAN-FIND@ sees this r... - 11:11 AM Feature #4011: database/persistence layer performance improvements
- Greg Shah wrote:
> > issue in AnnotatedAst.iterator(), when walking from an AST with a single child. Need Greg to c... - 10:52 AM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> I've been considering divorcing the cache from the session object to get more advantage from... - 08:05 AM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Constantin Asofiei wrote:
> > I've seen cases where we have a select like @select tt1.*... - 06:54 AM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> I've seen cases where we have a select like @select tt1.*, tt2.recid@ where @tt2@ is a s... - 06:28 AM Feature #4011: database/persistence layer performance improvements
- I've seen cases where we have a select like @select tt1.*, tt2.recid@ where @tt2@ is a standalone table or a composit...
- 06:07 AM Feature #4011: database/persistence layer performance improvements
- I've committed revision 11481, which minimizes the number of database savepoints being set for application sub-transa...
- 12:43 AM Feature #4011: database/persistence layer performance improvements
- Greg Shah wrote:
> > issue in AnnotatedAst.iterator(), when walking from an AST with a single child. Need Greg to c... - 11:11 PM Feature #4011: database/persistence layer performance improvements
- > issue in AnnotatedAst.iterator(), when walking from an AST with a single child. Need Greg to check if I'm missing ...
- 09:42 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> 4011a rev 11480 refactors SortCriterion to allow indexed properties in the sort clause. ... - 04:36 PM Feature #4681: prepared statement caching/pooling
- I think we can simplify this idea a bit. I don't see the value in making a static cache. A @PreparedStatement@ instan...
- 01:39 PM Feature #4681: prepared statement caching/pooling
- My concern is related to multiple session close (they have a short life), which will invalidate the cached statements...
- 12:58 PM Feature #4681: prepared statement caching/pooling
- This issue is to discuss the implementation of @PreparedStatement@ caching/pooling as a potential performance optimiz...
- 12:56 PM Feature #4681 (WIP): prepared statement caching/pooling
06/15/2020
- 07:23 PM Feature #4011: database/persistence layer performance improvements
- 4011a rev 11480 refactors SortCriterion to allow indexed properties in the sort clause. FQL2SQL will take care of cr...
- 07:11 PM Feature #4011: database/persistence layer performance improvements
- 4011a rev 11479 adds the @AnnotatedAst.iterator()@ fix (#4011-574) and refactors rowStructure to allow for self-join.
- 09:49 AM Feature #4011: database/persistence layer performance improvements
- A variation of #4011-549 with the validation:...
- 05:51 AM Feature #4011: database/persistence layer performance improvements
- 4011a rev 11475 fixes ChangeSet.ensureCapacity.
06/14/2020
- 10:25 AM Feature #4011: database/persistence layer performance improvements
- > BTW, in FWD (both 4011 and trunk) only the RAQ will consult the dirty database for possible leaking record. The 4GL...
06/13/2020
- 05:53 PM Feature #4011: database/persistence layer performance improvements
- > There's nowhere to descend, nor another sibling. When iter.hasNext() is called after the BOOL_TRUE was processed, i...
06/12/2020
- 07:03 PM Feature #4011: database/persistence layer performance improvements
- Yes, if we can evaluate static sub-expressions during conversion, we roll them up to their result and replace the sub...
- 07:00 PM Feature #4011: database/persistence layer performance improvements
- Is it possible that the WHERE node was dropped in this case?
- 06:57 PM Feature #4011: database/persistence layer performance improvements
- AFAIK, we didn't change this in 4011a. I wonder why we are hitting this now.
- 06:42 PM Feature #4011: database/persistence layer performance improvements
- There's a bug in @AnnotatedAst.iterator@ when trying to iterate starting from the @BOOL_TRUE@ child (of the @WHERE@ c...
- 06:20 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Ovidiu Maxiniuc wrote:
> > The not closed objects are most likely the reason for the me... - 05:37 PM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> Constantin, I am blocked by this as well. Please commit the fix as soon as it is ready.
See... - 05:25 PM Feature #4011: database/persistence layer performance improvements
- Constantin, I am blocked by this as well. Please commit the fix as soon as it is ready.
- 05:17 PM Feature #4011: database/persistence layer performance improvements
- This was inspired by what I saw Hibernate was generating. The most signifiant 32 bit came naturally and will match th...
- 05:02 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Or better yet, why use a hashcode for the FK? Just as a convention? This name needs to... - 05:01 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> There's something wrong in TempTableHelper when the constraint name is computed:
> [...... - 04:45 PM Feature #4011: database/persistence layer performance improvements
- There's something wrong in TempTableHelper when the constraint name is computed:...
- 03:57 PM Feature #4011: database/persistence layer performance improvements
- OK, I think this is what Hibernate did as well. We may come back to @PreparedStatement@ caching as a potential optimi...
- 03:49 PM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> I think we know when we are done with the statement in all cases, but do we cache @PreparedS... - 03:47 PM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> I think we know when we are done with the statement in all cases, but do we cache @PreparedS... - 03:43 PM Feature #4011: database/persistence layer performance improvements
- I think we know when we are done with the statement in all cases, but do we cache @PreparedStatement@ instances to pr...
- 03:42 PM Feature #4011: database/persistence layer performance improvements
- Ovidiu Maxiniuc wrote:
> The not closed objects are most likely the reason for the memory issues. I tried to close s... - 03:20 PM Feature #4011: database/persistence layer performance improvements
- The not closed objects are most likely the reason for the memory issues. I tried to close some of them but it was rea...
- 03:18 PM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> How were we handling cleanup of the Hibernate query resources?
I think Hibernate was taking... - 03:09 PM Feature #4011: database/persistence layer performance improvements
- @AbstractQuery@ has a @cleanup@ method, however, the use of @SQLQuery@ and even @Query@ is somewhat internal/hidden w...
- 03:04 PM Feature #4011: database/persistence layer performance improvements
- Another issue which I don't understand: the @SQLQuery@'s JDBC statement and ResultSet is never closed. Why? Who shou...
- 03:02 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Constantin Asofiei wrote:
> > I've moved to another test as the current one is blocked ... - 09:05 AM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> I've moved to another test as the current one is blocked with the flush/mandatory issue.... - 08:25 AM Feature #4011: database/persistence layer performance improvements
- I've moved to another test as the current one is blocked with the flush/mandatory issue. Now I've reached an extent ...
- 08:13 PM Feature #4011: database/persistence layer performance improvements
- Not exactly. I will add it, thanks.
06/11/2020
- 07:57 PM Feature #4011: database/persistence layer performance improvements
- Eric, do you have this case in your current flush/validation work?...
- 06:37 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Eric, the NO-UNDO issue is related to passing the temp-table as a parameter, where you e... - 06:06 PM Feature #4011: database/persistence layer performance improvements
- Eric, the NO-UNDO issue is related to passing the temp-table as a parameter, where you end up with two records like ...
- 04:56 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> A test related to NO-UNDO temp-tables (not related to STOP, replace it with UNDO, LEAVE ... - 03:39 PM Feature #4011: database/persistence layer performance improvements
- A test related to NO-UNDO temp-tables (not related to STOP, replace it with UNDO, LEAVE and there is the same behavio...
- 03:22 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Ovidiu, what's the difference between @FqlType.DECIMAL@ and @FqlType.DOUBLE@? How are th... - 03:07 PM Feature #4011: database/persistence layer performance improvements
- 11467 contains the ScrollingResults fix, rollback of SqlQuery RSMD usage and another fix in FqlType.
- 03:06 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Constantin Asofiei wrote:
> > Should I call @Persistence$Context.useSession@ for @Scrol... - 02:58 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Should I call @Persistence$Context.useSession@ for @ScrollingResults@, too? I see that w... - 02:48 PM Feature #4011: database/persistence layer performance improvements
- I've got an infinite loop because this code:...
- 12:28 PM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> Constantin Asofiei wrote:
>
> > That code already has a call for RSMD, @int columnCount =... - 12:26 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> That code already has a call for RSMD, @int columnCount = resultSet.getMetaData().getC... - 12:14 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Ovidiu Maxiniuc wrote:
> > The foreign table is mapped by @MetaFile.class@ and by defau... - 12:03 PM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> Constantin, we have biased as much as we can in this implementation toward speed, so we are ... - 11:45 AM Feature #4011: database/persistence layer performance improvements
- Constantin, we have biased as much as we can in this implementation toward speed, so we are avoiding things like @Res...
- 10:33 AM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> The problem is the previous code assumed the SELECT was always retrieving full records. ... - 10:24 AM Feature #4011: database/persistence layer performance improvements
- Ovidiu Maxiniuc wrote:
> Constantin Asofiei wrote:
> > 4011a rev 11465 contains my FQL fixes plus misc. Please rev... - 09:38 AM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> 4011a rev 11465 contains my FQL fixes plus misc. Please review.
I have only a questi...
06/10/2020
- 06:23 PM Feature #4011: database/persistence layer performance improvements
- 4011a rev 11465 contains my FQL fixes plus misc. Please review.
- 06:17 PM Feature #4011: database/persistence layer performance improvements
- Ovidiu Maxiniuc wrote:
> The foreign table is mapped by @MetaFile.class@ and by default the 'foreign' field is also ... - 01:53 PM Feature #4011: database/persistence layer performance improvements
- Lots of regression after changing it... so no good.
- 01:49 PM Feature #4011: database/persistence layer performance improvements
- There is a problem at the fql.g parser:...
- 01:43 PM Feature #4011: database/persistence layer performance improvements
- Ovidiu Maxiniuc wrote:
> Found a broken feature I forgot about in 4011: sequences, see #3814-109.
> We need to add ... - 12:05 PM Feature #4011: database/persistence layer performance improvements
- Ovidiu Maxiniuc wrote:
> Constantin Asofiei wrote:
> > Replacing Record with Persistable fixes the above.
> I am n... - 11:59 AM Feature #4011: database/persistence layer performance improvements
- Constantin,
After running conversion with a newer metadata definition I have this:... - 11:16 AM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Ovidiu, I have a problem with the relation generated between the Field and File meta tab... - 10:48 AM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Replacing Record with Persistable fixes the above.
I am not sure is not correct. Which ... - 09:17 AM Feature #4011: database/persistence layer performance improvements
- Replacing Record with Persistable fixes the above.
- 09:02 AM Feature #4011: database/persistence layer performance improvements
- I've fixed that manually (BTW, @name="id"@ should be @name="recid"@, depending on what you configured as the PK in p2...
- 08:51 AM Feature #4011: database/persistence layer performance improvements
- Ovidiu, I have a problem with the relation generated between the Field and File meta tables. In DMO index, I have th...
- 08:37 AM Feature #4011: database/persistence layer performance improvements
- 11463 fixes the FqlType issue in #4011-517. But I think we need complete support for FqlType enum.
- 07:53 AM Feature #4011: database/persistence layer performance improvements
- Ovidiu, I need a mapping between FQLType enum values and java.sql.Types. Can you provide a complete list?
- 06:05 AM Feature #4011: database/persistence layer performance improvements
- Rev 11462 fixes @TB.readAllRows@. It also has some validation, flush, rollback fixes that are work in process. They d...
- 05:33 PM Feature #4155 (WIP): remove conversion dependency on metadata .df file
- Our ultimate objective with schema metadata is to eliminate the conversion of these DMOs and instead rely upon metada...
- 10:21 AM Feature #3814: more schema metadata
- Greg Shah wrote:
> As you check in updates for this task, the @rules/gaps/database.rules@ (@addMetaschema@ section) ... - 10:19 AM Feature #3814: more schema metadata
- As you check in updates for this task, the @rules/gaps/database.rules@ (@addMetaschema@ section) needs to be updated ...
06/09/2020
- 07:13 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> There is this code in @TemporaryBuffer.readAllRows@:
> [...]
>
> I would expect @res... - 07:01 PM Feature #4011: database/persistence layer performance improvements
- There is this code in @TemporaryBuffer.readAllRows@:...
- 03:32 PM Feature #4011: database/persistence layer performance improvements
- Actually, the code above will not work for PostgreSQL as the @getComputedColumnFormula@ will return @null@. It looks ...
- 03:19 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Ovidiu Maxiniuc wrote:
> > That is interesting. It looks like I added a regression when... - 03:14 PM Feature #4011: database/persistence layer performance improvements
- Ovidiu Maxiniuc wrote:
> That is interesting. It looks like I added a regression when constructing validation messag... - 03:12 PM Feature #4011: database/persistence layer performance improvements
- That is interesting. It looks like I added a regression when constructing validation message in my recent commit. Ple...
- 02:59 PM Feature #4011: database/persistence layer performance improvements
- Ovidiu, one more - I don't understand where the "__i?" is coming from....
- 02:44 PM Feature #4011: database/persistence layer performance improvements
- If the query already has fetched the full records, we already would have used the session cache to gain this optimiza...
- 02:37 PM Feature #4011: database/persistence layer performance improvements
- Ovidiu Maxiniuc wrote:
> Constantin,
> I think the change you refer to was mine. The idea was to fetch the exact am... - 02:36 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> This part in @metaschema.xml@ is wrong:
> [...]
> We need to use the primary key as s... - 02:30 PM Feature #4011: database/persistence layer performance improvements
- Constantin,
I think the change you refer to in #4011-504 was mine. The idea was to fetch the exact amount of informa... - 02:21 PM Feature #4011: database/persistence layer performance improvements
- This part in @metaschema.xml@ is wrong:...
- 01:31 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Eric, what part is wrong here? The @Presorter$SortedResults@ which expects full records,... - 01:12 PM Feature #4011: database/persistence layer performance improvements
- Found a broken feature I forgot about in 4011: sequences, see #3814-109.
We need to add back initialization support ... - 10:02 AM Feature #4011: database/persistence layer performance improvements
- If you enable enhanced browse, and click the 'checkin' column in the Guests grid, you get a @ClassCastException@:
<p... - 09:46 AM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> Attached are my changes in process for the rollback fix. It is not working yet, but I am pos... - 08:22 AM Feature #4011: database/persistence layer performance improvements
- Attached are my changes in process for the rollback fix. It is not working yet, but I am posting because I need to ta...
- 07:06 AM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Eric Faulhaber wrote:
> > The reason I ask is that I noticed in the debugger that the... - 07:01 AM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> I guess all the changes for @LazyUndoable@ are just an optimization, but the core idea is st... - 06:55 AM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> Now my problem is that @LightweightUndoable@ is nothing like I remember it. I guess all th... - 06:46 AM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> OK, so the record doesn't need to remain in the database, as the flush is rolledback, ... - 06:38 AM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> I don't understand this patch. I mean, I get the logic, but it doesn't look right to me conc... - 06:32 AM Feature #4011: database/persistence layer performance improvements
- I don't understand this patch. I mean, I get the logic, but it doesn't look right to me conceptually. The point of ma...
- 06:14 AM Feature #4011: database/persistence layer performance improvements
- Eric, attached patch fixes this testcases:...
- 05:47 AM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Going back to this: I've tried saving the record in the database, in @ChangeSet.rollba... - 02:33 PM Feature #3814: more schema metadata
- Greg Shah wrote:
> My worry here is that you are creating new things that will be hard to merge with 4011a. We plan... - 02:16 PM Feature #3814: more schema metadata
- My worry here is that you are creating new things that will be hard to merge with 4011a. We plan to do that merge ve...
- 01:29 PM Feature #3814: more schema metadata
- Ovidiu Maxiniuc wrote:
> Greg Shah wrote:
> > Ovidiu: Doesn't @DMOIndex@ go away in 4011a?
> Yes, the @DMOIndex@ c... - 01:07 PM Feature #3814: more schema metadata
- Greg Shah wrote:
> Ovidiu: Doesn't @DMOIndex@ go away in 4011a?
Yes, the @DMOIndex@ class is already gone in 4011a.... - 12:24 PM Feature #3814: more schema metadata
- Greg Shah wrote:
> Ovidiu: Doesn't @DMOIndex@ go away in 4011a?
I already use @DMOIndex@ in the @MetadataManager@... - 12:12 PM Feature #3814: more schema metadata
- Ovidiu: Doesn't @DMOIndex@ go away in 4011a?
- 12:04 PM Feature #3814: more schema metadata
- Ovidiu Maxiniuc wrote:
> Of course, please see the last lines in @ddl/schema_table_<db-name>_<sql-dialect>.sql@. Aft... - 11:23 AM Feature #3814: more schema metadata
- Of course, please see the last lines in @ddl/schema_table_<db-name>_<sql-dialect>.sql@. After a successuful conversio...
- 04:27 AM Feature #3814: more schema metadata
- Do we generate any artifacts for @SEQUENCE@? I cannot find any. The corresponding AST exists. Please advise.
Thank you.
06/08/2020
- 02:12 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Constantin Asofiei wrote:
> > Eric Faulhaber wrote:
> > > Constantin, at this level in... - 02:00 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Eric Faulhaber wrote:
> > I didn't think so. We should be fetching it from the database... - 01:54 PM Feature #4011: database/persistence layer performance improvements
- Constantin,
in FWD runtime the primary key name is read from @persistence/primary-key-name@ and stored globally in @... - 01:36 PM Feature #4011: database/persistence layer performance improvements
- Eric, in #4011-303, you note that in @p2j.cfg.xml@ you used this:...
- 11:13 AM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Eric Faulhaber wrote:
> > Constantin, at this level in the code, we are not dealing wit... - 11:04 AM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> Constantin, at this level in the code, we are not dealing with BDT instances.
You are corr... - 11:00 AM Feature #4011: database/persistence layer performance improvements
- Constantin, at this level in the code, we are not dealing with BDT instances. These are the lower level Java types wh...
- 10:51 AM Feature #4011: database/persistence layer performance improvements
- This fix solves all deadlocks related to locking (even those which exist in trunk), in @BaseRecord.setDatum@:...
- 10:17 AM Feature #4011: database/persistence layer performance improvements
- There is a deadlock when updating a Rate or a Guest by multiple clients, but this is an application logic problem.
... - 08:57 AM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> I didn't think so. We should be fetching it from the database on next access.
The problem ... - 08:46 AM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> The abend in Reservations/Check-in/Delete Guest/Cancel Check-in is related to this test:... - 08:41 AM Feature #4011: database/persistence layer performance improvements
- The abend in Reservations/Check-in/Delete Guest/Cancel Check-in is related to this test:...
- 07:52 AM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> Constantin, please commit your change to always use @NopDirtyShareContext@, with a TODO to r... - 07:04 AM Feature #4011: database/persistence layer performance improvements
- Rev 11455 fixes an NPE and some validation logic.
- 06:56 AM Feature #4011: database/persistence layer performance improvements
- Constantin, please commit your change to always use @NopDirtyShareContext@, with a TODO to re-enable it when the re-i...
- 06:48 AM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> So, the dirty share database should be used only for explicitly-configured tables/data... - 06:04 AM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> After another full @ant deploy.all@, this time with the data from Hotel GUI rev 212, I now g... - 05:57 AM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> And another issue with the dirty database - previously there were @Reversible@ instances... - 05:51 AM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> Please coordinate with Ovidiu on this; he is actively making changes in this area. The dirty... - 05:46 AM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Eric Faulhaber wrote:
> > BTW, also found these in the server log from the same work fl... - 05:20 AM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> BTW, also found these in the server log from the same work flow:
>
> [...]
The root caus... - 05:04 AM Feature #4011: database/persistence layer performance improvements
- OK, I'll check with H2, too.
BTW, I still see the NPE for the 'delete guest' and 'Cancel', in the Reservations, C... - 05:00 AM Feature #4011: database/persistence layer performance improvements
- BTW, also found these in the server log from the same work flow:...
- 04:59 AM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> I am using the default H2 database in my testing. I'll try with PostgreSQL.
Indeed, the... - 04:42 AM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> 11454 does not compile for me:
> [...]
>
> I've bypassed this and I don't get your e... - 04:35 AM Feature #4011: database/persistence layer performance improvements
- 11454 does not compile for me:...
- 04:24 AM Feature #4011: database/persistence layer performance improvements
- After another full @ant deploy.all@, this time with the data from Hotel GUI rev 212, I now get the following error wi...
- 04:00 AM Feature #4011: database/persistence layer performance improvements
- On a completely fresh run of Hotel GUI, first thing after running @ant deploy.all@ and server startup, I get some err...
- 08:50 AM Feature #3814: more schema metadata
- > Regarding the undocumented fields of the _Field table, I think that it can be sufficient to set them to a "typical"...
- 08:30 AM Feature #3814: more schema metadata
- Greg Shah wrote:
> > This means that the _File._ianum is almost useless and has not any meaningful counterpart in FW... - 08:01 AM Feature #3814: more schema metadata
- > This means that the _File._ianum is almost useless and has not any meaningful counterpart in FWD. I understand the ...
- 07:38 AM Feature #3813: misc DB features part deux
- Considering that the WHERE clause work has been moved to #4613, is there any reason to keep this task open?
06/05/2020
- 07:12 PM Feature #4011: database/persistence layer performance improvements
- Unfortunately, I don't have the dirty share fully done yet.
To let my brain cool down I returned and fixed the uniqu... - 05:57 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Eric Faulhaber wrote:
> > Virtual desktop and embedded mode get through this flow fine,... - 05:42 PM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> Constantin Asofiei wrote:
> > The only issue I'm aware in Hotel GUI is the NPE related to C... - 05:41 PM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> Virtual desktop and embedded mode get through this flow fine, so it may be a client problem ... - 05:36 PM Feature #4011: database/persistence layer performance improvements
- Another issue I hit was in Swing only:
* log in
* from "Available Rooms", click "Check-In..."
* delete guest
* ... - 05:32 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> The only issue I'm aware in Hotel GUI is the NPE related to Cancel the Reservation, afte... - 05:15 PM Feature #4011: database/persistence layer performance improvements
- The only issue I'm aware in Hotel GUI is the NPE related to Cancel the Reservation, after deleting the guest.
- 05:13 PM Feature #4011: database/persistence layer performance improvements
- This code in @RecordBuffer.delete@ doesn't set the @token@:...
- 04:56 PM Feature #4011: database/persistence layer performance improvements
- The deadlock described in #4011-385 can be duplicated like this in 11452:
* delete a room
* close and start another... - 02:56 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> My changes to fix the #4011-385, the @deleteAll@ problem because there was no notificati... - 05:35 AM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> Ok, that's what I'm doing. I wonder why I get different behavior. I'll run a full conversion... - 05:17 AM Feature #4011: database/persistence layer performance improvements
- Ok, that's what I'm doing. I wonder why I get different behavior. I'll run a full conversion from scratch and try it ...
- 05:07 AM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> Constantin Asofiei wrote:
> > Eric, the issue in #4011-412 is not solved by your changes.
... - 04:57 AM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Eric, the issue in #4011-412 is not solved by your changes.
Constantin, I don't get a... - 04:38 PM Feature #3814: more schema metadata
- # restored @_database-feature@ support previously implemented by Ovidiu
# added the following @_file@ fields:...
06/04/2020
- 05:20 PM Feature #3814: more schema metadata
- Added conversion support for the @_Field.CAN-*@ fields and population of @CAN_*@ and @*-SA@ fields for @_File@/@_Fiel...
- 04:08 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> In case of abends, I think FWD should release all locks, right?
Yes, it should. The... - 01:03 PM Feature #4011: database/persistence layer performance improvements
- My changes to fix the #4011-385, the @deleteAll@ problem because there was no notification of a newly created record ...
- 12:39 PM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> If you know of any other issues in Hotel GUI which you suspect are related to this root caus... - 08:30 AM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Eric, the issue in #4011-412 is no solved by your changes.
OK, thanks for testing. Th... - 08:22 AM Feature #4011: database/persistence layer performance improvements
- Eric, the issue in #4011-412 is not solved by your changes.
- 07:21 AM Feature #4011: database/persistence layer performance improvements
- I've committed rev 11450, which reworks the UNDO of DMOs to be primarily in memory on the FWD server, with less relia...
06/03/2020
- 06:35 PM Feature #4011: database/persistence layer performance improvements
- More details:
At this moment the unique-indexes are validated on SQL-tier, the result in case of failure being a dia... - 05:26 PM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> Please disable the new query-based validation check for now, but then get back to integratin... - 09:31 AM Feature #4011: database/persistence layer performance improvements
- Ovidiu Maxiniuc wrote:
> unique index validation: primarily a no 1 implementation (see entry 127), but also slight...
06/02/2020
- 05:34 PM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> Even if this particular issue is related to a regression in batch assign mode, I think the o... - 05:34 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Eric Faulhaber wrote:
> > Eric Faulhaber wrote:
> >
> > > We probably need to centra... - 04:36 PM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> Eric Faulhaber wrote:
>
> > We probably need to centralize the validation/flushing/notifi... - 04:24 PM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> We probably need to centralize the validation/flushing/notification into one method to mak...
06/01/2020
- 03:09 PM Feature #3814: more schema metadata
- Added conversion support for the tables/fields string attributes (@*-SA@ properties)
Committed to 4231b rev. 11577. - 12:14 PM Feature #3814: more schema metadata
- Debugging the conversion I've realized that I have to add support for the new table/field properties to the @p2o.xml@...
- 10:04 AM Feature #3814: more schema metadata
- Greg Shah wrote:
> Put debug @printf@ statements in the @dmo_common.rules@ section for @graft "column-label-sa" anno... - 09:55 AM Feature #3814: more schema metadata
- Put debug @printf@ statements in the @dmo_common.rules@ section for @graft "column-label-sa" annotation@. Either you...
- 09:38 AM Feature #3814: more schema metadata
- Greg Shah wrote:
> Yes.
Well, as you can see the new properties were not added. - 09:02 AM Feature #3814: more schema metadata
- Yes.
- 08:45 AM Feature #3814: more schema metadata
- Greg Shah wrote:
> I think you have shown the 4GL AST. The code calling @declareProperty@ is building a Java AST. ... - 08:16 AM Feature #3814: more schema metadata
- I think you have shown the 4GL AST. The code calling @declareProperty@ is building a Java AST. Please show that Jav...
- 07:53 AM Feature #3814: more schema metadata
- Greg Shah wrote:
> Please show the output jast for the example field.... - 07:48 AM Feature #3814: more schema metadata
- Please show the output jast for the example field.
- 07:32 AM Feature #3814: more schema metadata
- Greg Shah wrote:
> Post your @dmo_common.rules@.
>
> Are the annotations correct (as you would expect) in the AST... - 07:25 AM Feature #3814: more schema metadata
- Post your @dmo_common.rules@.
Are the annotations correct (as you would expect) in the AST? - 07:16 AM Feature #3814: more schema metadata
- I see some strange situation:
There are two similar annotations for the field AST in the @.schema@ file:... - 06:23 AM Feature #3814: more schema metadata
- Greg Shah wrote:
> > Please note, that the TYPE for the LABEL property is KW_LABEL, but is VALEXP for VALEXP (not KW... - 06:21 AM Feature #3814: more schema metadata
- Greg Shah wrote:
> Feedback:
>
> 1. The artificial token definitions for @KW_COL_LAB@, @KW_HELP@ and @KW_LABEL@ s... - 02:07 PM Feature #4011: database/persistence layer performance improvements
- Ovidiu Maxiniuc wrote:
> Indeed, the full scan will be required for both of @count(__)@ versions. However, the @limi... - 02:02 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> About the #4011-385 - the issue is that the @ttRoomTypeAgg.deleteAll()@ is seeing the ta... - 12:42 PM Feature #4011: database/persistence layer performance improvements
- Ovidiu Maxiniuc wrote:
> Some thoughts: that article uses a pseudo randomized unindexed data set. They need the coun... - 12:41 PM Feature #4011: database/persistence layer performance improvements
- Some thoughts: that article uses a pseudo randomized unindexed data set. They need the count so the scan is mandatory...
- 12:31 PM Feature #4011: database/persistence layer performance improvements
- Indeed, the full scan will be required for both of @count(__)@ versions. However, the @limit 1@ will not help. The re...
- 12:30 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Anyway, looking at some benchmark articles, like https://www.citusdata.com/blog/2016/1... - 11:50 AM Feature #4011: database/persistence layer performance improvements
- Ovidiu Maxiniuc wrote:
> I suppose you are talking about the unique index validation. These are queries using standa... - 11:42 AM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> A note: we shouldn't use @select count(*)@ - this should be replaced by something like @... - 08:12 AM Feature #4011: database/persistence layer performance improvements
- About the #4011-385 - the issue is that the @ttRoomTypeAgg.deleteAll()@ is seeing the table as 'empty' (the @isTableD...
- 07:41 AM Feature #4011: database/persistence layer performance improvements
- A note: we shouldn't use @select count(*)@ - this should be replaced by something like @select count(recid)@ or whate...
- 07:37 AM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> Please continue to test Hotel GUI and work on fixes for any apparent regressions which do no... - 05:08 AM Feature #4011: database/persistence layer performance improvements
- Constantin, I am working on a solution, but it may take another day or so. The good news is that I think you may have...
05/31/2020
- 06:20 PM Feature #3814: more schema metadata
- > Please note, that the TYPE for the LABEL property is KW_LABEL, but is VALEXP for VALEXP (not KW_VALEXP)
Yes, tha... - 06:13 PM Feature #3814: more schema metadata
- Feedback:
1. The artificial token definitions for @KW_COL_LAB@, @KW_HELP@ and @KW_LABEL@ should not be moved into ... - 09:12 AM Feature #4011: database/persistence layer performance improvements
- Eric, is not just about inserts. See this test:...
- 06:35 AM Feature #4011: database/persistence layer performance improvements
- The key is to maintain enough information to differentiate between a savepoint rollback which legitimately undoes a c...
- 06:16 AM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Eric, please see this test:
> [...]
>
> The flush is executed at the @find first@ st... - 05:19 AM Feature #4011: database/persistence layer performance improvements
- Eric, please see this test:...
- 08:42 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Eric, the main issue with the savepoints, the FWD (sub)-tx and the FWD flush is this: in...
05/30/2020
- 05:10 PM Feature #4011: database/persistence layer performance improvements
- Eric, the main issue with the savepoints, the FWD (sub)-tx and the FWD flush is this: in H2, a flush will associate t...
- 04:27 PM Feature #4011: database/persistence layer performance improvements
- Constantin, we made a significant functional change in 4011a in terms of the timing of flushes to the database.
As... - 03:59 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> For some reason, FWD does the rollback for the savepoint which has the @guest.create()... - 03:49 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Eric, I have the H2 fixes for CREATE/DROP INDEX, DROP TABLE, ALTER TABLE ADD CONSTRAINT ... - 03:17 PM Feature #4011: database/persistence layer performance improvements
- Attached is the changed H2 jar and the patch.
- 03:05 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Do you have the 197 version of this patch? I can't apply it to ver 197.
Hm, I have... - 02:55 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> For some reason, FWD does the rollback for the savepoint which has the @guest.create()@,... - 02:14 PM Feature #4011: database/persistence layer performance improvements
- Eric, I have the H2 fixes for CREATE/DROP INDEX, DROP TABLE, ALTER TABLE ADD CONSTRAINT FOREIGN cases. I'll upload t...
- 12:46 PM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> Constantin Asofiei wrote:
> > Eric, we still require the synchronization patch we have for ... - 10:16 AM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Eric, we still require the synchronization patch we have for ver 192 (from here: https:/... - 10:04 AM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Also, the current version is 1.4.200 - should we build the changes on top of that? And a... - 09:25 AM Feature #4011: database/persistence layer performance improvements
- Also, the current version is 1.4.200 - should we build the changes on top of that? And also switch FWD to 1.4.200?
- 09:22 AM Feature #4011: database/persistence layer performance improvements
- Eric, we still require the synchronization patch we have for ver 192 (from here: https://proj.goldencode.com/download...
- 06:11 AM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Eric Faulhaber wrote:
> > I can see how we could defer the drops until a safe time, aft... - 03:38 AM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> I can see how we could defer the drops until a safe time, after a transaction. The creates a... - 09:59 PM Feature #4011: database/persistence layer performance improvements
- I committed r11447. Changes include:
* unique index validation: primarily a no 1 implementation (see entry 127), but... - 03:27 PM Feature #3814: more schema metadata
- I've implemented the changes from #3814-79. However, the desired annotation arguments are still not emitted. I've als...
- 08:16 AM Feature #3814: more schema metadata
- Greg Shah wrote:
> Some feedback:
>
> 1. Keyword token lengths are limited to KW_ + 8 characters. @KW_VALMSG_SA@... - 08:08 AM Feature #3814: more schema metadata
- Some feedback:
1. Keyword token lengths are limited to KW_ + 8 characters. @KW_VALMSG_SA@ would be too long. Thi... - 06:52 AM Feature #3814: more schema metadata
- Greg Shah wrote:
> Please post your changed versions of both @schema.g@ and @progress.g@.
Please find them attach... - 06:49 AM Feature #3814: more schema metadata
- Please post your changed versions of both @schema.g@ and @progress.g@.
- 06:46 AM Feature #3814: more schema metadata
- I'm trying to add conversion support for string attributes for tables and fields (@*-SA@ properties).
I've added th...
05/29/2020
- 05:28 PM Feature #4011: database/persistence layer performance improvements
- Nice find. I wonder why we weren't hitting this before. I was not doing anything special to do the temp-table DDL out...
- 04:21 PM Feature #4011: database/persistence layer performance improvements
- Ovidiu Maxiniuc wrote:
> * @transactional@ - the H2 manual says that the @CREATE TABLE@ _command commits an open tra... - 03:58 PM Feature #4011: database/persistence layer performance improvements
- The root cause for the @Reservations/Check-in/Delete guest/Cancel reservation@ abend related to invalid savepoint is ...
- 01:22 PM Feature #4011: database/persistence layer performance improvements
- OK, so it probably is an issue with the timing of the record flush.
- 01:16 PM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> Constantin Asofiei wrote:
> > OK, I'll switch to the savepoint problem when using the 'good... - 01:03 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> OK, I'll switch to the savepoint problem when using the 'good data'.
Since you have t... - 01:00 PM Feature #4011: database/persistence layer performance improvements
- Ovidiu Maxiniuc wrote:
> Constantin,
> I am working on getting these messages parsed and the proper 4GL error issue... - 12:58 PM Feature #4011: database/persistence layer performance improvements
- This is one of the open items. See #4011-127.
- 12:58 PM Feature #4011: database/persistence layer performance improvements
- Constantin,
I am working on getting these messages parsed and the proper 4GL error issued. I estimate they will be c... - 12:55 PM Feature #4011: database/persistence layer performance improvements
- OK, that makes sense. My problem is this: in the @validateUniqueCommitted@, we don't know which unique index failed v...
- 12:53 PM Feature #4011: database/persistence layer performance improvements
- This is interesting:...
- 12:48 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Why is @records@ empty? Shouldn't this be loaded with all the unique records from the ... - 12:37 PM Feature #4011: database/persistence layer performance improvements
- Eric/Ovidiu, about the 'bad data' case; there is this class @orm.UniqueTracker@:...
- 12:26 PM Feature #4011: database/persistence layer performance improvements
- Ovidiu Maxiniuc wrote:
> Constantin Asofiei wrote:
> > There is another issue, and please let me know if either of ... - 12:08 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> There is another issue, and please let me know if either of you tracks it. If you go to... - 12:04 PM Feature #4011: database/persistence layer performance improvements
- There is another issue, and please let me know if either of you tracks it. If you go to @Reservations@, and click @C...
- 11:54 AM Feature #4011: database/persistence layer performance improvements
- Ovidiu, I can't duplicate this anymore - yesterday I saw this issue, but it seems to be fixed in 4011a r11446.
- 11:51 AM Feature #4011: database/persistence layer performance improvements
- From Ovidiu:
> I understand that you managed to get the hotel GUI application up and running (including the database... - 08:30 AM Feature #4011: database/persistence layer performance improvements
- Committed rev 11446, which fixes a flushing issue found in testing, adds stricter caching logic to the ORM session to...
05/28/2020
- 07:36 PM Feature #4011: database/persistence layer performance improvements
- Greg Shah wrote:
> The leaking of these malformed records seems less likely to be useful than the one ChUI applicati... - 05:37 PM Feature #4011: database/persistence layer performance improvements
- The leaking of these malformed records seems less likely to be useful than the one ChUI application case where the co...
- 04:50 PM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> Eric Faulhaber wrote:
> > Constantin Asofiei wrote:
> > > Do you have any unofficial/uncom... - 04:43 PM Feature #4011: database/persistence layer performance improvements
- Ovidiu Maxiniuc wrote:
> Note regarding the check for null mandatory fields (@checkNotNull@/@failNotNull@) already c... - 04:33 PM Feature #4011: database/persistence layer performance improvements
- Constantin,
I think the @AsmClassLoader@ is missing from the command line (see the @-Djava.system.class.loader@).
L... - 04:31 PM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> Constantin Asofiei wrote:
> > Do you have any unofficial/uncommitted updates to Hotel GUI, ... - 04:28 PM Feature #4011: database/persistence layer performance improvements
- Constantin Asofiei wrote:
> Do you have any unofficial/uncommitted updates to Hotel GUI, in respect to #4011? I can... - 04:21 PM Feature #4011: database/persistence layer performance improvements
- Do you have any unofficial/uncommitted updates to Hotel GUI, in respect to #4011? I can't import the data in H2, I g...
- 03:58 PM Feature #4011: database/persistence layer performance improvements
- Note regarding the check for null mandatory fields (@checkNotNull@/@failNotNull@) already committed in 4011.
Ther...
05/27/2020
- 03:52 PM Feature #4011: database/persistence layer performance improvements
- The revision 11445 contains the fix for conversion of FQL statements when denormalized extent fields are present.
- 10:55 AM Feature #4011: database/persistence layer performance improvements
- Eric Faulhaber wrote:
> I've committed rev 11443.
> Ovidiu, please review, as these are largely in areas of the cod... - 04:29 AM Feature #4011: database/persistence layer performance improvements
- Something in r11440 caused the following regression in Hotel GUI (virtual desktop). Recreate is to check in a guest f...
Also available in: Atom