123
 123

Tip: 看不到本站引用 Flickr 的图片? 下载 Firefox Access Flickr 插件 | AD: 订阅 DBA notes --

2010-06-05 Sat

08:48 A PostgreSQL DataBase Administrator POST from enova financial CORP. (1093 Bytes) » DBA@SKY-MOBI
最近在看PostgreSQL国际用户协会组织的演讲PPT,发现澳大利亚的一家和金融相关的公司的核心库已经从MYSQL转到PostgreSQL了。 最主要的理由是MYSQL数据完整性问题,扩容问题,容易在表类型和静默truncate上出错。 迁移历经2个月。 目前在运行的postgresql OLTP系统1.3TB数据量,平均640tps,峰值超过4000tps 活跃数据100-200GB 出报告的数据库用的是londiste做的slave库 硬件系统如下: Sept 2007 – 300GB, 4x dual-core, 32GB Oct 2008 – 800GB, 4x 4-core, 96GB Nov 2009 – 1TB, 4x 6-core, 192GB 。 这个消息对于正在使用和将要使用POSTGRESQL的公司来说是一个鼓舞,能够得到金融行业的认可非常的不错。 这家公司的CIO简介(2010全球年度最优秀技术领导者的TOP25之一) http://www.infoworld.com Mark Friedgan  CIO, Enova Financial Over the past 18 months Enova Financial CIO Mark Friedgan has moved much of the company’s technology from proprietary systems to open source ones. For example, he replaced a call center platform [...]
07:28 关于SSD测试的几篇文章(推荐阅读) (2733 Bytes) » dbthink

这两天看到了多篇关于SSD在MySQL中的应用的测试, 感觉非常不错..

下面的内容摘自上面来自slideShare的pdf文件.
基本结论如下

  • SSD is extremely good at random reads
  • SSD is very good at random writes
  • HDD is good enough at sequential reads/writes
  • No strong reason to use SSD for sequential writes

简单翻译

  • SSD 有非常好的随机读能力
  • SSD 有很好的随机写能力
  • HDD 对于顺序读写的场景来讲已经足够好
  • 没有很好的理由来使用SSD到顺序写的场景

其他几篇不错的关于此的文章.
An Overview of Flash Storage for Databases
How Solid state Technologies are Transforming MySQL Server Performance and the Datacenter Architectures

Understanding the Role of IO As a Bottleneck

FlashCache: tpcc workload

FlashCache: tpcc workload with FusionIO card as cache

No related posts.

00:38 AWStats 7.0 发布, Linux下的安装配置使用备忘 (781 Bytes) » 车东[Blog^2]
5月25日,Eldy发布了AWStats的7.0版本,从界面上看主要的变化是很多统计图使用了Google图表API生成; 在Linux的安装请参考AWStats安装笔记, 此次更新后的相关配置修改都放到补充库里了; 包含chedong.com的awstats配置样例:awstats.chedong.conf 通用配置文件样例: coommon.conf 搜索引擎和蜘蛛定义更新:...

2010-06-04 Fri

22:53 Oracle10g using emca config dbconsole (1471 Bytes) » DBA@SKY-MOBI
在grid control没有出来之前,ORACLE数据库的监控和管理可以通过dbconsole来完成。 有了dbconsole,对数据库性能和是否需要升级硬件等等的把控就显得轻松很多,否则的话还需要借助其他的监控工具,如cacti,nagios,hq等等。 在创建数据库的时候如果没有选择安装EM,那么后期如果需要配置dbconsole的话,可以通过emca命令来完成。 下面来看看一个简单的配置过程: 1. 首先要修改一下数据库参数,以满足dbconsole的需求。 alter system set shared_pool_size=80M scope=both; alter system set job_queue_processes=1 scope=both; 2. 找几个没有被占用的端口 3. 创建资料库,配置agent和dbconsole,启动 emca -config dbcontrol db -repos create -silent -HOST digoal.sky-mobi.com.hz -SID digoal -PORT 1521 -ORACLE_HOME /opt/oracle/product/10.2.0/db_1 -DBSNMP_PWD oracle -SYSMAN_PWD oracle -SYS_PWD oracle -DBCONTROL_HTTP_PORT 8003 -AGENT_PORT 8004 -RMI_PORT 8005 -JMS_PORT 8006 说到创建资料库,配置agent和dbconsole,马上又看到了两年前设计的监控系统的影子。http://blog.163.com/digoal@126/blog/static/16387704020105444545420/  所以IT很多东西其实是相通的。 4. 启动dbconsole emctl start dbconsole 5. 停止dbconsole Emctl stop dbconsole 具体的语法可以参考: 【参考】 emca –help /opt/oracle/product/10.2.0/db_1/bin/emca [operation] [mode] [dbType] [flags] [parameters] -h | [...]
21:58 Create Database using Create Database SQL Command (1463 Bytes) » DBA@SKY-MOBI
创建ORACLE数据库有几种比较常用的方法: 1. 图形界面下使用DBCA,可以选择使用模板或者自定义(自定义需要执行创建数据字典和存储过程的过程,而模板的话是使用DBMS包作恢复的安装。所以速度上差别比较大) 2. 命令行的DBCA与responseFile 3. Create Database SQL命令,然后执行创建数据字典和存储过程,所以速度会略微慢点。 据David说考OCM的话考的是CREATE DATABASE SQL建库的过程。一般情况下DBA可能为了图快使用的都是DBCA和模板的方法来建库的。对于create database 命令可能会比较生疏。 今天刚好在上海上OCM实训班,借此机会来学习一下CREATE DATABASE SQL COMMAND。 首先来了解一下create database command命令的结构(摘自 Oracle® Database SQL Reference 10g Release 2 (10.2) ): ORACLE的命令解释一向都是非常的清晰。 大概分几个模块: 配置SYS , SYSTEM用户密码 配置控制文件 配置字符集 配置系统表空间,辅助表空间,默认表空间,临时表空间 配置日志 配置表空间特征 配置时区 好了,进入主题。 1. 配置数据库SYSDBA密码 su – oracle Usage: orapwd file=<fname> password=<password> entries=<users> force=<y/n> where file – name of password file (mand), password – password for SYS (mand), entries – maximum number of distinct DBA and     force [...]
21:09 Install oracle10g using responseFile in silent mode (1080 Bytes) » DBA@SKY-MOBI
今天在上海上OCM试训课程,好久没搞ORACLE的安装了。而且还是虚拟机,实在不想开图形界面,所以赶紧翻阅了一下ORACLE手册关于静默安装的部分。 稍微写点东西如下. 当没有图形界面时,安装 ORACLE 需要使用 responseFile。 安装前的工作准备和图形界面安装 ORACLE10G 是一样的。直到运行runInstaller。 安装前简单的配置过程如下: config /etc/redhat-release Red Hat Enterprise Linux Server release 4.5 (Tikanga) config Hostname digoal.sky-mobi.com.hz config /etc/sysconfig/network NETWORKING=yes NETWORKING_IPV6=no HOSTNAME=digoal.sky-mobi.com.hz GATEWAY=192.168.152.2 config /etc/sysconig/network-scripts/ifcfg-ethx DEVICE=eth0 BOOTPROTO=static BROADCAST=192.168.152.255 HWADDR=00:0C:29:2D:C8:C8 IPADDR=192.168.152.88 NETMASK=255.255.255.0 NETWORK=192.168.152.0 ONBOOT=yes config /etc/hosts 127.0.0.1 localhost.localdomain localhost 192.168.152.88 digoal.sky-mobi.com.hz digoal config /etc/sysctl.conf kernel.sem = 5010 641280 5010 512 fs.file-max [...]
19:46 恩墨科技备份恢复培训课程成功举行中 (3388 Bytes) » Oracle Life

作者:eygle 发布在 eygle.com

这一周是繁忙的一周,恩墨科技的备份恢复课程也成功举行,现在课程正在进行中。李轶楠同学已经完成了他的两天课程,今明两天是崔华的主场,我在现场来学习崔华的经验。

课程的环境和氛围比我想象的还要好,培训是一个现场互动性非常强的工作,我建议大家可以把培训看成是一次座谈,大家可以充分和讲师互动来促进理解,建议讲师用更合适的方法来进行授课。
我们双方的目标是一致的:通过现场互动培训,将有用的知识以易于理解的方式传达给大家

600前两天做了非常完善的讲解与铺垫,以实践可用的操作为主,将日常工作必要的技能传授出来。
而崔华讲解的将是更加深入的内容,从本质上介绍Oracle的恢复机制。
我戏称,要控制崔华,不要讲的太深、太抽象,他现场控制的非常好,而我也从他这里学到好多东西,取长补短,我相信我以后在备份恢复方面一定可以传达出更好的内容。

而Oracle的确是博大精深,我觉得关于Redo方面的内容,完全都可以组织一个非常精彩的,至少2天的课程。

有学员问到,你们如何知道这样的方法,这样的手段?
我说,我们真的是花了5、6年才能理解到这个层面,而通过培训,现在大家可以快速的获得这些知识,这就是进步。而我非常高兴我们能够通过培训、甚至是ACOUG的公开免费活动将知识和经验传播出去。

感谢朋友们的支持!


相关文章|Related Articles

评论数量(1)|Add Comments

本文网址:

13:54 Log Buffer #191, A Carnival of the Vanities for DBAs (4862 Bytes) » The Pythian Blog

Welcome to Log Buffer, the weekly roundup of database blogs.

Kicking off this week in Log Buffer #191 are posts from Alisher Yuldashev:

Randolf Geist blogs on an Advanced Oracle Troubleshooting Session – PGA/UGA memory fragmentation for when a batch process takes significantly longer than expected.

James Morle talks about an example of a misleading average in Log File Sync and AWR – Not Good Bedfellows.

And a few faves from Bradd Piontek:

Marco Gralike, on Blog.Gralike.Com, revisits Enabling and Disabling Database Options, a small item that is easily overlooked. Marco also notes a cool tool: VirtualBox Appliance which makes a great start-up test environment. Word of caution however, it’s for testing purposes only.

On Askdba.org, Amit advises on downloading Oracle software directly to server in a post based on Pythian’s downloading from OTN directly to your database server. Watch for future posts from Brad on how he does it via Firefox, and edelivery.oracle.com.

Alex Gorbachev is spreading the word about The Ultimate SQL Tune-off with Jonathan Lewis and Kyle Hailey, two of his most respected Oracle performance experts, believing the session should be interesting to all DBAs, not just Oracle.

Robert Catteral continues to recap session highlights from the International DB2 Users Group Conference last month in Nuggets from DB2 by the Bay, Part 3, following Parts 1 & 2.

Chen Shapira contributed Cloning Oracle Home from RAC to Stand-Alone.

On In Recovery, Paul Randal wrote the whitepaper Proven SQL Server Architectures for High Availability and Disaster Recovery he wrote for the Spring SQL Server release has been published.

Moving to MySQL world, Vadim Tkachenko continues storage benchmarking of MySQL FlashCache (very much like Oracle FlashCache but for MySQL InnoDB engine). This time he is using FusionIO cards for FlashCache.

And, to round things off, Ronald Bradford writes about When SET GLOBAL affects SESSION scope.

Have a great weekend everyone.

12:48 Quiz Night (1 Bytes) » Oracle Scratchpad
08:32 Ultimate SQL Tune-off with Jonathan Lewis and Kyle Hailey (2067 Bytes) » The Pythian Blog

This is just a short blog post to spread the word about the upcoming webinar organized by Embarcadero with fellow member of OakTable Network — Jonathan Lewis and Kyle HaileyUltimate SQL Tune-off.

Ultimate SQL Tune-off

Kyle and Jonathan are on my list of the most respected Oracle performance experts and I could only imagine what they can deliver joining the forces. I’ll allow myself to quote the opening of the webinar as it sounds really interesting:

According to Jonathan Lewis, there is a basic strategy to writing efficient SQL, but it requires knowledge of the data, the metadata, and the intent of the query.

Jonathan will start with the basic principles of efficient data access and then show different ways of analyzing the data. He’ll then describe a graphical approach to finding the most efficient access path for a query and then apply the method to a problem he recently saw with one of his clients.

But wait… is there more than one way to skin a cat? Kyle Hailey thinks so, and he’s not afraid to let Jonathan know it!

Kyle’s fancy footwork will include his own approach to Visual SQL Tuning (VST) with some ring side support from DB Optimizer XE. Hitting below the belt? You be the judge.

The webinar is on June 10, 2010 at 11AM Pacific / 2PM Eastern.

04:00 巴别塔 » 知道分子
03:55 LiLei And HanMeimei » Chanel [K]

2010-06-03 Thu

12:34 Beginner/Expert » Oracle Scratchpad