in

SDT Community Server

SDT Forums, Blogs, Photos server.
All Tags » DataBase (RSS)

Browse by Tags

  • 30 分钟快快乐乐学 SQL Performance Tuning

    http://www.cnblogs.com/WizardWu/archive/2008/10/27/1320055.html 有些程序员在撰写数据库应用程序时,常专注于 OOP 及各种 framework 的使用,却忽略了基本的 SQL 语句及其「性能 (performance) 优化」问题。版工曾听过台湾某半导体大厂的新进程序员,所组出来的一段 PL/SQL 跑了好几分钟还跑不完;想当然尔,即使他的 AJAX 及 ooxx 框架用得再漂亮,系统性能也会让使用者无法忍受。以下是版工整理出的一些数据库规划、SQL performance tuning 简单心得,让长年钻研 .NET、AJAX、一堆高深...
    Posted to Floating Heart (Weblog) by wicky on 01-04-2009
  • 解决SPC用户在Database中过多Session一例

    由于在Oracle Database 专用服务器中,一个Session会对应一个服务器进程,如果Session过多,占用的资源就会越大,所以我们应该控制极可能少的连接的Session及在数据处理完成后及时将连接关闭. 之前查看SPC在Database中一直占有比较多的Session,多达几十个,状态都为INACTIVE SQL>select * from v$session where username='SPC'; or SQL>select count(*) from v$session where username='SPC'; 如此多的Session让我怀疑是不是有些连接是不是没有关闭...
    Posted to slash (Weblog) by slash on 12-08-2008
  • Mindscape LightSpeed

    一个轻量级的O/R Mapping Framework。 现在版本为2.0。2.1据称将完全支持WCF Remoting。 http://www.mindscape.co.nz/Products/LightSpeed/features.aspx Rich domain model framework Model objects inherit off LightSpeed Entity class, which implements important .NET model object interfaces: IEditableObject , INotifyPropertyChanged ...
    Posted to Floating Heart (Weblog) by wicky on 10-07-2008
  • ORA-06544 when performing network expdp between 11g and 10g

    http://hrivera99.blogspot.com/2008/07/ora-06544-when-performing-network-expdp.html When I was trying to perform a network export datapump between 11g and 10g I found an ORA-06544 error. [oracle@alpha admin]$ impdp SCOTT/TIGER tables=emp_10g,dept_10g network_link=db10g Import: Release 11.1.0.6.0 - Production...
    Posted to Floating Heart (Weblog) by wicky on 09-05-2008
  • Oracle 11g Software Installation on Linux—CentOS-5

    http://www.jameskoopmann.com/docs/Install_Oracle11gCentOS5.htm Introduction This paper takes a look at installing Oracle 11g (11.1) on Linux (CentOS-5).You can read about CentOS at www.centos.org and be assured of its' Enterprise-class quality. This paper will use Oracle's Quick Installation...
    Posted to Floating Heart (Weblog) by wicky on 08-25-2008
  • 使用 PIVOT 和 UNPIVOT

    使用 PIVOT 和 UNPIVOT 可以使用 PIVOT 和 UNPIVOT 关系运算符将表值表达式更改为另一个表。PIVOT 通过将表达式某一列中的唯一值转换为输出中的多个列来旋转表值表达式,并在必要时对最终输出中所需的任何其余列值执行聚合。UNPIVOT 与 PIVOT 执行相反的操作,将表值表达式的列转换为列值。 注意: 对升级到 SQL Server 2005 或更高版本的数据库使用 PIVOT 和 UNPIVOT 时,必须将数据库的兼容级别设置为 90 或更高。有关如何设置数据库兼容级别的信息,请参阅 sp_dbcmptlevel (Transact-SQL) 。 PIVOT 提供的语法比一系列复杂的...
    Posted to Floating Heart (Weblog) by wicky on 08-23-2008
  • Microsoft SQL Server 2008 正式发布

    微软今天宣布正式发布SQL Server 2008服务器软件,这将帮助微软与Oracle 11g,IBM DB2 9.5数据库产品对抗.此前这一产品已经经过数次延期. SQL Server 2008出现在微软数据平台愿景上是因为它使得公司可以运行他们最关键任务的应用程序,同时降低了管理数据基础设施和发送观察和信息给所有用户的成本.目前SQL Server 2008 Express 和 SQL Server Compact版本都已经开始免费下载. http://www.microsoft.com/sqlserver/2008/en/us/product-information.aspx Microsoft...
    Posted to Floating Heart (Weblog) by wicky on 08-07-2008
  • How to Restore SQL Server 2005 Suspect Database

    http://www.codeproject.com/KB/reporting-services/SQL_2005_Suspect_Database.aspx Introduction If your project's Database is in suspect mode, then no transaction will take place until and unless you repair your database. That causes a show stopper for your up and running application. Here, you will...
    Posted to Floating Heart (Weblog) by wicky on 08-01-2008
  • Oracle忘记System和Sys密码怎么办?

    oracle提供两种验证方式,一种是OS验证,另一种密码文件验证方式,如果是第一种方式用以下方法修改密码: sqlplus /nolog; connect / as sysdba alter user sys identified by ; alter user system identified by ; 如果是第二种方法用以下方法修改密码: orapwd file=pwdxxx.ora password=你设定的新密码 entries=10 设定完后,重新启动服务,再次登陆就可以了。
    Posted to Floating Heart (Weblog) by wicky on 06-16-2008
  • SQL Server中自动编号的方法

    第一种:使用identity函数增加临时表的方法 select id = identity ( int , 1 , 1 ), * into #tmp from table select * from #tmp drop table #tmp 在SQL2005中新增了ROW_NUMBER()函数,给我们带来了很多方便,使用方法如下: SELECT id,ROW_NUMBER() OVER ( order by id) as RowNumber FROM Table 有一个方便,as后的别名可以在语句后面作为条件单独使用.
    Posted to Floating Heart (Weblog) by wicky on 06-13-2008
Page 1 of 6 (52 items) 1 2 3 4 5 Next > ... Last »
Copyright SDT, 2006-2009. All rights reserved.