+ -
当前位置:首页 → 问答吧 → 垃圾Sybase 活该倒闭

垃圾Sybase 活该倒闭

时间:2009-11-24

来源:互联网

dbcc monitor的用法竟然连标准文档也不提供。你还指望卖给谁?以后升级时候都改到Oracle 上。看你还祸害谁?

作者: Hangxiao   发布时间: 2009-11-24

sybase什么时候倒闭的?

作者: jarjar   发布时间: 2009-11-25

也或者像开发工具Delphi一样,被某个东家收购再整合资源出来吧。。。
新客户选Sybase的可能比较少,但存在的客户是好资源喽

作者: luckyrandom   发布时间: 2009-11-25

好在不是所有的IT人都象你这么浮躁,否则IT真的就是夕阳产业了

作者: 5个周   发布时间: 2009-11-25



QUOTE:原帖由 5个周 于 2009-11-25 20:48 发表
好在不是所有的IT人都象你这么浮躁,否则IT真的就是夕阳产业了

看LZ的注册时间也是个老人了,说话实在是太浮躁。

作者: jarjar   发布时间: 2009-11-25

不需要DBCC Monitor文档, 很多第三方工具如DBArtisan都支持SYBASE DBCC管理,全图形化,报告也很简单易懂.

作者: qzwsf   发布时间: 2009-11-26



QUOTE:原帖由 Hangxiao 于 2009-11-24 19:18 发表
dbcc monitor的用法竟然连标准文档也不提供。你还指望卖给谁?以后升级时候都改到Oracle 上。看你还祸害谁?

可惜你说得不算~

作者: zq5143   发布时间: 2009-11-30

兄弟,不要这么说哦,可以去官方网站http://infocenter.sybase.com/help/index.jsp上找找有没英文的文档。
现在好多公司都开始用Sybase的数据库了,比如中国移动,人家Sybase便宜,而且跨平台,短期不会倒闭的,呵呵

作者: shenfeifei   发布时间: 2009-12-11

作者: nirvanv   发布时间: 2009-12-15



QUOTE:原帖由 shenfeifei 于 2009-12-11 22:55 发表
兄弟,不要这么说哦,可以去官方网站http://infocenter.sybase.com/help/index.jsp上找找有没英文的文档。
现在好多公司都开始用Sybase的数据库了,比如中国移动,人家Sybase便宜,而且跨平台,短期不会倒闭的,呵呵

中国移动因为平台比较大 各个省公司用的产品也不一样的,就是同一个省 不同业务也许用的也不一样

作者: harryhan1983   发布时间: 2009-12-25

你知道dbcc monitor 是做什么的吗?本人翻破了 Sybase的所有官方文档,也没有见到更详细一点的说明。这种虎头蛇尾,不负责的做法,为什么不能骂。当然伤害了各位粉丝的感情十分抱歉。后来还是在国外的网站上看到了对应的信息。当然我也看了sp_sysmon的程序才知道他的用法。其实,我断断续续用了4年多的Sybase产品了。Powerbuilder 当时盛极一时,可惜连续3年没有什么突破,特别是在3-tier, Web开发上一如既往的cgi。 呵呵,我只好跳船了。推荐用户使用Oracle, DB2什么的。

作者: Hangxiao   发布时间: 2010-01-21

In order to make my comments more constructive. I just publish its usage here. So, guy thank you for you concentration.

dbcc monitor ( task, group, option )

Allows a more detailed monitoring of the SQL Server. [Hint: Run dbcctraceon(8399) first, to enable descriptive names for groups.]

      Task
        "clear" clear earlier gathered statistics
        "sample" gather fresh statistics
        "select" enable statistics to be displayed

      group "all" all groups' statistics are gathered/displayed
        group_name name of the group for which statistics are to be gathered/displayed

      option
        "on" enable monitoring
        "off" discontinue monitoring


dbcc traceon( tracenum [, tracenum ] ... )
Turn on specified trace flags.

      tracenum number of the trace flag to turn on

      Trace Flags
      NumberDescription
      200 "Before" image of query tree
      201 "After" image of query tree
      260 To prevent "done_in_proc" messages
      302 Information in index selection
      310 Information in join selection
      317 Complete information in join selection (voluminous)
      320 Turn off join order heuristic
      1204 Print out deadlock chains and victim
      1205 Print out stack traces of deadlocked pids. Use in conjuction with
      1204
      2512 Bypass syslogs when doing checkalloc
      1603 Use only standard unix calls for disk I/O
      1610 Disable packet batching
      3300 Display each log record as it is processed by recovery (voluminous)
      3402 Do a alloc upgrade during loaddb recovery
      3604 Send dbcc output to screen
      3605 Send dbcc output to errorlog
      3607 Do not recover any database, clear tempdb, or startup checkpoint
      3608 Recover master only. Do not clear tempdb, or startup checkpoint
      3609 Recover all databases. Do not clear tempdb, or startup checkpoint
      3620 Do not kill infected processes
      3701 Allows dropping and creating of system indexes (DANGEROUS!)
      4000 Crash server at next loop for recovery testing
      4012 Boot without starting up checkpoint process
      4013 Place a record into errorlog each time someone logs in to the server
      5101 Engine 0 will perform all disk and network I/O.
      5102 Prevents engine 0 from running any non-affinitied tasks
      8399 Enable descriptive names for groups (dbcc monitor)



A sample to use DBCC Monitor

use master
go
dbcc traceon(3604)
dbcc monitor ("clear", "all", "on")
waitfor delay "00:01:00"
dbcc monitor ("sample", "all", "on")
dbcc monitor ("select", "all", "on")
dbcc traceon(8399)
//so the monitor data is populated in the master.sysmonitors tables.
select field_name, group_name, value
  from sysmonitors
dbcc traceoff(8399)
go
dbcc traceoff(3604)
go

作者: Hangxiao   发布时间: 2010-01-21

A Sample To Watch How The Data Value Is Changed


A Sample To Watch How The Data Value Is Changed

/*Scenario 1 common usage in Sybase Agent*/
dbcc monitor("sample","all","on")
dbcc monitor("select","all","on")
dbcc monitor("clear","all","on")
dbcc traceon(8399)

/*wait for interval*/

    select GROUPNAME = group_name,
    FLDNAME    = field_name,
    FLDVALUE   = value
    from master..sysmonitors

/*clear the value for next time*/
dbcc monitor("clear","all","on");

/*****************************************************************************/
/*Scenario 2 for manually watching the metric change */

dbcc monitor("clear", "all", "on")
[wait]
dbcc monitor("sample", "all", "on")
dbcc monitor("select", "all", "on")
dbcc traceon(8399) -- to populate sysmonitors with the monitor counters, may not be needed in most recent versions
select * from sysmonitors
dbcc traceoff(8399)


/*Scenario 2 repeat the following the number in buffer_0 will be changed */

    select GROUPNAME = group_name,
    FLDNAME    = field_name,
    FLDVALUE   = value
    from master..sysmonitors
    where group_name = 'buffer_0'
    order by 1, 3 desc, 2

  
dbcc monitor("sample","all","off")
dbcc monitor("select","all","off")
dbcc monitor("clear","all","off")

/*Scenario 2 the following statement returns nothing, since it has been turned off*/
    select GROUPNAME = group_name,
    FLDNAME    = field_name,
    FLDVALUE   = value
    from master..sysmonitors
    where group_name = 'buffer_0'
    order by 1, 3 desc, 2

    select count(*) from sysmonitors

No data return


dbcc monitor("sample","all","on")
No data return

dbcc monitor("select","all","on")
    The data return  

dbcc monitor("clear","all","on")
The data is return

dbcc monitor("select","all","off")
No data return



Use the following you get an clear result

dbcc monitor("sample","all","on")

dbcc monitor("select","all","on")

dbcc monitor("clear","all","on")


   select GROUPNAME = group_name,
    FLDNAME    = field_name,
    FLDVALUE   = value
    from master..sysmonitors holdlock
    where group_name = 'buffer_0'
    order by 1, 3 desc, 2


Use the following, you get an un-clear result.

dbcc monitor("sample","all","on")

dbcc monitor("select","all","on")

//dbcc monitor("clear","all","on")


   select GROUPNAME = group_name,
    FLDNAME    = field_name,
    FLDVALUE   = value
    from master..sysmonitors holdlock
    where group_name = 'buffer_0'
    order by 1, 3 desc, 2


When there is a dbcc monitor("clear","all","on") statement, the counter number is clear.
and this will affect the number in sysmonitors.

作者: Hangxiao   发布时间: 2010-01-21

HEHE

作者: 〇〇   发布时间: 2010-01-21

你的关于dbcc monitor的问题我实在没太明白,都是关于Sybase倒闭的说法倒是可以用“荒唐”或者“无知”来形容,看看过去10年的SY股票价格吧,附带和ORCL,IBM, MSFT做了个比较:
http://www.google.com/finance?ch ... =NYSE:SY&ntsp=0

作者: donethat_cu   发布时间: 2010-02-16

关于sybase资料不好找这点,我完全同意楼主观点,话说回来,能找到这篇帖子也是因为我在找dbcc monitor的相关资料才找到这里来

作者: hjb719   发布时间: 2010-03-18

楼上的去SYBASE网站找过了么????

作者: 5个周   发布时间: 2010-03-19

哎,不好找是真的。就看电子版的官方文档就行了~

作者: andkylee   发布时间: 2010-03-19

别啊,刚接触sybase,还不太深入,别打击新手信心啊!

作者: zxp209   发布时间: 2010-03-19



QUOTE:原帖由 zxp209 于 2010-3-19 18:34 发表
别啊,刚接触sybase,还不太深入,别打击新手信心啊!

不是打击,是事实。看你自己的抵抗力和毅力了~

作者: andkylee   发布时间: 2010-03-19

同意,sybase的产品都未测试完成就发布了,SYBASE公司应该给我们第每个开发人员一份薪水,我们都盼着SYBASE公司倒闭呢,SYBASE因为中国的市场的特殊性(卖一套SYBASE给的回扣多),还有人民银行某些人的前瞻性,最后才是个人利益与SYBASE公司利益的共同结合,才造就的SYBASE公司的空前繁荣,只要中国市场的特殊性不改变,SYBASE还会一直发展状大。

作者: linxun2004   发布时间: 2010-09-21

路过,关注。

作者: Williamzhao1979   发布时间: 2010-09-21

相关阅读 更多

热门下载

更多