免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1723 | 回复: 9
打印 上一主题 下一主题

sun480下使用sybase12.5 问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-12-03 12:42 |只看该作者 |倒序浏览
各位大侠帮帮忙呀!!!
我现在在sun480下使用sybase12.5,速度比原来的pc-server下用sybase11.9 - windwos2000还慢,服务器内存是2G的,用sp_configure 'memory' 改成1200M,还是很慢,是不是缓冲内存或max menory的问题,应该如何改???

论坛徽章:
0
2 [报告]
发表于 2003-12-03 15:54 |只看该作者

sun480下使用sybase12.5 问题

慢主要体现在哪一方面,是查询还是提交数据!

论坛徽章:
0
3 [报告]
发表于 2003-12-03 18:45 |只看该作者

sun480下使用sybase12.5 问题

主要是查询,谢谢!
配置如下:
Parameter Name                 Default     Memory Used Config Value Run Value   Unit                 Type      
--------------                 -------     ----------- ------------ ---------   ----                 ----      
allow remote access                      1           0           1            1 switch               dynamic   
print recovery information               0           0           0            0 switch               dynamic   
recovery interval in minutes             5           0           5            5 minutes              dynamic   
tape retention in days                   0           0           0            0 days                 dynamic   

Parameter Name                 Default     Memory Used Config Value Run Value   Unit                 Type      
--------------                 -------     ----------- ------------ ---------   ----                 ----      
global async prefetch limit             10           0          10           10 percent              dynamic   
global cache partition number            1           0           1            1 number               static     
memory alignment boundary             4096           0        4096         4096 bytes                static     
number of index trips                    0           0           0            0 number               dynamic   
number of oam trips                      0           0           0            0 number               dynamic   
total data cache size                    0      442293           0       442293 kilobytes            NULL      

Parameter Name                 Default     Memory Used Config Value Run Value   Unit                 Type      
--------------                 -------     ----------- ------------ ---------   ----                 ----      
cis bulk insert array size              50           0          50           50 rows                 dynamic   
cis bulk insert batch size               0           0           0            0 rows                 dynamic   
cis connect timeout                      0           0           0            0 seconds              dynamic   
cis cursor rows                         50           0          50           50 number               dynamic   
cis packet size                        512           0         512          512 bytes                dynamic   
cis rpc handling                         0           0           0            0 switch               dynamic   
enable cis                               1           0           1            1 switch               static     
enable file access                       0           0           0            0 switch               dynamic   
enable full-text search                  0           0           0            0 switch               dynamic   
max cis remote connections               0          86           0            0 number               dynamic   

Parameter Name                 Default     Memory Used Config Value Run Value   Unit                 Type      
--------------                 -------     ----------- ------------ ---------   ----                 ----      
dtm detach timeout period                0           0           0            0 minutes              dynamic   
dtm lock timeout period                300           0         300          300 seconds              dynamic   
enable DTM                               0           0           0            0 switch               static     
enable xact coordination                 1           0           1            1 switch               static     
number of dtx participants             500         170         500          500 number               dynamic   
strict dtm enforcement                   0           0           0            0 switch               static     
txn to pss ratio                        16         830          16           16 number               dynamic   
xact coordination interval              60           0          60           60 seconds              dynamic   

Parameter Name                 Default     Memory Used Config Value Run Value   Unit                 Type      
--------------                 -------     ----------- ------------ ---------   ----                 ----      
average cap size                       200           0         200          200 bytes                static     
caps per ccb                            50           0          50           50 number               static     
dump on conditions                       0           0           0            0 switch               dynamic   
maximum dump conditions                 10           0          10           10 number               static     
number of ccbs                           0           0           0            0 number               static     

Parameter Name                 Default     Memory Used Config Value Run Value   Unit                 Type      
--------------                 -------     ----------- ------------ ---------   ----                 ----      
allow sql server async i/o               1           0           1            1 switch               static     
disable disk mirroring                   0           0           0            0 switch               static     
disk i/o structures                    256          64         256          256 number               dynamic   
number of devices                       10         #10          10           10 number               dynamic   
number of large i/o buffers              6         246           6            6 number               dynamic   
page utilization percent                95           0          95           95 percent              dynamic   

Parameter Name                 Default     Memory Used Config Value Run Value   Unit                 Type      
--------------                 -------     ----------- ------------ ---------   ----                 ----      
event log computer name        LocalSystem           0 LocalSystem  LocalSystem name                 dynamic   
event logging                            1           0           1            1 switch               dynamic   
log audit logon failure                  0           0           0            0 switch               dynamic   
log audit logon success                  0           0           0            0 switch               dynamic   

Parameter Name                 Default     Memory Used Config Value Run Value   Unit                 Type      
--------------                 -------     ----------- ------------ ---------   ----                 ----      
esp execution priority                   8           0           8            8 id                   dynamic   
esp execution stacksize              77824           0       77824        77824 bytes                static     
esp unload dll                           0           0           0            0 switch               dynamic   
start mail session                       0           0           0            0 switch               dynamic   
xp_cmdshell context                      1           0           1            1 switch               dynamic   

Parameter Name                 Default     Memory Used Config Value Run Value   Unit                 Type      
--------------                 -------     ----------- ------------ ---------   ----                 ----      
configuration file                       0           0           0  /export/hom name                 dynamic   

Parameter Name                 Default     Memory Used Config Value Run Value   Unit                 Type      
--------------                 -------     ----------- ------------ ---------   ----                 ----      
enable enterprise java beans             0           0           0            0 switch               dynamic   
enable java                              0           0           0            0 switch               static     
number of java sockets                   0           0           0            0 number               dynamic   
size of global fixed heap              300           0         300          300 memory pages(2k)     dynamic   
size of process object heap           3000         152        3000         3000 memory pages(2k)     dynamic   
size of shared class heap             3072           0        3072         3072 memory pages(2k)     dynamic   

Parameter Name                 Default     Memory Used Config Value Run Value   Unit                 Type      
--------------                 -------     ----------- ------------ ---------   ----                 ----      
default character set id                 1           0           1            1 id                   static     
default language id                      0           0           0            0 id                   dynamic   
default sortorder id                    50           0          50           50 id                   static     
disable character set conversi           0           0           0            0 switch               static     
enable unicode conversions               0           0           0            0 switch               dynamic   

Parameter Name                 Default     Memory Used Config Value Run Value   Unit                 Type      
--------------                 -------     ----------- ------------ ---------   ----                 ----      
deadlock checking period               500           0         500          500 milliseconds         dynamic   
deadlock retries                         5           0           5            5 number               dynamic   
lock address spinlock ratio            100           0         100          100 ratio                static     
lock hashtable size                   2048          76        2048         2048 bytes                static     
lock scheme                       allpages           0    allpages     allpages name                 dynamic   
lock spinlock ratio                     85           0          85           85 ratio                static     
lock table spinlock ratio               20           0          20           20 ratio                static     
lock wait period                2147483647           0  2147483647   2147483647 seconds              dynamic   
number of locks                       5000        1250        5000         5000 number               dynamic   
page lock promotion HWM                200           0         200          200 number               dynamic   
page lock promotion LWM                200           0         200          200 number               dynamic   
page lock promotion PCT                100           0         100          100 percent              dynamic   
print deadlock information               0           0           0            0 switch               dynamic   
read committed with lock                 0           0           0            0 switch               dynamic   
row lock promotion HWM                 200           0         200          200 number               dynamic   
row lock promotion LWM                 200           0         200          200 number               dynamic   
row lock promotion PCT                 100           0         100          100 percent              dynamic   

Parameter Name                 Default     Memory Used Config Value Run Value   Unit                 Type      
--------------                 -------     ----------- ------------ ---------   ----                 ----      
additional network memory                0           0           0            0 bytes                dynamic   
allocate max shared memory               0           0           0            0 switch               dynamic   
allow resource limits                    0          #4           0            0 switch               static     
audit queue size                       100           2         100          100 number               dynamic   
average cap size                       200           0         200          200 bytes                static     
caps per ccb                            50           0          50           50 number               static     
deadlock pipe max messages               0           0           0            0 number               dynamic   
default network packet size            512        #134         512          512 bytes                static     
disk i/o structures                    256          64         256          256 number               dynamic   
dynamic allocation on demand             1           0           1            1 switch               dynamic   
enable rep agent threads                 0           0           0            0 switch               dynamic   
errorlog pipe max messages               0           0           0            0 number               dynamic   
event buffers per engine               100         #11         100          100 number               static     
executable codesize + overhead           0      603812           0       603812 bytes                NULL      
heap memory per user                  4096           0        4096         4096 bytes                dynamic   
lock hashtable size                   2048          76        2048         2048 bytes                static     
lock spinlock ratio                     85           0          85           85 ratio                static     
max SQL text monitored                   0           4           0            0 bytes                static     
max memory                           48128    13228800     6614400      6614400 memory pages(2k)     dynamic   
max number network listeners             5        5843           5            5 number               static     
max online engines                       1      683923           1            1 number               static     
memory per worker process             1024           4        1024         1024 bytes                dynamic   
number of alarms                        40           6          40           40 number               dynamic   
number of aux scan descriptors         200        #270         200          200 number               dynamic   
number of ccbs                           0           0           0            0 number               static     
number of devices                       10         #10          10           10 number               dynamic   
number of dtx participants             500         170         500          500 number               dynamic   
number of java sockets                   0           0           0            0 number               dynamic   
number of large i/o buffers              6         246           6            6 number               dynamic   
number of locks                       5000        1250        5000         5000 number               dynamic   
number of mailboxes                     30           6          30           30 number               dynamic   
number of messages                      64           6          64           64 number               dynamic   
number of open databases                12        1664          12           12 number               dynamic   
number of open indexes                 500         672         500          500 number               dynamic   
number of open objects                 500         745         500          500 number               dynamic   
number of remote connections            20          35          20           20 number               static     
number of remote logins                 20          23          20           20 number               static     
number of remote sites                  10        2131          10           10 number               static     
number of user connections              25        5319          25           25 number               dynamic   
number of worker processes               0           0           0            0 number               dynamic   
open index hash spinlock ratio         100           0         100          100 ratio                dynamic   
open index spinlock ratio              100           0         100          100 ratio                dynamic   
partition groups                      1024         940        1024         1024 number               dynamic   
partition spinlock ratio                10           0          10           10 ratio                dynamic   
permission cache entries                15        #168          15           15 number               dynamic   
plan text pipe max messages              0           0           0            0 number               dynamic   
procedure cache size                  3271      476624      220240       220240 memory pages(2k)     dynamic   
process wait events                      0           0           0            0 switch               dynamic   
remote server pre-read packets           3         #33           3            3 number               static     
size of global fixed heap              300           0         300          300 memory pages(2k)     dynamic   
size of process object heap           3000         152        3000         3000 memory pages(2k)     dynamic   
size of shared class heap             3072           0        3072         3072 memory pages(2k)     dynamic   
size of unilib cache                     0         120           0            0 bytes                dynamic   
sql text pipe max messages               0           0           0            0 number               dynamic   
stack guard size                      4096        #260        4096         4096 bytes                static     
stack size                           86016       #5460       86016        86016 bytes                static     
statement pipe max messages              0           0           0            0 number               dynamic   
total data cache size                    0      442293           0       442293 kilobytes            NULL      
total logical memory                 48128      960372      480186       480186 memory pages(2k)     read-only  
total physical memory                    0      945376           0       472688 memory pages(2k)     read-only  
txn to pss ratio                        16         830          16           16 number               dynamic   
user log cache size                   4096           0        4096         4096 bytes                static     
user log cache spinlock ratio           20           0          20           20 ratio                dynamic   
wait event timing                        0           0           0            0 switch               dynamic   

Parameter Name                 Default     Memory Used Config Value Run Value   Unit                 Type      
--------------                 -------     ----------- ------------ ---------   ----                 ----      
number of open databases                12        1664          12           12 number               dynamic   
number of open indexes                 500         672         500          500 number               dynamic   
number of open objects                 500         745         500          500 number               dynamic   
open index hash spinlock ratio         100           0         100          100 ratio                dynamic   
open index spinlock ratio              100           0         100          100 ratio                dynamic   
open object spinlock ratio             100           0         100          100 ratio                dynamic   
partition groups                      1024         940        1024         1024 number               dynamic   
partition spinlock ratio                10           0          10           10 ratio                dynamic   

Parameter Name                 Default     Memory Used Config Value Run Value   Unit                 Type      
--------------                 -------     ----------- ------------ ---------   ----                 ----      
SQL batch capture                        0           0           0            0 switch               dynamic   
deadlock pipe active                     0           0           0            0 switch               dynamic   
deadlock pipe max messages               0           0           0            0 number               dynamic   
enable monitoring                        0           0           0            0 switch               dynamic   
errorlog pipe active                     0           0           0            0 switch               dynamic   
errorlog pipe max messages               0           0           0            0 number               dynamic   
max SQL text monitored                   0           4           0            0 bytes                static     
object lockwait timing                   0           0           0            0 switch               dynamic   
per object statistics active             0           0           0            0 switch               dynamic   
plan text pipe active                    0           0           0            0 switch               dynamic   
plan text pipe max messages              0           0           0            0 number               dynamic   
process wait events                      0           0           0            0 switch               dynamic   
sql text pipe active                     0           0           0            0 switch               dynamic   
sql text pipe max messages               0           0           0            0 number               dynamic   
statement pipe active                    0           0           0            0 switch               dynamic   
statement pipe max messages              0           0           0            0 number               dynamic   
statement statistics active              0           0           0            0 switch               dynamic   
wait event timing                        0           0           0            0 switch               dynamic   

Parameter Name                 Default     Memory Used Config Value Run Value   Unit                 Type      
--------------                 -------     ----------- ------------ ---------   ----                 ----      
additional network memory                0           0           0            0 bytes                dynamic   
allow remote access                      1           0           1            1 switch               dynamic   
allow sendmsg                            0           0           0            0 switch               dynamic   
default network packet size            512        #134         512          512 bytes                static     
max network packet size                512           0         512          512 bytes                static     
max number network listeners             5        5843           5            5 number               static     
number of remote connections            20          35          20           20 number               static     
number of remote logins                 20          23          20           20 number               static     
number of remote sites                  10        2131          10           10 number               static     
remote server pre-read packets           3         #33           3            3 number               static     
syb_sendmsg port number                  0           0           0            0 id                   static     
tcp no delay                             0           0           0            0 switch               static     

Parameter Name                 Default     Memory Used Config Value Run Value   Unit                 Type      
--------------                 -------     ----------- ------------ ---------   ----                 ----      
max async i/os per engine       2147483647           0  2147483647   2147483647 number               static     
max async i/os per server       2147483647           0  2147483647   2147483647 number               static     
o/s file descriptors                     0           0           0        10000 number               read-only  
tcp no delay                             0           0           0            0 switch               static     

Parameter Name                 Default     Memory Used Config Value Run Value   Unit                 Type      
--------------                 -------     ----------- ------------ ---------   ----                 ----      
max parallel degree                      1           0           1            1 number               dynamic   
max scan parallel degree                 1           0           1            1 number               dynamic   
memory per worker process             1024           4        1024         1024 bytes                dynamic   
number of worker processes               0           0           0            0 number               dynamic   

Parameter Name                 Default     Memory Used Config Value Run Value   Unit                 Type      
--------------                 -------     ----------- ------------ ---------   ----                 ----      
additional network memory                0           0           0            0 bytes                dynamic   
allocate max shared memory               0           0           0            0 switch               dynamic   
dynamic allocation on demand             1           0           1            1 switch               dynamic   
heap memory per user                  4096           0        4096         4096 bytes                dynamic   
lock shared memory                       0           0           0            0 switch               static     
max memory                           48128    13228800     6614400      6614400 memory pages(2k)     dynamic   
shared memory starting address           0           0           0            0 not applicable       static     
total logical memory                 48128      960372      480186       480186 memory pages(2k)     read-only  
total physical memory                    0      945376           0       472688 memory pages(2k)     read-only  

Parameter Name                 Default     Memory Used Config Value Run Value   Unit                 Type      
--------------                 -------     ----------- ------------ ---------   ----                 ----      
max online engines                       1      683923           1            1 number               static     
number of engines at startup             1           0           1            1 number               static     

Parameter Name                 Default     Memory Used Config Value Run Value   Unit                 Type      
--------------                 -------     ----------- ------------ ---------   ----                 ----      
enable rep agent threads                 0           0           0            0 switch               dynamic   

Parameter Name                 Default     Memory Used Config Value Run Value   Unit                 Type      
--------------                 -------     ----------- ------------ ---------   ----                 ----      
SQL Perfmon Integration                  1           0           1            1 switch               static     
abstract plan cache                      0           0           0            0 switch               dynamic   
abstract plan dump                       0           0           0            0 switch               dynamic   
abstract plan load                       0           0           0            0 switch               dynamic   
abstract plan replace                    0           0           0            0 switch               dynamic   
allow backward scans                     1           0           1            1 switch               dynamic   
allow nested triggers                    1           0           1            1 switch               static     
allow resource limits                    0          #4           0            0 switch               static     
allow updates to system tables           0           0           0            0 switch               dynamic   
cpu accounting flush interval          200           0         200          200 clock ticks          dynamic   
cpu grace time                         500           0         500          500 clock ticks          dynamic   
deadlock retries                         5           0           5            5 number               dynamic   
default database size                    4           0           4            4 megabytes            dynamic   
default exp_row_size percent             5           0           5            5 percent              dynamic   
default fill factor percent              0           0           0            0 percent              dynamic   
enable DTM                               0           0           0            0 switch               static     
enable HA                                0           0           0            0 switch               static     
enable housekeeper GC                    1           0           1            1 switch               dynamic   
enable sort-merge join and JTC           0           0           0            0 switch               dynamic   
event buffers per engine               100         #11         100          100 number               static     
housekeeper free write percent           1           0           1            1 percent              dynamic   
i/o accounting flush interval         1000           0        1000         1000 number               dynamic   
i/o polling process count               10           0          10           10 number               dynamic   
identity burning set factor           5000           0        5000         5000 number               static     
identity grab size                       1           0           1            1 number               dynamic   
license information                     25           0          25           25 number               dynamic   
number of alarms                        40           6          40           40 number               dynamic   
number of aux scan descriptors         200        #270         200          200 number               dynamic   
number of large i/o buffers              6         246           6            6 number               dynamic   
number of mailboxes                     30           6          30           30 number               dynamic   
number of messages                      64           6          64           64 number               dynamic   
number of open databases                12        1664          12           12 number               dynamic   
number of open objects                 500         745         500          500 number               dynamic   
number of pre-allocated extent           2           0           2            2 number               dynamic   
number of sort buffers                 500           0         500          500 number               dynamic   
page lock promotion HWM                200           0         200          200 number               dynamic   
page lock promotion LWM                200           0         200          200 number               dynamic   
page lock promotion PCT                100           0         100          100 percent              dynamic   
print deadlock information               0           0           0            0 switch               dynamic   
procedure cache size                  3271      476624      220240       220240 memory pages(2k)     dynamic   
row lock promotion HWM                 200           0         200          200 number               dynamic   
row lock promotion LWM                 200           0         200          200 number               dynamic   
row lock promotion PCT                 100           0         100          100 percent              dynamic   
runnable process search count         2000           0        2000         2000 number               dynamic   
size of auto identity column            10           0          10           10 bytes                dynamic   
sql server clock tick length        100000           0      100000       100000 microseconds         static     
text prefetch size                      16           0          16           16 logical pages        dynamic   
time slice                             100           0         100          100 milliseconds         dynamic   
upgrade version                      12500           0       12500        12500 id                   dynamic   

Parameter Name                 Default     Memory Used Config Value Run Value   Unit                 Type      
--------------                 -------     ----------- ------------ ---------   ----                 ----      
allow procedure grouping                 1           0           1            1 switch               dynamic   
audit queue size                       100           2         100          100 number               dynamic   
auditing                                 0           0           0            0 switch               dynamic   
check password for digit                 0           0           0            0 switch               dynamic   
curread change w/ open cursors           1           0           1            1 switch               dynamic   
current audit table                      1           0           1            1 id                   dynamic   
enable row level access                  0           0           0            0 switch               dynamic   
enable ssl                               0           0           0            0 switch               static     
maximum failed logins                    0           0           0            0 number               dynamic   
minimum password length                  6           0           6            6 bytes                dynamic   
msg confidentiality reqd                 0           0           0            0 switch               dynamic   
msg integrity reqd                       0           0           0            0 switch               dynamic   
secure default login                 guest           0       guest        guest not applicable       dynamic   
select on syscomments.text               1           0           1            1 switch               dynamic   
suspend audit when device full           1           0           1            1 switch               dynamic   
systemwide password expiration           0           0           0            0 days                 dynamic   
unified login required                   0           0           0            0 switch               dynamic   
use security services                    0           0           0            0 switch               static     

Parameter Name                 Default     Memory Used Config Value Run Value   Unit                 Type      
--------------                 -------     ----------- ------------ ---------   ----                 ----      
default unicode sortorder           binary           0      binary       binary name                 static     
enable surrogate processing              1           0           1            1 switch               dynamic   
enable unicode conversions               0           0           0            0 switch               dynamic   
enable unicode normalization             1           0           1            1 switch               dynamic   
size of unilib cache                     0         120           0            0 bytes                dynamic   

Parameter Name                 Default     Memory Used Config Value Run Value   Unit                 Type      
--------------                 -------     ----------- ------------ ---------   ----                 ----      
default network packet size            512        #134         512          512 bytes                static     
number of user connections              25        5319          25           25 number               dynamic   
permission cache entries                15        #168          15           15 number               dynamic   
stack guard size                      4096        #260        4096         4096 bytes                static     
stack size                           86016       #5460       86016        86016 bytes                static     
user log cache size                   4096           0        4096         4096 bytes                static     
user log cache spinlock ratio           20           0          20           20 ratio                dynamic

论坛徽章:
0
4 [报告]
发表于 2003-12-04 09:41 |只看该作者

sun480下使用sybase12.5 问题

我是2G的内存,请问应该怎么设max memory,default data cache size,procdure cache size,才合理??

论坛徽章:
0
5 [报告]
发表于 2003-12-05 11:28 |只看该作者

sun480下使用sybase12.5 问题

各位:帮帮忙哦!

论坛徽章:
0
6 [报告]
发表于 2003-12-07 16:41 |只看该作者

sun480下使用sybase12.5 问题

大侠们,问题还没解决!!!

论坛徽章:
0
7 [报告]
发表于 2003-12-07 18:10 |只看该作者

sun480下使用sybase12.5 问题

SYBASE12.5需要手工配data cache size和procdure cache size,如果不配就只有默认的8M,相信你说的慢和这个有关。SUN-4800 2G内存的话max memory配多大主要看改机是不是只运行SYBASE,如果还有其它的应用就要要看应用需要多大的内存了。如果只是运行SYBASE做数据库服务器一般配总内存的60%-80%即1.2G-1.5G左右。data cache 和procdure cache 怎么配就要看实际情况了不好说,建议先各配300M,然后再调试。

论坛徽章:
0
8 [报告]
发表于 2003-12-07 21:13 |只看该作者

sun480下使用sybase12.5 问题

非常感谢,因为涉及到双机,另外一台是280的所以最大内存我配的是4百多M,data cache 和procdure cache都改了,但是速度没有变化,怀疑是不是磁盘阵列的问题哦?

论坛徽章:
0
9 [报告]
发表于 2003-12-07 22:39 |只看该作者

sun480下使用sybase12.5 问题

那你说的慢主要体现在哪一方面,是查询还是提交数据!如果怀疑是阵列就先测试一下阵列的速度。

论坛徽章:
0
10 [报告]
发表于 2003-12-08 14:12 |只看该作者

sun480下使用sybase12.5 问题

现在测出来是update时慢,执行存储过程相当快,几乎不用时间,不知道涉及到update的参数是那些???

磁盘阵列就不太好测哦,我在客户端用ftp上传的速度到阵列和本地盘速度都差不多,都是5、6M的样子


谢谢,有机会哥两喝一杯!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP