My.Cnf Ayarları Nasıl Olmalıdır ?
-
my.cnf ayarları neye göre nasıl yapılmalıdır ? google cloud' da deneme makinasını baz alsak mesela ?
Machine type
n1-highmem-2 (2 vCPUs, 13 GB memory)CPU platform
Intel Haswell<section class="p6n-space-above-medium" style="-sizing: border-; margin-bottom: 0px; max-width: 440px; margin-top: 20px !imant;">Type
Standard persistent disk<section class="p6n-space-above-medium" style="-sizing: border-; margin-bottom: 0px; max-width: 440px; margin-top: 20px !imant;">Size
10 GBkey_buffer = 256M
max_allowed_packet = 16M
thread_stack = 192K
thread_cache_size = 384
# This replaces the startup script and checks MyISAM tables if needed
# the first time they are touched
myisam-recover = BACKUP
#max_connections = 100
#table_cache = 64
#thread_concurrency = 10
#
# * Query Cache Configuration
#
query_cache_limit = 4M
query_cache_size = 128M
#
# * Logging and Replication
#
# Both location gets rotated by the cronjob.
# Be aware that this log type is a performance killer.
# As of 5.1 you can enable the log at runtime!
#general_log_file = /var/log/mysql/mysql.log
#general_log = 1
#
# Error log - should be very few entries.
#
log_error = /var/log/mysql/error.log
#
# Here you can see queries with especially long duration
#log_slow_queries = /var/log/mysql/mysql-slow.log
#long_query_time = 2
#log-queries-not-using-indexes
#
# The following can be used as easy to replay backup logs or for replication.
# note: if you are setting up a replication slave, see README.Debian about
# other settings you may need to change.
#server-id = 1
#log_bin = /var/log/mysql/mysql-bin.log
expire_logs_days = 10
max_binlog_size = 100M
#binlog_do_db = include_database_name
#binlog_ignore_db = include_database_name
#[mysqldump]
quick
quote-names
max_allowed_packet = 64M
[mysql]
#no-auto-rehash # faster start of mysql but no tab completition
[isamchk]
key_buffer = 384M
ozgunlu tarafından 02/Şub/16 16:50 tarihinde düzenlenmiştir -
Hiç dokunmasan?
Ne yapmak, MySql ile neyi çalıştırmak istiyorsan biraz da ona göre değişir aslında. Yapmak istediğin nedir?
-
JPriest bunu yazdı
Hiç dokunmasan?
Ne yapmak, MySql ile neyi çalıştırmak istiyorsan biraz da ona göre değişir aslında. Yapmak istediğin nedir?
hocam ilk kurduğum halinde bıraktığımda siteyi cehenneme çevirmişti, 40 saatte yükleniyordu falan.
değerlerle oynayınca biraz hızlandı bariz şekilde
optimalini ayarlamaya çalışıyorum
ortalama bir sosyal platform olacak diyim, yani veri giriş çıkışı devamlı olacak.
-
Bu konuda bilgili bir arkdas banada yardimi olsa makbulr gecer
-
u
-
up
-
ücreti mukabilinde yardımcı olurum.
