Dimension of Server

download Dimension of Server

of 16

Transcript of Dimension of Server

  • 8/12/2019 Dimension of Server

    1/16

    This Document prepared by

    Kazi Istiaque hmed

    Database Administrator

    CloudWell Limited.

    Cell: +8801919438404

    Page 1of 16

    This document is created with respect to considering the peak hour from 10am

    to 12pm of 8thJuly 2014.

    TRANSACTION/SECONDOperation

    Type

    Occurred

    in 10am

    Occurred

    in 12pm In 2 Hours

    p/sec

    Select 6515440 6543399 27959 3.88

    Insert 2388005 2394369 6364 0.88

    Update 3263762 3272486 8724 1.22

    Delete 243 243 0 Approx 0

    TRANSACTIONAL DATA SIZE CRS_DB

    ON 10AM

    tablename

    table data_length

    in Bytes

    table index_length

    in Bytes

    Free Space

    in Bytes

    archive_history 49152 0 4194304

    crs_activity_log 75220 39936 0

    crs_add_retailer_request 428 2048 0

    crs_aggregator_info 40 2048 0

    crs_android_api_logs 50369812 1774592 0

    crs_api_logs 261422012 32104448 0

    crs_api_logs_upto_21_5_2014 58880220 4795392 57591968

    crs_api_logs_upto_8_4_2014 246565952 19728384 0

    crs_balance_allocation_log 3321356 248832 0

    crs_balance_requests 90552 17408 0

    crs_bulk_recharge_logs 0 1024 0

    crs_care_activity_log 13983404 1655808 0

    crs_care_sms_log 224616 14336 0crs_care_users 3448 2048 0

    crs_cloudwell_member_phone_number 828 2048 0

    crs_collector_retailer_mapping 7616 23552 0

    crs_collector_service_mapping 2132 2048 41

    crs_collectors 1812 2048 28

    crs_collectors_balance_request 1010544 89088 0

    crs_contact_us_msg 23268 4096 0

    crs_corporate_balance_request 76 2048 0

    crs_corporate_filetypes 692 3072 0

    crs_corporate_phone_number 1180 2048 0

    crs_corporate_topup_maker 1404 2048 0

  • 8/12/2019 Dimension of Server

    2/16

    This Document prepared by

    Kazi Istiaque hmed

    Database Administrator

    CloudWell Limited.

    Cell: +8801919438404

    Page 2of 16

    crs_corporate_user 228 2048 0

    crs_cw_commission_summary 18975 5120 0

    crs_cw_comsn 3454759 460800 0

    crs_dealer_branches 0 1024 0

    crs_dealer_commission_summary 65688 12288 0

    crs_dealer_comsn 3454759 460800 0

    crs_dealer_operator_commission 0 1024 0

    crs_dealer_to_collector_balance_allocation_log 164916 14336 0

    crs_device_details 67468 8192 0

    crs_dist_comsn 3454759 460800 0

    crs_distributor_commission_summary 30705 7168 0

    crs_distributor_operator_commission 0 1024 0

    crs_districts 1724 2048 0

    crs_existing_infrastructure 156 2048 0

    crs_file_upload_history 0 1024 0

    crs_internal_notices 128 2048 0

    crs_intl_operator_info 120 2048 0

    crs_intl_operator_opening_closing_balance 0 1024 0

    crs_menu 368 2048 0

    crs_merchant_details 432 2048 0

    crs_mobile_topup_data 1250402692 253206528 0

    crs_mobile_topup_data_archive 1245681352 94462976 0

    crs_mobile_topup_data_test 858592144 134215680 0

    crs_notification_history 612 2048 0

    crs_opening_closing_balance_collector 122852 23552 0

    crs_opening_closing_balance_user 5765004 987136 0

    crs_operator_balance_history 13532 5120 0

    crs_operator_info 1292 2048 0

    crs_operator_info_copy 1284 2048 0crs_operator_logs 0 1024 0

    crs_operator_opening_closing_balance 72152 13312 0

    crs_operator_stock_info 30872 6144 0

    crs_operator_usage 0 1024 0

    crs_otp 3336 2048 0

    crs_partner_reconsile_file_log 72 2048 0

    crs_partner_reconsile_number_log 252 2048 0

    crs_paywell_count 97264 32768 0

    crs_paywell_services 104 2048 0

    crs_paywell_sub_services 1420 2048 0

  • 8/12/2019 Dimension of Server

    3/16

    This Document prepared by

    Kazi Istiaque hmed

    Database Administrator

    CloudWell Limited.

    Cell: +8801919438404

    Page 3of 16

    crs_phone_number 0 1024 0

    crs_pos_menu 692 2048 0

    crs_pos_menu_mapping 190196 116736 0

    crs_post_code 62020 16384 0

    crs_product_category_details 84 2048 0

    crs_product_details 43784 4096 0

    crs_product_order_log 0 1024 0

    crs_product_order_log_archive 0 1024 0

    crs_qubee_users 424 2048 140

    crs_ret_add_ter_request 0 1024 0

    crs_retailer_balance_deduction_log 114724 20480 0

    crs_retailer_commission_summary 3306411 491520 0

    crs_retailer_comsn 3454759 460800 0

    crs_retailer_intl_operator_mapping 296 3072 0

    crs_retailer_ip 392 2048 0

    crs_retailer_merchant_commission 0 1024 0

    crs_retailer_merchant_mapping 31996 14336 0

    crs_retailer_operator_commission 0 1024 0

    crs_retailer_operator_mapping 124032 94208 0

    crs_retailer_panel_slideshow 0 1024 0

    crs_retailer_reply_active 0 1024 0

    crs_retailer_service_mapping 63270 19456 0

    crs_retailer_sub_service_mapping 82603 51200 0

    crs_retailer_update_request 0 1024 0

    crs_retailer_wise_daily_transactions 2350530 492544 0

    crs_sales_summary 3689070 491520 0

    crs_sim_details 42972 9216 0

    crs_sms_history 240 2048 0

    crs_ssl_reconciliation_history 50144 34816 0crs_status_codes 4804 2048 0

    crs_sub_district 18372 8192 0

    crs_sub_services_opening_closing_balance 45884 8192 0

    crs_subservices_balance_history 29308 9216 0

    crs_subservices_balance_history_copy 0 1024 0

    crs_subservices_stock_info 69096 10240 0

    crs_summary_sales 2834835 344064 0

    crs_support_issue_log 252 2048 0

    crs_support_issue_mamagement 1492 2048 0

    crs_support_issue_usermap 102 2048 0

  • 8/12/2019 Dimension of Server

    4/16

    This Document prepared by

    Kazi Istiaque hmed

    Database Administrator

    CloudWell Limited.

    Cell: +8801919438404

    Page 4of 16

    crs_support_issues 180 2048 0

    crs_tbps_bill_data 107232 9216 0

    crs_tbps_bill_data_archive 107232 9216 0

    crs_tbps_errors 402952 30720 1788

    crs_tbps_received_sms 176160 15360 0

    crs_tbps_reg_data 69264 9216 0

    crs_tbps_sms_log 335280 16384 0

    crs_teletalk_sms 721624 54272 0

    crs_territory 40 2048 0

    crs_territory_officer 160 2048 0

    crs_territory_officer_mapping 26 2048 0

    crs_tofficer_remarks 0 1024 0

    crs_topup_reconciliation_history 0 1024 0

    crs_type_of_business 488 2048 0

    crs_upgrade_history 292412 26624 0

    crs_user_credentials 87272 8192 0

    crs_user_credentials_back 8732 2048 0

    crs_user_credentials_copy 5372 2048 0

    crs_user_info 265052 9216 0

    crs_user_it 480 2048 0

    crs_user_login_info 3008 2048 76

    crs_user_login_log 590748 46080 0

    crs_user_opening_closing_balance 4741824 752640 0

    crs_user_operator_commission 216504 37888 0

    crs_user_permission_mapping 0 1024 0

    crs_user_permissions 840 3072 0

    crs_user_service_mapping 1968 2048 0

    crs_utility_biller_info 112 2048 0

    crs_utility_status_codes 2604 2048 0crs_wimax_complain_log 284 2048 0

    crs_wimax_complain_type 108 2048 0

    crs_wimax_order_log 9116 2048 0

    crs_wimax_order_log_archive 9116 2048 0

    paywell_gallery 29204 2048 20

    test 0 1024 0

    test_sms 8000 6144 0

  • 8/12/2019 Dimension of Server

    5/16

    This Document prepared by

    Kazi Istiaque hmed

    Database Administrator

    CloudWell Limited.

    Cell: +8801919438404

    Page 5of 16

    Transactional Data Size CRS_DB

    on 12pm

    tablename

    table

    data_length in

    Bytes

    table index_length

    in Bytes

    Free Space

    in Bytes

    archive_history 49152 0 4194304

    crs_activity_log 75220 39936 0

    crs_add_retailer_request 428 2048 0

    crs_aggregator_info 40 2048 0

    crs_android_api_logs 50803796 1786880 0crs_api_logs 261992420 32183296 0

    crs_api_logs_upto_21_5_2014 58880220 4795392 57591968

    crs_api_logs_upto_8_4_2014 246565952 19728384 0

    crs_balance_allocation_log 3332580 248832 0

    crs_balance_requests 90552 17408 0

    crs_bulk_recharge_logs 0 1024 0

    crs_care_activity_log 13996384 1657856 0

    crs_care_sms_log 224616 14336 0

    crs_care_users 3448 2048 0

    crs_cloudwell_member_phone_number 828 2048 0

    crs_collector_retailer_mapping 7616 23552 0

    crs_collector_service_mapping 2132 2048 41

    crs_collectors 1812 2048 28

    crs_collectors_balance_request 1019084 90112 0

    crs_contact_us_msg 23268 4096 0

    crs_corporate_balance_request 76 2048 0

    crs_corporate_filetypes 692 3072 0

    crs_corporate_phone_number 1180 2048 0

    crs_corporate_topup_maker 1404 2048 0crs_corporate_user 228 2048 0

    crs_cw_commission_summary 18975 5120 0

    crs_cw_comsn 3454759 460800 0

    crs_dealer_branches 0 1024 0

    crs_dealer_commission_summary 65688 12288 0

    crs_dealer_comsn 3454759 460800 0

    crs_dealer_operator_commission 0 1024 0

    crs_dealer_to_collector_balance_allocation_log 166044 14336 0

    crs_device_details 67468 8192 0

    crs_dist_comsn 3454759 460800 0

    crs_distributor_commission_summary 30705 7168 0

  • 8/12/2019 Dimension of Server

    6/16

    This Document prepared by

    Kazi Istiaque hmed

    Database Administrator

    CloudWell Limited.

    Cell: +8801919438404

    Page 6of 16

    crs_distributor_operator_commission 0 1024 0

    crs_districts 1724 2048 0

    crs_existing_infrastructure 156 2048 0

    crs_file_upload_history 0 1024 0

    crs_internal_notices 128 2048 0

    crs_intl_operator_info 120 2048 0

    crs_intl_operator_opening_closing_balance 0 1024 0

    crs_menu 368 2048 0

    crs_merchant_details 432 2048 0

    crs_mobile_topup_data 1251350984 253432832 0

    crs_mobile_topup_data_archive 1246626528 94552064 0

    crs_mobile_topup_data_test 858592144 134215680 0

    crs_notification_history 612 2048 0

    crs_opening_closing_balance_collector 122852 23552 0

    crs_opening_closing_balance_user 5765004 987136 0

    crs_operator_balance_history 13532 5120 0

    crs_operator_info 1292 2048 0

    crs_operator_info_copy 1284 2048 0

    crs_operator_logs 0 1024 0

    crs_operator_opening_closing_balance 72152 13312 0

    crs_operator_stock_info 30872 6144 0

    crs_operator_usage 0 1024 0

    crs_otp 3336 2048 0

    crs_partner_reconsile_file_log 72 2048 0

    crs_partner_reconsile_number_log 252 2048 0

    crs_paywell_count 97300 32768 0

    crs_paywell_services 104 2048 0

    crs_paywell_sub_services 1420 2048 0

    crs_phone_number 0 1024 0crs_pos_menu 692 2048 0

    crs_pos_menu_mapping 190196 116736 0

    crs_post_code 62020 16384 0

    crs_product_category_details 84 2048 0

    crs_product_details 43784 4096 0

    crs_product_order_log 0 1024 0

    crs_product_order_log_archive 0 1024 0

    crs_qubee_users 424 2048 140

    crs_ret_add_ter_request 0 1024 0

    crs_retailer_balance_deduction_log 114724 20480 0

  • 8/12/2019 Dimension of Server

    7/16

    This Document prepared by

    Kazi Istiaque hmed

    Database Administrator

    CloudWell Limited.

    Cell: +8801919438404

    Page 7of 16

    crs_retailer_commission_summary 3306411 491520 0

    crs_retailer_comsn 3454759 460800 0

    crs_retailer_intl_operator_mapping 296 3072 0

    crs_retailer_ip 392 2048 0

    crs_retailer_merchant_commission 0 1024 0

    crs_retailer_merchant_mapping 31996 14336 0

    crs_retailer_operator_commission 0 1024 0

    crs_retailer_operator_mapping 124032 94208 0

    crs_retailer_panel_slideshow 0 1024 0

    crs_retailer_reply_active 0 1024 0

    crs_retailer_service_mapping 63270 19456 0

    crs_retailer_sub_service_mapping 82603 51200 0

    crs_retailer_update_request 0 1024 0

    crs_retailer_wise_daily_transactions 2350530 492544 0

    crs_sales_summary 3689070 491520 0

    crs_sim_details 42972 9216 0

    crs_sms_history 240 2048 0

    crs_ssl_reconciliation_history 50144 34816 0

    crs_status_codes 4804 2048 0

    crs_sub_district 18372 8192 0

    crs_sub_services_opening_closing_balance 45884 8192 0

    crs_subservices_balance_history 29308 9216 0

    crs_subservices_balance_history_copy 0 1024 0

    crs_subservices_stock_info 69096 10240 0

    crs_summary_sales 2834835 344064 0

    crs_support_issue_log 252 2048 0

    crs_support_issue_mamagement 1492 2048 0

    crs_support_issue_usermap 102 2048 0

    crs_support_issues 180 2048 0crs_tbps_bill_data 107608 9216 0

    crs_tbps_bill_data_archive 107608 9216 0

    crs_tbps_errors 402952 30720 1788

    crs_tbps_received_sms 177632 16384 0

    crs_tbps_reg_data 69716 9216 0

    crs_tbps_sms_log 337492 16384 0

    crs_teletalk_sms 725160 54272 0

    crs_territory 40 2048 0

    crs_territory_officer 160 2048 0

    crs_territory_officer_mapping 26 2048 0

  • 8/12/2019 Dimension of Server

    8/16

    This Document prepared by

    Kazi Istiaque hmed

    Database Administrator

    CloudWell Limited.

    Cell: +8801919438404

    Page 8of 16

    crs_tofficer_remarks 0 1024 0

    crs_topup_reconciliation_history 0 1024 0

    crs_type_of_business 488 2048 0

    crs_upgrade_history 292652 26624 0

    crs_user_credentials 87272 8192 0

    crs_user_credentials_back 8732 2048 0

    crs_user_credentials_copy 5372 2048 0

    crs_user_info 265052 9216 0

    crs_user_it 480 2048 0

    crs_user_login_info 3008 2048 76

    crs_user_login_log 591008 46080 0

    crs_user_opening_closing_balance 4741824 752640 0

    crs_user_operator_commission 216504 37888 0

    crs_user_permission_mapping 0 1024 0

    crs_user_permissions 840 3072 0

    crs_user_service_mapping 1968 2048 0

    crs_utility_biller_info 112 2048 0

    crs_utility_status_codes 2604 2048 0

    crs_wimax_complain_log 284 2048 0

    crs_wimax_complain_type 108 2048 0

    crs_wimax_order_log 9116 2048 0

    crs_wimax_order_log_archive 9116 2048 0

    paywell_gallery 29140 2048 0

    test 0 1024 0

    test_sms 8000 6144 0

    TRANSACTIONAL DATA USED IN 2 HOURS

    tablename

    table data_length

    in Bytes

    table index_length

    in Bytes

    Free Space

    in Bytes

    archive_history 0 0 0

    crs_activity_log 0 0 0

    crs_add_retailer_request 0 0 0

    crs_aggregator_info 0 0 0

    crs_android_api_logs 433984 12288 0

    crs_api_logs 570408 78848 0

    crs_api_logs_upto_21_5_2014 0 0 0crs_api_logs_upto_8_4_2014 0 0 0

  • 8/12/2019 Dimension of Server

    9/16

  • 8/12/2019 Dimension of Server

    10/16

  • 8/12/2019 Dimension of Server

    11/16

    This Document prepared by

    Kazi Istiaque hmed

    Database Administrator

    CloudWell Limited.

    Cell: +8801919438404

    Page 11of 16

    crs_retailer_update_request 0 0 0

    crs_retailer_wise_daily_transactions 0 0 0

    crs_sales_summary 0 0 0

    crs_sim_details 0 0 0

    crs_sms_history 0 0 0

    crs_ssl_reconciliation_history 0 0 0

    crs_status_codes 0 0 0

    crs_sub_district 0 0 0

    crs_sub_services_opening_closing_balance 0 0 0

    crs_subservices_balance_history 0 0 0

    crs_subservices_balance_history_copy 0 0 0

    crs_subservices_stock_info 0 0 0

    crs_summary_sales 0 0 0

    crs_support_issue_log 0 0 0

    crs_support_issue_mamagement 0 0 0

    crs_support_issue_usermap 0 0 0

    crs_support_issues 0 0 0

    crs_tbps_bill_data 376 0 0

    crs_tbps_bill_data_archive 376 0 0

    crs_tbps_errors 0 0 0

    crs_tbps_received_sms 1472 1024 0

    crs_tbps_reg_data 452 0 0

    crs_tbps_sms_log 2212 0 0

    crs_teletalk_sms 3536 0 0

    crs_territory 0 0 0

    crs_territory_officer 0 0 0

    crs_territory_officer_mapping 0 0 0

    crs_tofficer_remarks 0 0 0

    crs_topup_reconciliation_history 0 0 0crs_type_of_business 0 0 0

    crs_upgrade_history 240 0 0

    crs_user_credentials 0 0 0

    crs_user_credentials_back 0 0 0

    crs_user_credentials_copy 0 0 0

    crs_user_info 0 0 0

    crs_user_it 0 0 0

    crs_user_login_info 0 0 0

    crs_user_login_log 260 0 0

    crs_user_opening_closing_balance 0 0 0

  • 8/12/2019 Dimension of Server

    12/16

    This Document prepared by

    Kazi Istiaque hmed

    Database Administrator

    CloudWell Limited.

    Cell: +8801919438404

    Page 12of 16

    crs_user_operator_commission 0 0 0

    crs_user_permission_mapping 0 0 0

    crs_user_permissions 0 0 0

    crs_user_service_mapping 0 0 0

    crs_utility_biller_info 0 0 0

    crs_utility_status_codes 0 0 0

    crs_wimax_complain_log 0 0 0

    crs_wimax_complain_type 0 0 0

    crs_wimax_order_log 0 0 0

    crs_wimax_order_log_archive 0 0 0

    paywell_gallery -64 0 -20

    test 0 0 0

    test_sms 0 0 0

    DATABASES SIZE

    DATABASE NAME

    SIZE(MB)

    10 AM

    SIZE(MB)

    12 PM

    Increased in 2

    hoursCRS_DB 4350.181762 4371.968596 21.78683

    CRS_DB0 509.9431953 509.9431953 0

    CRS_DB_TEST 701.0621672 701.0621672 0

    CW_PUSH_SMS 34.16270256 34.16270256 0

    INFORMATION_SCHEMA 0.0078125 0.0078125 0

    MYSQL 0.62887383 0.62887383 0

    CPU USAGE I/OCPU IO 10.00am 12.00am

    %user 5.11 5.13

    %nice 0 0

    %system 0.94 0.94

    %iowait 0.63 0.63

    %steal 0 0

    %idle 93.31 93.29

  • 8/12/2019 Dimension of Server

    13/16

    This Document prepared by

    Kazi Istiaque hmed

    Database Administrator

    CloudWell Limited.

    Cell: +8801919438404

    Page 13of 16

    DISK USAGE I/O

    DISK IO 10.00am 12.00am

    TPS

    sdb 5.5 5.5

    sda 7.42 7.43

    dm-0 52.61 52.54

    dm-1 0 0

    dm-2 52.61 52.54

    dm-3 52.24 52.18dm-4 0.14 0.13

    dm-5 0.23 0.22

    Blk_read/s

    sdb 0 0

    sda 116.8 117.92

    dm-0 116.8 117.92

    dm-1 0.01 0.01

    dm-2 116.79 117.91

    dm-3 116.67 117.79

    dm-4 0.12 0.12

    dm-5 0 0

    Blk_wrtn/s

    sdb 404.04 403.46

    sda 404.04 403.46

    dm-0 404.04 403.46

    dm-1 0 0

    dm-2 404.04 403.46

    dm-3 401.25 400.71

    dm-4 0.97 0.96

    dm-5 1.82 1.79

    Blk_read

    sdb 760 760

    sda 513675120 524054662

    dm-0 513674360 527053902

    dm-1 23748 23786

    dm-2 513649516 527029020

    dm-3 516112650 526491994

    dm-4 528240 528304

    dm-5 7794 7890

  • 8/12/2019 Dimension of Server

    14/16

    This Document prepared by

    Kazi Istiaque hmed

    Database Administrator

    CloudWell Limited.

    Cell: +8801919438404

    Page 14of 16

    Blk_wrtn

    sdb 1776931184 1803293136

    sda 1776931184 1803293136

    dm-0 1776931184 1803293136

    dm-1 120 120

    dm-2 1776931064 1803293016

    dm-3 1764656384 1791018240

    dm-4 4269528 4269624

    dm-5 8005152 8005152

    MEMORY CONSUMPTION IN (MB)

    10AM total used free shared buffers cached

    Mem: 11904 11659 245 0 176 10429

    -/+

    buffers/cache: 1052 10851

    Swap: 6023 164 5859

    Total: 17928 11823 6105

    12PM total used free shared buffers cached

    Mem: 11904 11703 201 0 179 10477

    -/+

    buffers/cache: 1046 10858

    Swap: 6023 164 5859

    Total: 17928 11867 6061

  • 8/12/2019 Dimension of Server

    15/16

    This Document prepared by

    Kazi Istiaque hmed

    Database Administrator

    CloudWell Limited.

    Cell: +8801919438404

    Page 15of 16

    My.cnf CONFIGURATION

    max_connections=500

    query_cache_size=10485760

    query_cache_type=1

    query_cache_limit=1572864

  • 8/12/2019 Dimension of Server

    16/16

    This Document prepared by

    Kazi Istiaque hmed

    Database Administrator

    CloudWell Limited.

    Cell: +8801919438404

    Page 16of 16

    After comparison between all the above its clearly saying that all are working fine for MySQL

    Database. Now our main consideration is forecasting about our server hardware for the existing server

    for next 3 year. According to the data what I got on the above I would like to discuss some factor.

    MySQL table Size

    Operating System File-size Limit

    Win32 w/ FAT/FAT32 2GB/4GB

    Win32 w/ NTFS 2TB (possibly larger)

    Linux 2.2-Intel 32-bit 2GB (LFS: 4GB)

    Linux 2.4+ (using ext3 file system) 4TBSolaris 9/10 16TB

    Mac OS X w/ HFS+ 2TB

    NetWare w/NSS file system 8TB

    http://dev.mysql.com/doc/refman/5.1/en/table-size-limit.html

    The comparison saying that the Disk usage are increasing and the size of the different table are

    increasing too and with respect to data of the disk will also increase for transactional select statement.

    CPU I/O is quite good. But there need the disk I/O for the future user.

    1.

    CPU I/O will be maximum used 60% more from now within 3 years.2. DISK should be 15K Enterprise Level Disk and Hot swap (plug & play) with respect to the

    Storage Server for decreasing Disk I/O.

    3. 10G Fibre Optic Communication channel should be initialize between Transaction and Storage

    Server for reducing the Disk I/O.

    4.

    Memory should be increased.

    5. MySQL Table size of each database should be reduced for better performance.

    Hot Swap Disk will be solve Disk usage and by backing up old data to other would be ensure the

    performance.

    http://dev.mysql.com/doc/refman/5.1/en/table-size-limit.htmlhttp://dev.mysql.com/doc/refman/5.1/en/table-size-limit.htmlhttp://dev.mysql.com/doc/refman/5.1/en/table-size-limit.html