Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CBRD-23684] Creating victim selection algorithm for result cache #2357

Merged
merged 52 commits into from
Jul 15, 2020
Merged

[CBRD-23684] Creating victim selection algorithm for result cache #2357

merged 52 commits into from
Jul 15, 2020

Conversation

beyondykk9
Copy link
Contributor

http://jira.cubrid.org/browse/CBRD-23684

victims =
first follows LRU links of xasl cache
second follows LRU links of query cache
with accumulating page count
limited by total page withdraw rate (20%? or more)
without in-transaction

kisoo-han and others added 28 commits May 11, 2020 14:30
#2250)

* [CBRD-23638] Remove getpeername () calls, replace it with ip_addr in cci handle

* [CBRD-23638] Fix indentation
…ted left outer join query (#2315)

http://jira.cubrid.org/browse/CBRD-21886

fix to change term class to TC_during_join when predicate is on 'ON' clause and TC_OTHER
…de JDBC (#2294)

* add system parameter; debugging port for java stored procedure

* add copyright holder in disclaimer
http://jira.cubrid.org/browse/CBRD-23648

This change refactored UConnection and split routines into client-side (UClientSideConnection) and server-side (UServerSideConnection) instead of being controlled by a single boolean variable (boolean isServerSideJDBC).

re-organized UConnection's main methods for sending requests to CAS to make it clear to understand
- added UClientSideConnection and UServerSideConnection inherited from UConnection.
- added server-side JDBC Connection, CUBRIDConnectionDefault inherited from CUBRIDConnection.
- renamed several variables and methods that violate the naming convention.
…or unit

http://jira.cubrid.org/browse/CBRD-23243

It handles the way to calculate available disk space in sector unit. The way is the same as #2218 , which is about the same issue.
…or received invalid packet & CAS down with core dump (#2323)

http://jira.cubrid.org/browse/CBRD-21022

fix to enable XASL cache for insert statements containing clobs and blobs and do not reuse XASL at XASL generator step
* [CBRD-20577] Use of alias with function inside ‘Order By’ Clause

* [CBRD-20577] except for show columns statement

* [CBRD-20577] indent

* [CBRD-20577] re-indent
… command is executed successfully even though the settings are normal. (#2341)

http://jira.cubrid.org/browse/CBRD-23677
… function using rownum has a plan, the result is null. (#2343)

http://jira.cubrid.org/browse/CBRD-23650

fix it to remove substituting the instnum variable
add the 'XASL_INSTNUM_FLAG_SCAN_STOP_AT_ANALYTIC' flag.
instnum is not evaluated in the processing stage of the executor when flag is set.
…started with temp_volume_path option (#2345)

* [CBRD-23680] temporary temp volume file is not cleared when server restarted with temp_volume_path option
Uses 'temp_volume_path' when deleting temporary volume files

* correct indentation

Co-authored-by: JoohoK <joohok@cubrid.com>
…annot select a more appropriate index. (#2347)

http://jira.cubrid.org/browse/CBRD-23686

heuristic factor of index scan formula is eliminated.
* [CBRD-23637] Implementation of secure CUBRID jdbc driver

* [CBRD-23637] remove e.printStackTrace()
…izer cannot find the optimal join order. (#2351)

http://jira.cubrid.org/browse/CBRD-23689

 add 'QO_TERM_OR_PRED' flag to the term. in the case of 'QO_TERM_OR_PRED', if there are outer join among all the nodes included, modify term classification to become after-join-term.
… index scan (#2352)

http://jira.cubrid.org/browse/CBRD-22637

When called from qexec_execute_mainblock() ==> scan_next_scan(), btid_int must be modified to be reused. modify to reuse btid_int by adding the reuse_btid_int variable.
@beyondykk9 beyondykk9 self-assigned this Jun 23, 2020
@cubridci
Copy link

Build comment file:

File: src/query/query_manager.c (6 incorrect indentation(s) found)

  2180 	  query_p->query_status = QUERY_ENDED;
  2188 	  if (tran_entry_p->query_entry_list_p == q)
  2189 	    {
  2190 	      tran_entry_p->query_entry_list_p = q->next;
  2191 	    }
  2192 	  qmgr_free_query_entry (thread_p, tran_entry_p, q);

File: src/query/xasl_cache.c (3 incorrect indentation(s) found)

  2191 	         or already recompiled. Not a valid candidate. */
  2237 	  qfile_clear_list_cache (thread_p, candidate.xcache->list_ht_no, false);
  2238 	  qfile_list_cache_delete_candidate (thread_p, candidate.xcache);

Please run 'indent -l120 -lc120' to correct the indentation


shparkcubrid and others added 6 commits June 26, 2020 14:57
…line view.

http://jira.cubrid.org/browse/CBRD-23696

Term classification of 'QO_TC_DUMMY_JOIN' is excluded from pseudo-term of derived table dependency.
…type translation (#2340)

* [CBRD-23679] Adding a configuration parameter and control for strict type translation

* [CBRD-23679] revised: default value to false

* [CBRD-23679] revised: check truncated case

* [CBRD-23679] add modification for BIT type

* [CBRD-23679] indent

* [CBRD-23679] param name change and default value to true
@cubridci
Copy link

cubridci commented Jul 7, 2020

Build comment file:

File: src/query/query_manager.c (1 incorrect indentation(s) found)

  2180 	  if (query_p->xasl_ent != NULL && query_p->list_ent != NULL)

Please run 'indent -l120 -lc120' to correct the indentation


kisoo-han and others added 13 commits July 8, 2020 12:53
…to domain integer" when executing update. (#2361)

1. fix to coerce the value to the type of the assigned column in set clause at semantic check.
1. add type of regu_var to xasl dump output.
…type translation (#2379)

* [CBRD-23679] Adding a configuration parameter and control for strict type translation

* [CBRD-23679] revised: default value to false

* [CBRD-23679] revised: check truncated case

* [CBRD-23679] add modification for BIT type

* [CBRD-23679] indent

* [CBRD-23679] param name change and default value to true

* [CBRD-23679] revised: alter table varchar same precision

* [CBRD-23679] rename system parameter

* [CBRD-23679] indent

* [CBRD-23679] macro define correction

* [CBRD-23679] allow overflow except for string type
@beyondykk9 beyondykk9 merged commit 31281fc into CUBRID:dev_resultcache Jul 15, 2020
@beyondykk9 beyondykk9 deleted the CBRD-23684 branch July 15, 2020 04:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants