แสดงกระทู้

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - NUI

หน้า: [1]
1
รบกวนช่วยดู my.cnf ให้หน่อยครับ HP DL160 Gen 10 CPU 4210R RAM32 SSD 960 Raid1
OS : Rocky linux 9
็HOSxP V3


[xtrabackup]
datadir=/var/lib/mysql

[client]
port= 3306
socket= /var/lib/mysql/mysql.sock
default-character-set=tis620

[mysqld]
large-pages
table_open_cache=4000
table_definition_cache=4000
port= 3306
datadir=/var/lib/mysql
tmpdir=/tmp
socket= /var/lib/mysql/mysql.sock
skip-external-locking
default_storage_engine=InnoDB
key_buffer_size = 3128M
max_allowed_packet = 512M
sort_buffer_size = 1M
read_buffer_size = 1M
read_rnd_buffer_size = 1M
myisam_sort_buffer_size = 256M
thread_cache_size = 8
query_cache_size = 0
character-set-server=tis620
skip-name-resolve
innodb_file_per_table
skip-character-set-client-handshake
init_connect = 'SET NAMES tis620'
max_heap_table_size = 1564M
innodb_data_home_dir = /var/lib/mysql/
innodb_data_file_path = ibdata1:100M:autoextend
innodb_log_files_in_group=2
innodb_log_group_home_dir = /var/lib/mysql/
innodb_buffer_pool_size = 15640M
innodb_read_io_threads=16
innodb_write_io_threads=16
innodb_stats_on_metadata=0
innodb_thread_concurrency = 64
innodb_log_file_size = 4G
innodb_log_buffer_size = 32M
innodb_flush_log_at_trx_commit = 2
innodb_flush_log_at_timeout=1800
innodb_lock_wait_timeout = 50
innodb_doublewrite=1
innodb_open_files = 30000
slave_compressed_protocol=1
net_write_timeout=600
net_read_timeout=600
connect_timeout=60
wait_timeout=300
sql-mode="NO_ENGINE_SUBSTITUTION"
innodb_flush_method=O_DIRECT
join_buffer_size = 2M
concurrent_insert = 2
max_connections=1000
open_files_limit=100000
binlog_format=ROW
table-open-cache-instances = 32
server-id = 1
log-bin=/var/lib/mysql/mysql-bin.log
#disable-log-bin
log_error = /var/log/mysqld.log
bind-address = 0.0.0.0
slave-skip-errors=all
log_bin_trust_function_creators=1
expire_logs_days = 14
innodb_flush_method=O_DIRECT_NO_FSYNC
innodb_max_dirty_pages_pct=90
innodb_max_dirty_pages_pct_lwm=10
innodb_lru_scan_depth=10K
innodb_page_cleaners=24
#innodb_buffer_pool_instances =24
innodb_use_native_aio=1
innodb_stats_persistent = 1
innodb_adaptive_flushing = 1
innodb_flush_neighbors = 0
innodb_purge_threads=4
innodb_adaptive_hash_index=0
max_prepared_stmt_count=1000000
innodb_max_purge_lag_delay = 300000
innodb_max_purge_lag = 10M
#event_scheduler=0

[mysqldump]
quick
max_allowed_packet = 512M
allow-keywords

[mysql]
no-auto-rehash
default-character-set=tis620

[isamchk]
key_buffer = 128M
sort_buffer_size = 128M
read_buffer = 2M
write_buffer = 2M

[myisamchk]
key_buffer = 128M
sort_buffer_size = 128M
read_buffer = 2M
write_buffer = 2M

[mysqlhotcopy]
interactive-timeout

2
MySQL / รบกวนดู config my.cnf ช่วยผมหน่อยครับ
« เมื่อ: มีนาคม 07, 2022, 10:56:48 AM »
รบกวนดู config my.cnf ช่วยผมหน่อยครับ
server dell r320
ติดตั้ง mysql ผ่าน BMSxTraBackupGUI
Centos 7
Server version: 5.5.62-38.14-log Percona Server (GPL), Release 38.14, Revision 7e0e1cc
Brand : DELL
Model : PowerEdge R320 E5-2407v2
Processor : Intel Xeon E5-2407 2.20GHz, 4-Core, 10MB Cache, 80W
Main Memory : 8*6 = 48 GB
Storage : 1TB 7.2K RPM Near Line, 6Gbps SAS 3.5" Hot Plug
Optical Disk Drive : 8X DVD+/-RW Combo Drive
Network : Lan port 1Gb LOM
Power Supply : Dual Hot Plug Power Supplies 350W
RAID : PERC H310 Integrated RAID Controller, Mini-Type


การ query ต่างๆช้ามากๆครับ


[xtrabackup]
datadir=/var/lib/mysql

[client]
port= 3306
socket= /var/lib/mysql/mysql.sock
default-character-set=tis620

[mysqld]
large-pages
table_open_cache=4000
table_definition_cache=4000
port= 3306
datadir=/var/lib/mysql
tmpdir=/tmp
socket= /var/lib/mysql/mysql.sock
skip-external-locking
default_storage_engine=InnoDB
key_buffer_size = 4809M
max_allowed_packet = 128M
sort_buffer_size = 1M
read_buffer_size = 1M
read_rnd_buffer_size = 1M
myisam_sort_buffer_size = 128M
thread_cache_size = 8
query_cache_size = 64M
query_cache_type = 2
character-set-server=tis620
skip-name-resolve
innodb_file_per_table
skip-character-set-client-handshake
init_connect = 'SET NAMES tis620'
max_heap_table_size = 2404M
innodb_data_home_dir = /var/lib/mysql/
innodb_data_file_path = ibdata1:100M:autoextend
innodb_log_files_in_group=2
innodb_log_group_home_dir = /var/lib/mysql/
innodb_buffer_pool_size = 24044M
innodb_read_io_threads=8
innodb_write_io_threads=8
innodb_io_capacity=500
innodb_stats_on_metadata=0
innodb_thread_concurrency = 0
innodb_log_file_size = 4G
innodb_log_buffer_size = 32M
innodb_flush_log_at_trx_commit = 2
innodb_lock_wait_timeout = 50
innodb_doublewrite=0
innodb_open_files = 30000
slave_compressed_protocol=1
innodb_flush_method=O_DIRECT
join_buffer_size = 2M
concurrent_insert = 2
max_connections=200
open_files_limit=100000

server_id = 1
binlog_format=ROW
log-bin=bin.log
log-bin-index=bin-log.index
max_binlog_size=100M
sync_binlog=1
log_error = /var/log/mysqld.log
bind-address = 0.0.0.0
slave-skip-errors=all
log_bin_trust_function_creators=1

expire_logs_days = 14
innodb_file_format = Barracuda
innodb_file_format_max = Barracuda
lower_case_table_names=1

[mysqldump]
quick
max_allowed_packet = 16M
allow-keywords

[mysql]
no-auto-rehash
default-character-set=tis620

[isamchk]
key_buffer = 128M
sort_buffer_size = 128M
read_buffer = 2M
write_buffer = 2M

[myisamchk]
key_buffer = 128M
sort_buffer_size = 128M
read_buffer = 2M
write_buffer = 2M

[mysqlhotcopy]
interactive-timeout

https://uppic.club/images/2022/03/07/Screenshot_585a7cdb0428613f7.png

3
ค่า GFR จริงกับที่แจ้งเตือน ไม่ตรงกันครับ รบกวนขอคำชี้แนะในการแก้ไขหน่อยครับ


4


จากภาพ บัญชี 2 หญิงตั้งครรภ์ ช่อง Prenatal/Labor
ต้องลงข้อมูลแบบใหนครับ จำเป็นต้องติ๊กทั้ง 2 ช่องใหมครับ แล้วช่วงเวลาในการลงต้องทำแบบใหนครับ

5
รบกวนอาจารย์ทุกๆท่านครับ :
ระหว่าง Upgrade Structure ถ้ามีการบันทึกข้อมูลเข้ามาจะมีผลอะไรกับข้อมูลใหม่ใหมครับ

ระหว่าง Upgrade Structure จำเป็นต้องตัดระบบให้เหลือแค่เครื่องที่สั่ง Upgrade หรือว่า Online ทำได้เลยครับ

6
ขอความช่วยเหลือสเปคคอมที่เหมาะกับ HOSxp ที่เหมาะสมหน่อยครับ
โนวงงบ 20,000 รวมจอครับ

7
รบกวนอาจารย์ทุกท่านหน่อยครับ
เนื่องจากผมพึ่งเข้างานใหม่ ยังไม่ค่อยคุ้นเคยกับแต่ละตาราง จะ query อะไรแต่ละทีก็จะยากหน่อย กลัวอย่างนึงคือกลัวผิดตารางครับ
วันนี้เลยจะขอความฃ่วยเหลือหน่อยครับ
1.ผมต้องการข้อมูลผู้ป่วยที่ ReVisit ใน 72 ชม ด้วยโรคเดิม
2. ตารางหลักคือ icd101 ครับ เพราะจะนับว่าโรคนั้นมีคนกลับมารักษารอบที่ 2 เป็นต้นไปกี่ครั้งแล้วครับ

ผมอยากทราบว่าต้อง query ตารางใหนกับตารางใหนบ้างครับ ตอนนี้จับทางได้ว่า patient+icd101 รบกวนบอกตารางที่จำเป็นให้ผมหน่อยครับ

"ขอบคุณครับ"

8


อันนี้ภาพตัวอย่างนะครับไม่ได้ถ่ายของจริงเอาไว้ซึ่งของจริงที่เจอคือ taskbar / icon หายหมดเลยครับทำอะไรไมไ่ด้นอกจาก Ctrl+Alt+Delete เพื่อรีเครื่องครับ

ไม่ทราบว่ามีอาจารย์ท่านใหนเกิดอาการดังกล่าวบ้างครับ แล้วมีวิธีแก้อย่างไรบ้างครับ

หน้า: [1]