• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Landscape of Norikra features
 

Landscape of Norikra features

on

  • 0 views

 

Statistics

Views

Total Views
0
Views on SlideShare
0
Embed Views
0

Actions

Likes
1
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via SlideShare as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Landscape of Norikra features Landscape of Norikra features Presentation Transcript

    • Landscape of Norikra features タゴ=モリス Norikra meetup 2014/07/09 14年7月9日水曜日
    • target/query persistence (1) Norikra does NOT save targets/queries by default. v1.0.4 warn on log Use “--stats=PATH” option to save targets/queries on specified path at shutdown Targets/queries are loaded automatically after restarts if “--stats” specified 14年7月9日水曜日
    • target/query persistence (2) “--dump-stat-interval=N” Autosave targets/queries every specified interval (not only on shutdown) “--stats-secondary=PATH_PATTERN” Backup stats file path: date pattern available ex: “/var/norikra/stats.%Y%m%d.json” 14年7月9日水曜日
    • JVM options (1) GC: “norikra start” specifies JVM options in default -XX:-UseGCOverheadLimit -XX:+UseConcMarkSweepGC -XX:+UseCompressedOops -XX:CMSInitiatingOccupancyFraction=70 -XX:+UseCMSInitiatingOccupancyOnly -XX:NewRatio=1 -XX:SurvivorRatio=2 -XX:MaxTenuringThreshold=15 -XX:TargetSurvivorRatio=80 -XX:SoftRefLRUPolicyMSPerMB=200 Use “--bare-jvm” for JVM w/o any options 14年7月9日水曜日
    • JVM options (2) GC log: Use “--gc-log=PATH” to get GC logs -Xloggc:FILE_PATH -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+HeapDumpOnOutOfMemoryError 14年7月9日水曜日
    • JVM options (3) Any “-X” or “-XX” JVM options are available ex: “norikra start -Xmx2g” This makes “norikra start” extremely slow! :( 14年7月9日水曜日
    • “SELECT * FROM ...” “SELECT * FROM ...” may NOT perform as user expects Because “*” requires schema, but Norikra does not have it 14年7月9日水曜日
    • Query group Query have 3 string elements: name, group, statement “name” is used to fetch its results “group” is used to sweep results of queries which have same group name 14年7月9日水曜日
    • Loopback query group Query group “LOOPBACK(target_name)” 14年7月9日水曜日
    • READ DOCUMENT SITE!!!!!!!!!!! Thanks! 14年7月9日水曜日