database.sarang.net
UserID
Passwd
Database
DBMS
ㆍMySQL
PostgreSQL
Firebird
Oracle
Informix
Sybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
MySQL Q&A 2758 게시물 읽기
No. 2758
DB속도가 너무 느립니다.
작성자
Zeronine
작성일
2000-07-23 18:00
조회수
1,818

안녕하세요?

저는 지금 APM으로 꾸며서 홈페이지를 운영중인데요.

이상한것은, 서버에서 홈페이지를 들어가서 게시판 같은 DB를 쓰는

곳을 들어가면 괸찮은데, 가끔 다른 곳에서 접속해서 이쪽으로 접속하면

어떨땐 빠르고 어떨땐 느리고, 나올생각을 않하니까..

정말 열받네요.

하드가 너무 느려서 그런가요? 근데, localhost에서 접속할경우,

괜찮은데 말이죠.

DB하드는 지금 IBM 10.1G 7200RPM이구엽.. 여기에 데비안 리눅스를

돌리구요..

 

짱나네요.

제가 튜닝을 잘못해서 그런가요?

 

아래 는 제 my.cnf파일입니다.

# Example mysql config file.

 

#

# I hope the following parameters will once get into the upstream

# version... <ch@debian.org>

#

# debian_error_log This logfile contains the start and stop time of the

# daemon and the reason that prevents its startup.

#

[debian]

debian_error_log = /var/log/mysql.err

 

# You can copy this to one of:

# /etc/mysql/my.cnf to set global options,

# mysql-data-dir/my.cnf to set server-specific options (in this

# installation this directory is /var/lib/mysql) or

# ~/.my.cnf to set user-specific options.

#

# One can use all long options that the program supports.

# Run the program with --help to get a list of available options

 

# This will be passed to all mysql clients

[client]

#password = my_password

port = 3306

socket = /var/run/mysqld/mysqld.sock

 

# Here is entries for some specific programs

# The following values assume you have at least 32M ram

 

# The MySQL server

#

[mysqld]

user = mysql

pid-file = /var/run/mysqld/mysqld.pid

socket = /var/run/mysqld/mysqld.sock

port = 3306

log = /var/log/mysql.log

basedir = /usr

datadir = /var/lib/mysql

tmpdir = /tmp

language = /usr/share/mysql/english

skip-locking

set-variable = key_buffer=16M

set-variable = max_allowed_packet=2M

set-variable = thread_stack=128K

 

[mysqldump]

quick

set-variable = max_allowed_packet=2M

 

[mysql]

auto-rehash

 

[isamchk]

set-variable = key_buffer=16M

~

~

그럼 이만^^

[Top]
No.
제목
작성자
작성일
조회
2765# [질문]데이타베이스를 옮기기 다시요..
헌진
2000-07-24
1846
2764# mysql용량할당
lee
2000-07-24
1667
2767┕>Re: # mysql용량할당
정재익
2000-07-24 12:30:32
1768
2763안녕하세요 mysql.server 와 safe_mysql 의 차이점은?
소망
2000-07-24
1704
2766┕>Re: 안녕하세요 mysql.server 와 safe_mysql 의 차이점은?
정재익
2000-07-24 12:29:16
2148
2768 ┕>감사합니다 ^^
소망
2000-07-24 12:32:01
1718
2758DB속도가 너무 느립니다.
Zeronine
2000-07-23
1818
2759┕>Re: DB속도가 너무 느립니다.
정재익
2000-07-23 20:58:17
1972
2756이러한 경우 MySql을 쓰려고 하는데 적당한지?
한디비
2000-07-23
1742
2757┕># DB문제라기보다는 효율적인 구성 및 개발의 문제일듯 합니다
문태준
2000-07-23 17:07:09
2190
2754# &lt;긴급&gt;php-mysql-3.0.12.rpm 는 어디서 구하죠 ?
김병기
2000-07-22
2131
2752acces 의 데이타를 mysql db로 입력할때....
김세훈
2000-07-22
1917
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.024초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다