vue angular react 比較したたた
◆googleトレンド
◆比較
https://qiita.com/gumiTECH/items/13eb7da8224bf93c67b5
https://ics.media/entry/190731/ よい
◆vue + springbootで作ってみた
https://backpaper0.github.io/ghosts/spring-boot-doma-vue/#1
https://qiita.com/buto/items/9e1fefb191edc8f31b6f
◆SBでspa
https://www.slideshare.net/ssuser4d53ba/spring-boot-vuejsspa
ーーーーーーーーーーーーーーーーーー
◆springboot config
https://qiita.com/KevinFQ/items/bc5c3b7796bb72fa049c
https://qiita.com/kazuki43zoo/items/0ce92fce6d6f3b7bf8eb
https://reasonable-code.com/spring-boot-configuration/
◆sb公式doc
◆vue
https://jp.vuejs.org/v2/guide/
https://qiita.com/moyegogo1020/items/7cf9daaacc6bac1b3c33
◆html
springboot vue sample32
◆controller
package com.example.demo2;package com.example.demo2;
import java.util.ArrayList;import java.util.List;
import org.springframework.web.bind.annotation.GetMapping;import org.springframework.web.bind.annotation.PathVariable;import org.springframework.web.bind.annotation.RequestMapping;import org.springframework.web.bind.annotation.RestController;
@RestController@RequestMapping("/api/twitter")public class MessageController2 { private List<Friend> friends;
MessageController2(){ friends = new ArrayList<Friend>(); friends.add(new Friend("ado", "tuo ado")); friends.add(new Friend("yoru", "yoruno ado")); } @GetMapping("/aa") public List<Friend> list() { return friends; } @GetMapping("/{id}") public Friend get(@PathVariable String id) { return friends.parallelStream().filter(f -> id.contentEquals(f.getId())).findAny().orElse(null); }
}
◆index.html
<!DOCTYPE html><!DOCTYPE html><html><head> <meta charset="UTF-8"> <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script> <title>spring tweets</title> </head><body>
<div id="app"> <h1>Spring Tweets!</h1> <ul> <li v-for="friend in friends" @click="showFriend(friend)">{{ friend.id }}</li> </ul> <div class="details" v-show="showDetails"> <h2>Friend Details</h2> <p> <a href="'https://yen.red/' + selectedFriend.name" target="_blank"> @{{ selectedFriend.id }} </a> </p> </div></div>
<script> const apiURL = "http://192.168.10.103:8080/api/twitter/aa"; new Vue({ el: '#app', data() { return { friends:[], showDetails: false, selectedFriend: '' } }, methods: { showFriend(friend){ this.selectedFriend = friend; this.showDetails = true; } }, created() { fetch(apiURL) .then(response => { return response.json(); }) .then(friends => { this.friends = friends; }) } });</script>
</body></html>
◆model
package com.example.demo2;package com.example.demo2;
public class Friend {
public String id; public String name; Friend(String id, String name){ this.id = id; this.name = name; } public String getId() { return id; } public void setId(String id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } @Override public String toString() { return "Friend [id=" + id + ", name=" + name + "]"; } }
ーーーーーーーーーーーーーーーーーーーーーーーーー
sonarqube1234
廃止: 非サポートOracle Database 12c Release 2 (12.2)
◆以下廃止された機能
ALTER TYPE REPLACE
configToolAllCommands Script
DBMS_DEBUG Package
DBMS_JOB Package
Intelligent Data Placement (IDC)
CONTINUOUS_MINE Option
Non-CDB Architecture
Oracle Administration Assistant for Windows
Oracle Data Provider for .NET PromotableTransaction Setting
oracle.jdbc.OracleConnection.unwrap()
oracle.jdbc.rowset Package
oracle.sql.DatumWithConnection Classes
Oracle Multimedia Java APIs
Oracle Multimedia Support for DICOM
Multimedia SQL/MM Still Image Standard Support
Unicode Collation Algorithm (UCA) 6.1 Collations
UNIFIED_AUDIT_SGA_QUEUE_SIZE
VERIFY_FUNCTION and VERIFY_FUNCTION_11G
V$MANAGED_STANDBY
Some XML DB Functions
◆以下非サポートとなった機能
Advanced Replication
Direct File System Placement for OCR and Voting Files
JPublisher
preupgrd.sql and utluppkg.sql
Oracle Data Provider for .NET APIs for Transaction Guard
Views in Oracle Database 12c Release 2 (12.2)
SQLJ Support Inside Oracle Database
Some XML DB Features
EndToEndMetrics関連のAPI
defineColumnTypeメソッドの変数
Oracle Database 12c Release 2 (12.2)
Behavior Changes, Deprecated and Desupported Features for Oracle Database 12c Release 2 (12.2)
◆初期化パラメータ 廃止、非サポート
掲載されている各種パラメータが使われていないか要確認
◆推奨メモリスペック変更
より大きなメモリが必要となった
◆DBUA(database upgrade assistant)の変更
DBUA機能を利用している場合要確認
データファイルの移動は不可
アップグレードにおけるdb名の変更不可
ほか
◆Oracle data guard brokerに仕様追加
追加のみ
◆System Global Area (SGA) へのデフォルト読み書き権限変更
インストールオーナーによるより詳細アクセス権限設定が可能となった
◆ network access control in Oracle Database is implemented using Real Application Security access control lists (ACLs).
Network ACLs を使用している場合要確認
◆ you can run the Parallel Upgrade Utility using command-line batch scripts.catupgrd.sql
is no longer distributed.
Parallel Upgrade Utilityを使用している場合
◆You may need to rename or drop AUDIT_ADMIN
and AUDIT_VIEWER
roles before upgrading.
Unified Auditingを利用している場合要確認
◆Oracle update batching settings are disabled in Oracle Database 12c release 2 (12.2). Use JDBC batching instead.
Oracle update batching settingsを利用している場合
◆ Parallel upgrade utilityに-Tオプション追加
Parallel upgrade utilityを利用している場合
◆ default authentication protocol is 12
(Exclusive Mode). This protocol requires case-sensitive passwords for authentication.
the default value for the SQLNET.ORA parameter ALLOWED_LOGON_VERSION_SERVER is changed to 12
.
By default, Oracle no longer supports case-insensitive password-based authentication;
◆Rapid Home Provisioningによるprovisiongが可能
Rapid Home Provisioningを利用している場合
◆Zero Data Loss Recovery Appliance release 12.1 does not support backups from protected database clients using Oracle Database 12c release 2 (12.2).
Zero Data Loss Recovery Appliance を利用している場合
パーティションプルーニング101
ppを機能させる条件
1) パーティションキーをwhere区に含ませる
PP適用確認方法
explainを実行しOperation に :
1) Partition Range All とあればPP無効
2) Partition Range Iterative
2-1) PStart/PStopに数値があれば静的PP適用
2-2) PStart/PStopにKEYとあれば動的PP適用
パーティショニングBP
- 週単位の検索が多いなら週単位のレンジパーティショニングにすると早くなる
- データがメモリに乗りきるレベルのレンジでパーティションを作る。結果ディスクアクセスを減って早くなる
https://www.atmarkit.co.jp/ait/articles/0612/27/news093_4.html
パーティション・プルーニングから最大限のパフォーマンスを得るには、データベースによって変換が必要となるデータ型を指定しないようにしてください。データ型が変換されると、その他の点で静的プルーニングが可能な場合でも、通常は動的プルーニングが行われます。静的プルーニングを利用するSQL文は、動的プルーニングを利用するSQL文よりもパフォーマンスが高くなります。
静的パーティション・プルーニング計画を保証するには、パーティション列のデータ型と一致するようにデータ型を明示的に変換する必要があります。
関数を使用した場合、その戻り値の型変換を行う場合も同様
カスタム関数を使用するとPPは行われない
レンジ・パーティション (Range Partition)
レンジ・パーティションを使用する例として非常に有用と思われるのが日付によるパーティショニングである。 例えば、月毎にパーティション化を行ない、保持期限が終了したらバックアップ媒体などに保管したのち パーティションごとトランケートするなどである。
- パーティション・プルーニング対象条件述語
等価、範囲指定(< , > , BETWEEN a AND b など)、前方一致の LIKE または IN (...) -
https://www.shift-the-oracle.com/table/partition-table.html#p1ffcd8c
partition keyのフィルタリング条件に関数を使用しない(p.161)
https://www.oracle.com/technetwork/database/partitioningguidev43-2703320.pdf
チューニング
https://www.oracle.com/technetwork/jp/ondemand/branch/20120718-indextuning-1703878-ja.pdf
- INリスト条件ほかconditions
データベース パーティショニング
目的
レコード検索、更新、挿入、削除処理を高速化する
データベースに対する並列処理効率が向上する
データベースに対して区画(パーティション)単位で管理作業(DROP、TRANCATEなど)を行うことができる
パーティションの種類
レンジ・パーティション
ハッシュ・パーティション
リスト・パーティション
https://en.wikipedia.org/wiki/Partition_(database)
partition database best practice
https://www.dbdelta.com/table-partitioning-best-practices/
https://docs.microsoft.com/ja-jp/azure/architecture/best-practices/data-partitioning-strategies
https://docs.microsoft.com/ja-jp/azure/architecture/best-practices/data-partitioning
partition database scalability
https://docs.microsoft.com/ja-jp/azure/architecture/best-practices/data-partitioning
get the most out of oracle partition
https://www.oracle.com/technetwork/database/partitioningguidev43-2703320.pdf