123
 123

2007-11-01 Thu

19:00 AIX 5L 磁盘性能优化: 第 3 部分 (178 Bytes) » developerWorks : AIX 专区的文章,教程
本系列文章的第 3 部分将介绍如何提高整体文件系统性能,如何使用 ioo 命令优化您的系统,以及如何使用 filemon 和 fileplace 实用工具。
17:31 Oracle11新特性――分区功能增强(四) (654 Bytes) » yangtingkun
打算写一系列的文章介绍11g的新特性和变化。Oracle11g在分区方面做了很大的提高,不但新增了4种复合分区类型,还增加了虚拟列分区、系统分区、INTERVAL分区等功能。这一篇介绍Oracle11g的虚拟列分区功能。Oracle11新特性――分区功能增强(一):http://yangtingkun.itpub.net/post/468/403962Oracle11新特性――分区功能增强(二):http://yangtingkun.itpub.net/post/468/404223Oracle11新特性――分区功能增强(三):http://yangtingkun.itpub.net/post/468/404694Oracle11g新增了虚拟列功能,虚拟列的值从其他的列推导而来,Oracle只...
14:43 Book review: Fedora 7 Unleashed (8183 Bytes) » Red Hat Magazine
Fedora7Unleashed

Have you ever had deja vu? I re-read books on occasion, because I like them, and every once in a while I’ll re-read a book that I think I’m reading for the first time. Then I’ll sit there with this twisted-up look on my face, wondering why all the words seem so familiar. Then I remember when and where I saw them last.

I’ve been reading the new Fedora™ 7 Unleashed book by Andrew and Paul Hudson, and I’ve had that feeling several times. So I’ve made my face and wracked my brain, trying to figure out how I’ve read this before. The answer? I read Fedora Core 6 Unleashed and Fedora Core 5 Unleashed before that.

Its unfortunate. I think these ‘distro tomes,’ so to speak, provide a valuable service to the Linux uninitiated, and can be useful to more seasoned sysadmins interested in the latest technology a new release of a given distribution has to offer. The unfortunate part is that both of these groups have to suffer through repetitive rehashing of methods, processes, and utilities that have been throughly documented in a multitude of locations and media.

To be fair, this book does some things quite well, but as I’ve looked at more and more works in its genre, I’ve come to realize that the good ones are characterized by a bias toward documenting whatever new technology is available, while the less useful ones focus more on maximizing the width of their spine with well-worn stock material. I’m sorry to say that this book leans more toward the latter.

But lets not dwell on the negative (or at least let’s not start there). Theres good in everyone, and there is good in this book. Some of you may remember that I wrote a review of Tammy Fox’s book, Red Hat® Enterprise Linux® 5 Administration Unleashed. This book, like that one, does many of the same things rather well. Specifically, it handles new technologies with aplomb.

Xen, while not new technology per se, is sufficiently in its infancy. The online documentation is still somewhat fragmented, and a concise summary of how xen virtualization operates is a perfect example of what this book excels at. SELinux also gets very fair treatment in this book, as does the Mono programming language. While not strictly bleeding edge, these topics are still sufficiently new that consolidated documentation is a benefit that books like this provide very well.

Most of the sections in this book have their usefulness. Everyone needs to know how the useradd or cp commands work. But I just can’t get past (and yes, I’m back to dwelling on the negative) how re-hashed so many of these chapters are. As part of my review of this book, I went and took a quick look at the table of contents for Fedora Core 6 Unleashed. Written by the same authors, its an amazing example of documentation re-use. Several of the chapters look sufficiently similar as to be identical.

I don’t want to insinuate that the information in these sections isn’t useful, it really is. It contains information everyone needs to know. You can’t administer a system without being able to change passwords, set up remote access, preform backups, so on and so forth. But good gosh! Lets just take one example: Chapter 17, Apache Web Server Administration. Its almost 40 pages of documentation about how to manage, configure, and tune the Apache web server to provide web pages to interested parties. Hmm, I wonder what would happen if I typed ‘Apache howto’ into Google. Dum de dum….hey, 2.550,000 hits! I wonder if Apache has a web site…..hey what do you know? They look like they might have some comprehensive documentation. And Amazon indicates there are 1,285 books on sale at their site exclusively on the subject of the Apache web server.

The same is true of the sections on FTP, database, SSH and network file access. Note to the authors: We’re covered. Your material is useful and factually accurate, but I just can’t get past the fact that it’s not really necessary. You could have written a book that was half as big, was consequently less expensive, and yet still provided all the same useful content.

I have a feeling it’s not the authors fault. You can pick up any number of comprehensive high-level OS documentation books, and see this. There is some material that is just covered again….and again….and again. My inner conspiracy theorist is convinced it’s more than coincidence. I firmly believe that (a) extraterrestrials are out there, and (b) publishers of these books will encourage their authors to add content in an effort to claim more shelf space. I think a better technical bookshelf could be constructed with a series of more targeted topics, but such an approach lowers the revenue generated by this type of books.

So that only leaves the final question: Should you buy this book or not? I’ve been pretty hard on it–in my view, with good reason. Despite that, I still think there is a demographic for whom this book would be fairly useful.

If you have any significant experience with a Linux distribution of any origin, I would expect that you have the skill (both technical and research-oriented) to find the information contained in this book on the web (or elsewhere). Likewise, if you’re a sysadmin, and you have experience (in a Linux or non-Linux environment) I would expect that your technical bookshelf has much greater depth, and much more targeted breadth, specific to your needs. So, clearly, this one’s not for those with experience.

However, if you are new to Linux and are interested in getting your feet wet, you probably don’t want to invest a fortune on reference material, or spend too many hours poking about on mailing lists or web sites putting together a reasonable set of information to get started. If this is you, then yes, this book is a good choice. It offers a comprehensive outline of what you need to know to work with Fedora 7, both as an end user and as an admin. And thats quite likely why these books tend to be a perennial favorite.

The Linux community has a consistent influx of new users and curious onlookers who have the desire to know more. A consumer-oriented, one-stop shop might get them there faster than the community would, with its plethora of websites and arcane knowledge passed down though stories on cryptic mailing lists. So to keep current, these books keep coming. And if you’re new, it could be your first step into a bigger world.

12:57 AWR oddity (1 Bytes) » Oracle Scratchpad
12:05 Nginx Powers Hulu.com ? (2447 Bytes) » MySQL Performance Blog

Look at this post recently published on TechCrunch - It is ugly standard 404 error message, but what is interesting is the server line which shows nginx 0.5.32

I have checked and indeed images served from assets.hulu.com have nginx server in response header.

This would be the first site of this (planned) scale to run Nginx. So far even though Nginx was used by many major companies in Russia, the rest of the world preferred lighttpd often due to better documentation and more active development community.


Entry posted by peter | 2 comments

Add to: delicious | digg | reddit | netscape | Google Bookmarks

09:17 Innodb Performance Optimization Basics (7370 Bytes) » MySQL Performance Blog

Interviewing people for our Job Openings I like to ask them a basic question - if you have a server with 16GB of RAM which will be dedicated for MySQL with large Innodb database using typical Web workload what settings you would adjust and interestingly enough most people fail to come up with anything reasonable. So I decided to publish the answer I would like to hear extending it with basics of Hardware OS And Application optimization.
I call this Innodb Performance Optimization Basics so these are general guidelines which work well for wide range of applications, though the optimal settings of course depend on the workload.

Hardware
If you have large Innodb database size Memory is paramount. 16G-32G is the cost efficient value these days. From CPU standpoint 2*Dual Core CPUs seems to do very well, while with even just two Quad Core CPUs scalability issues can be observed on many workloads. Though this depends on the application a lot. The third is IO Subsystem - directly attached storage with plenty of spindles and RAID with battery backed up cache is a good bet. Typically you can get 6-8 hard drives in the standard case and often it is enough, while sometimes you may need more. Also note new 2.5″ SAS hard drives. They are tiny but often faster than bigger ones. RAID10 works well for data storage and for read-mostly cases when you still would like some redundancy RAID5 can work pretty well as well but beware of random writes to RAID5.

Operating System
First - run 64bit operating system. We still see people running 32bit Linux or 64bit capable boxes with plenty of memory. Do not do this. If using Linux setup LVM for database directory to get more efficient backup. EXT3 file system works OK in most cases, though if you’re running in particular roadblocks with it try XFS. You can use noatime and nodiratime options if you’re using innodb_file_per_table and a lot of tables though benefit of these is minor. Also make sure you wrestle OS so it would not swap out MySQL out of memory.

MySQL Innodb Settings
The most important ones are:
innodb_buffer_pool_size 70-80% of memory is a safe bet. I set it to 12G on 16GB box.
innodb_log_file_size - This depends on your recovery speed needs but 256M seems to be a good balance between reasonable recovery time and good performance
innodb_log_buffer_size=4M 4M is good for most cases unless you’re piping large blobs to Innodb in this case increase it a bit.
innodb_flush_logs_at_trx_commit=2 If you’re not concern about ACID and can loose transactions for last second or two in case of full OS crash than set this value. It can dramatic effect especially on a lot of short write transactions.
innodb_thread_concurrency=8 Even with current Innodb Scalability Fixes having limited concurrency helps. The actual number may be higher or lower depending on your application and default which is 8 is decent start
innodb_flush_method=O_DIRECT Avoid double buffering and reduce swap pressure, in most cases this setting improves performance. Though be careful if you do not have battery backed up RAID cache as when write IO may suffer.
innodb_file_per_table - If you do not have too many tables use this option, so you will not have uncontrolled innodb main tablespace growth which you can’t reclaim. This option was added in MySQL 4.1 and now stable enough to use.

Also check if your application can run in READ-COMMITED isolation mode - if it does - set it to be default as transaction-isolation=READ-COMITTED. This option has some performance benefits, especially in locking in 5.0 and even more to come with MySQL 5.1 and row level replication.

There are bunch of other options you may want to tune but lets focus only on Innodb ones today. You can check about tuning other options here or read one of our MySQL Presentations.

Application tuning for Innodb
Especially when coming from MyISAM background there would be some changes you would like to do with your application. First make sure you’re using transactions when doing updates, both for sake of consistency and to get better performance. Next if your application has any writes be prepared to handle deadlocks which may happen. Third you would like to review your table structure and see how you can get advantage of Innodb properties - clustering by primary key, having primary key in all indexes (so keep primary key short), fast lookups by primary keys (try to use it in joins), large unpacked indexes (try to be easy on indexes).

With these basic innodb performance tunings you will be better of when majority of Innodb users which take MySQL with defaults run it on hardware without battery backed up cache with no OS changes and have no changes done to application which was written keeping MyISAM tables in mind.


Entry posted by peter | 9 comments

Add to: delicious | digg | reddit | netscape | Google Bookmarks

09:00 AIX 5L网卡管理与配置 (14072 Bytes) » NinGoo@Net

Author:NinGoo posted on NinGoo.net

Piner写过一篇文章介绍AIX中网卡的管理和配置,这里想补充一些相关的信息。本文中所有试验都基于AIX 5.3。

AIX中查看系统中的网卡设备

#lsdev -Cc adapter | grep ent
ent0      Available 00-08 10/100/1000 Base-TX PCI-X Adapter (14106902)
ent1      Available 07-08 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent2      Available 07-09 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent3      Available 0B-08 10/100/1000 Base-TX PCI-X Adapter (14106902)
ent4      Available       EtherChannel / IEEE 802.3ad Link Aggregation

从上面可以看出,系统中共有四块网卡(ent0~ent3,而ent4是由多块网卡绑定出来的虚拟网卡EtherChannel,关于网卡绑定,请参考piner的另一篇文章

那么,四块网卡具体是插在哪个插槽上的呢?

#lsslot -c pci | grep ent
U787B.001.DNW6FCB-P1-C2  PCI-X capable, 64 bit, 133MHz slot  ent3
U787B.001.DNW6FCB-P1-C3  PCI-X capable, 64 bit, 266MHz slot  ent0

上述命令显示的是插在PCI插槽上的两块网卡,都是在第一个PCI笼子中,分别在第二个和第三个插槽。另外两块则是主板上内置的网卡,不是插在PCI槽上的。

#lscfg -v | grep ent
Model Implementation: Multiple Processor, PCI bus
ent1 U787B.001.DNW6FCB-P1-T9 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent2 U787B.001.DNW6FCB-P1-T10 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent3 U787B.001.DNW6FCB-P1-C2-T1 10/100/1000 Base-TX PCI-X Adapter (14106902)
ent0 U787B.001.DNW6FCB-P1-C3-T1 10/100/1000 Base-TX PCI-X Adapter (14106902)

AIX中,一个网卡在系统中实际上可以看到两个设备接口,en开头的是Ethernet II标准的,et开头的是IEEE 802.3标准的。以太网的帧有两种标准:Ethernet II(或者叫Standard Ethernet)和IEEE802.3,两者主要是标志帧的上层协议的方式不一样,Ethernet II使用了一个TYPE值表示,而IEEE802.3则使用一个数据LENGTH表示。一般来说,Ethernnet II更常用。

#lsdev -Cc if
en0 Defined   00-08 Standard Ethernet Network Interface
en1 Defined   07-08 Standard Ethernet Network Interface
en2 Defined   07-09 Standard Ethernet Network Interface
en3 Defined   0B-08 Standard Ethernet Network Interface
en4 Available       Standard Ethernet Network Interface
et0 Defined   00-08 IEEE 802.3 Ethernet Network Interface
et1 Defined   07-08 IEEE 802.3 Ethernet Network Interface
et2 Defined   07-09 IEEE 802.3 Ethernet Network Interface
et3 Defined   0B-08 IEEE 802.3 Ethernet Network Interface
et4 Defined         IEEE 802.3 Ethernet Network Interface
lo0 Available       Loopback Network Interface

其中lo0表示本地回环接口,也就是127.0.0.1

查看某块网卡的具体属性

#lsattr -El ent1
alt_addr     0x000000000000  Alternate ethernet address                 True
busintr      273            Bus interrupt level                        False
busmem       0xf8120000     Bus memory address                         False
chksum_offload yes        Enable hardware transmit and receive checksum  True
compat_mode  no           Gigabit Backward compatability             True
copy_bytes   2048           Copy packet if this many or less bytes     True
delay_open   no           Enable delay of open until link state is known True
failback     yes            Enable auto failback to primary            True
failback_delay 15           Failback to primary delay timer            True
failover     disable        Enable failover mode                       True
flow_ctrl    yes            Enable Transmit and Receive Flow Control   True
intr_priority  3            Interrupt priority                         False
intr_rate    10000        Max rate of interrupts generated by adapter    True
jumbo_frames   no           Transmit jumbo frames                      True
large_send   yes          Enable hardware TX TCP resegmentation      True
media_speed  Auto_Negotiation Media speed                              True
rom_mem    0xf80c0000     ROM memory address                         False
rx_hog     1000           Max rcv buffers processed per rcv interrupt    True
rxbuf_pool_sz  2048         Rcv buffer pool, make 2X rxdesc_que_sz     True
rxdesc_que_sz  1024         Rcv descriptor queue size                  True
slih_hog       10         Max Interrupt events processed per interrupt   True
tx_que_sz      8192         Software transmit queue size               True
txdesc_que_sz  512          TX descriptor queue size                   True
use_alt_addr   no           Enable alternate ethernet address          True

查看某个网卡设备接口的属性

#lsattr -El en0
alias4             IPv4 Alias including Subnet Mask           True
alias6             IPv6 Alias including Prefix Length         True
arp           on   Address Resolution Protocol (ARP)          True
authority          Authorized Users                           True
broadcast          Broadcast Address                          True
mtu           1500 Maximum IP Packet Size for This Device     True
netaddr            Internet Address                           True
netaddr6           IPv6 Internet Address                      True
netmask            Subnet Mask                                True
prefixlen          Prefix Length for IPv6 Internet Address    True
remmtu        576  Maximum IP Packet Size for REMOTE Networks True
rfc1323            Enable/Disable TCP RFC 1323 Window Scaling True
security      none Security Level                             True
state         down Current Interface Status                   True
tcp_mssdflt        Set TCP Maximum Segment Size               True
tcp_nodelay        Enable/Disable TCP_NODELAY Option          True
tcp_recvspace      Set Socket Buffer Space for Receiving      True
tcp_sendspace      Set Socket Buffer Space for Sending        True
#lsattr -El et0
alias4             IPv4 Alias including Subnet Mask           True
alias6             IPv6 Alias including Prefix Length         True
arp           on   Address Resolution Protocol (ARP)          True
authority          Authorized Users                           True
broadcast          Broadcast Address                          True
mtu           1492 Maximum IP Packet Size for This Device     True
netaddr            Internet Address                           True
netaddr6           IPv6 Internet Address                      True
netmask            Subnet Mask                                True
prefixlen          Prefix Length for IPv6 Internet Address    True
remmtu        576  Maximum IP Packet Size for REMOTE Networks True
rfc1323            Enable/Disable TCP RFC 1323 Window Scaling True
security      none Security Level                             True
state         down Current Interface Status                   True
tcp_mssdflt        Set TCP Maximum Segment Size               True
tcp_nodelay        Enable/Disable TCP_NODELAY Option          True
tcp_recvspace      Set Socket Buffer Space for Receiving      True
tcp_sendspace      Set Socket Buffer Space for Sending        True

修改接口属性,比如设置IP和子网掩码

#chdev -l en1 -a netaddr='192.168.1.1' -a netmask='255.255.255.0'

而ifconfig只能查看和修改网线已经连接好的网卡信息

#ifconfig -a
en4: flags=5e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD,PSEG,CHAIN>
        inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
         tcp_sendspace 131072 tcp_recvspace 65536
lo0: flags=e08084b<UP,BROADCAST,LOOPBACK,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT>
        inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
        inet6 ::1/0
         tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1

如果使用ifconfig操作没有连接网络的网卡则会报错

#ifconfig en1 up
0821-510 ifconfig: error calling entry point for /usr/lib/drivers/if_en: The specified device does not exist.

smit操作网卡相关命令

  • smit mkinet添加新的网卡接口
  • smit chinet配置网卡接口
  • smit tcpip配置tcpip网络
  • smit mktcpip配置IP地址
  • smit chgenet配置网卡设备
  • smit rminet删除网卡接口
  • smit etherchannel配置网卡绑定
  • smit inet配置网卡接口,包括mkinet,chinet,rminet等命令入口

Related Articles

04:37 Yahoo Messenger spam becomes insufferable (709 Bytes) » Fenng's shared items in Google Reader
The spam via Yahoo Messenger is becoming insufferable--and the junk messages are piling up. In recent weeks, I've received anywhere from six to a dozen spam IMs a day. I use Yahoo's spam reporting feature yet they keep coming. I plan to follow up with Yahoo to see why this spam problem has ballooned on Messenger. Exhibit A: And Exhibit B: Meanwhile, the spam messages keep coming--I got another 4 overnight. Anyone out there seeing the same trend with Yahoo? AOL IM has been a spam free IM experience for me.
03:30 【有趣】10 种迹象表明 DBA 该退休了 (5468 Bytes) » DBA notes

©作者:Fenng 发布在 dbanotes.net

看到一篇十分有趣的关于 DBA 的帖子。10 种迹象表明你的 DBA 该退休了. 作者是 Chris Muir. 这 10 条越看越好玩,翻译并注释一下。

1. Complains about these "new fangled stored procedures".
对"存储过程这新玩意儿"抱怨不停。 (暗示这个人还停留在 Oracle 古老版本的使用经验中。)

2. Rants about the good old days of Oracle PE (Punchcard Edition).
嚷嚷着 Oracle 卡片机版本(暗指非常古老的版本)美好时光.

3. Thinks Thomas Kyte is a whipper-snapper (even with the beard).
认为 Thomas Kyte 是个傲慢自大的年轻人(即使他有胡子). Kyte 现在已经是几个孩子的父亲了。而且,近年来 Kyte 在 Oracle 领域已经成为无可争议的大师级别的人物。 (暗示有这样想法的人可能 N 年前见过 Thomas Kyte, 近年来没关心 Oracle 社区的发展)

4. Still demands all Oracle manuals in hardcopy.
仍旧靠着所有打印的 Oracle 手册过日子. (现在的手册足有 几万页, 说明还是用的老手册, 而且守旧)

5. Has a service request with Oracle Support to forward port the RBO to 11g.
对 Oracle 支持人员提出一个 把 RBO 移植到 10g 的服务请求。(RBO--基于规则的优化器, 局限性非常大,已经不适合现现在复杂的数据环境了,如果还死抱着RBO大腿不放...)

6. Knows about Edgar's secret 13th rule.
知道 Edgar 的第十三条规则的秘密。(Edgar Codd,就是大名鼎鼎的关系数据库理论之父,他提出的基本准则只有 12 条。如果有 DBA 知道第十三条规则的秘密...)

7. Thinks Oracle Support went downhill when they moved the HQ to Redwood Shores in 1989.
认为 Oracle 支持自从1989年总部搬到 Redwood Shores 后每况愈下。(看看 Oracle 各个版本的 Bug 众多,以及 Oracle 服务费的昂贵,从哪个角度来看,Oracle 支持都是不差的,当然服务质量除外)

8. Has larry@rsi.com in his address book.
邮件地址簿里有 larry@rsi.com 。(RSI 是Oracle公司前身,larry@rsi.com 是 Oracle CEO 拉里-艾里森的邮件地址。还有这个邮件地址,估计至少有 20 年没更新过地址簿了。这个人有些"火星")

9. Still replaces blank lines in PL/SQL with single line comments.
仍旧在 PL/SQL 用单行注释替换空行.(这个需要解释一下,用手册上的话就不用绕了: You cannot use single-line comments in a PL/SQL block that will be processed by an Oracle Precompiler program because end-of-line characters are ignored. As a result, single-line comments extend to the end of the block, not just to the end of a line. In this case, use the /* */ notation instead)

10. Has an open 10 year old Oracle Support "TAR" to fix a bug in version 7 which he/she wont close because of the "principal of the thing."
在 Oracle 支持上开了一个长达10年之久的 "TAR",要修复某个 Oracle 7 的Bug,并且坚持认为此乃"首要之事"而不肯关闭该 Tar。(刻舟求剑)

等有时间再写写那些该下课的 IT 经理人
--EOF--

相关文章|Related Articles

评论数量(4)|Add Comments

本文网址:

03:17 关于字符集的几句话 (2212 Bytes) » Chanel [K]
1. 输入时,如果Oracle客户端字符集跟Oracle服务器端字符集设置不一样,那么输入的字符就会做字符转换,最终以服务器端的字符集存入数据库 2. 输入时,如果Oracle客户端字符集跟Oracle服务器端字符集设置一样,那么不会有任何字符转换,最终以客户端操作系统字符集(不是Oracle客户端字符集)存入数据库 3. 输出时,如果Oracle客户端字符集跟Oracle服务器端字符集设置不一样,那么输出的字符会做字符转换,如果客户端操作系统字符集能够正确解释,那么输出显示正确,否则乱码 4. 输出时,如果Oracle客户端字符集跟Oracle服务器端字符集设置一样,那么不会有任何字符转换,如果客户端操作系统字符集能够正确解释,那么输出显示正确,否则乱码 这就是为什么我们即使设置了数据库字符集是US7ASCII这样无法保存双字节的英文字符集,只要Oracle客户端也是US7ASCII,客户端的操作系统又是中文操作系统,那么仍然可以正确地存储并且显示中文的原因。

02:10 XING will support OpenSocial (3915 Bytes) » Fenng's shared items in Google Reader

Back in April, we announced plans for creating a XING API. What we couldn’t have foreseen then was how important APIs would become, or how quickly they would do so. The difficulties inherent in proprietary APIs—both from our perspective (coordinating with European privacy laws, rights management) and from a development standpoint (how many APIs can one developer learn?)—were substantial. To be on the safe side, we started with a Partner API and launched with Zoominfo.

The rest of the world was on to APIs as well: In September we met the Google evangelist Patrick Chanezon, and he invited us to participate in the OpenSocial initative. Right away, we recognized how powerful an open standard could be, and decided to support OpenSocial.

We at XING believe strongly in open standards. It’s a two-way street, a matter of working together rather than against each other. After all, if you look back in time, open systems have always led to greater success, from Linux to Apache to the Web itself. We’re happy to support developers who add value and boost productivity with their applications, and by adopting an open standard on XING, we’re allowing thousands of programmers to code for our platform, all using known web-standards of HTML & Javascript. Our members themselves can choose which applications they adopt—who better? The freedom of such an approach is infinitely superior to a walled garden approach.

Marc Andreesen, founder of netscape and now running the company Ning  put it perfectly by explaining the differences between the two approaches area:

In a nutshell, Open Social is an open web API that can be supported by two kinds of developers:

  • "Containers" -- social networking systems like Ning, Orkut,  Hi5, Lnkedin, Plaxo, and Friendster, and...
  • "Apps" -- applications that want to be embedded within containers -- for example, the kinds of applications built by iLike, Flixster, Rockyou, and Slide.

This is the exact same concept as the Facebook platform, with two huge differences:

  • With the Facebook platform, only Facebook itself can be a "container" -- "apps" can only run within Facebook itself.  In contrast, with Open Social, any social network can be an Open Social container and allow Open Social apps to run within it.
  • With the Facebook platform, app developers build to Facebook-proprietary languages and APIs such as FBML (Facebook Markup Language) and FQL (Facebook Query Language) -- those languages and APIs don't work anywhere other than Facebook -- and then the apps can only run within Facebook.  In contrast, with Open Social, app developers can build to standard HTML and Javascript, and their apps can then run in any Open Social container.

So we are very proud to be participating in this week's launch of Open Social. The platform is the web itself, we don't need another laywer in-between.

01:00 资料下载 | 甲骨文全球大会·2007·亚太地区 (0 Bytes) » del.icio.us/fenng/oracle
00:54 Google Photo Picker (2478 Bytes) » Fenng's shared items in Google Reader
The standard Google dialog for choosing a photo integrates with Picasa Web Albums. If you want to add a photo to your orkut scrapbook, you can select it from your computer, from the web or from Picasa Web Albums. When you upload photos from your computer, they're saved in an album called "Drop Box". For each Blogger blog, Google creates an album that stores the images uploaded to that blog.

That means we could expect to see other Google apps using the same model. Google Docs could have an album that contains all the images uploaded to your documents, spreadsheets and presentations. The Gmail album would include all your image attachments. This way, you wouldn't have to upload the same image multiple times and you could reuse in other Google sites.

It's unclear why Google doesn't provide in the dialog an option to search your images from Picasa Web Albums. You still have to know the location and the name of an image. Google could extend the photo picker to documents and other files, move Google Desktop online and provide an unified way of uploading, organizing and sharing your files.


00:24 Google Code - Google APIs [del.icio.us] (24 Bytes) » 车东[Blog^2]
Google所有服务的API
00:19 Oracle Compress Table Block Format (3) (5020 Bytes) » DBA Tools

    The compress block format seems not so much complex as I expected. After spent few hours, I can get the same dump information from AUL as dump datafile command do. Left side comes from Oracle dump datafile command, right side comes from AUL dump command.

tab 0, row 0, @0x1ec9
tl: 56 fb: --H-FL-- lb: 0x0  cc: 24
col  0: *NULL*
col  1: *NULL*
col  2: [ 5]  56 41 4c 49 44
col  3: [ 2]  c1 02
col  4: [ 3]  c2 03 38
col  5: *NULL*
col  6: *NULL*
col  7: [ 1]  4e
col  8: [10]  20 20 20 20 20 20 20 20 20 31
col  9: [10]  20 20 20 20 20 20 20 20 20 31
col 10: [ 5]  20 20 20 20 4e
col 11: [ 7]  45 4e 41 42 4c 45 44
col 12: [ 2]  4e 4f
col 13: *NULL*
col 14: [ 1]  4e
col 15: [ 2]  4e 4f
col 16: [ 7]  44 45 46 41 55 4c 54
col 17: [ 8]  44 49 53 41 42 4c 45 44
col 18: [ 2]  4e 4f
col 19: [ 8]  44 49 53 41 42 4c 45 44
col 20: *NULL*
col 21: [ 8]  44 49 53 41 42 4c 45 44
col 22: [ 8]  44 49 53 41 42 4c 45 44
col 23: [ 2]  4e 4f
tab#=  0     nrow=  59     offs=   0
    row#=   0  ...... cc= 24  
     col[  0] : *NULL*
     col[  1] : *NULL*
     col[  2] : 56 41 4c 49 44
     col[  3] : c1 02
     col[  4] : c2 03 38
     col[  5] : *NULL*
     col[  6] : *NULL*
     col[  7] : 4e
     col[  8] : 20 20 20 20 20 20 20 20 20 31
     col[  9] : 20 20 20 20 20 20 20 20 20 31
     col[ 10] : 20 20 20 20 4e
     col[ 11] : 45 4e 41 42 4c 45 44
     col[ 12] : 4e 4f
     col[ 13] : *NULL*
     col[ 14] : 4e
     col[ 15] : 4e 4f
     col[ 16] : 44 45 46 41 55 4c 54
     col[ 17] : 44 49 53 41 42 4c 45 44
     col[ 18] : 4e 4f
     col[ 19] : 44 49 53 41 42 4c 45 44
     col[ 20] : *NULL*
     col[ 21] : 44 49 53 41 42 4c 45 44
     col[ 22] : 44 49 53 41 42 4c 45 44
     col[ 23] : 4e 4f

    So happy when I found that they are exactly matched. Now let's check the first row of tab 1. Left side from Oracle, right side from AUL.

Read Full Text of【Oracle Compress Table Block Format (3)】

Related Posts

Leave New Comment(Current: 0)

Link: http://www.dbatools.net/experience/oracle_compress_block03.html

2007-10-31 Wed

22:02 有趣的政治漫画 » Photos from dbanotes
21:36 Yahoo_error_999 » Photos from dbanotes
20:45 Global_name从何处来? » Oracle Life
20:37 为后世导演留口饭吃 » Fenng's shared items in Google Reader
19:11 同气连枝 » Fenng's shared items in Google Reader
19:06 11i: The Application Upgrade Made Me Do It » Oracle Security Blog
18:59 HDS goes FATA » Fenng's shared items in Google Reader
18:05 签证的遭遇 » Fenng's shared items in Google Reader
17:50 会议日程已经公布 » Fenng's shared items in Google Reader
14:46 Social Media Success, and Free Resources » Fenng's shared items in Google Reader
14:16 OpenSocial将带来什么? » Fenng's shared items in Google Reader
12:43 Oracle OpenWorld Presentation Downloads » Eddie Awad's Blog
10:40 ControlCenter 6.0 Release Notes » Fenng's shared items in Google Reader
10:29 胡恩威:杜琪峰的黑道电影美学与哲学 » Fenng's shared items in Google Reader
10:29 我家的另一只猫小黑 » Photos from dbanotes
08:56 比特海日志19月29日,万圣节 » Fenng's shared items in Google Reader
08:53 对不起,我不需要预览 » Fenng's shared items in Google Reader
07:46 Oracle Parallel Query Abuse » Fenng's shared items in Google Reader
07:41 Happy Halloween! » Red Hat Magazine
07:30 Ask Tom "JVM in the Database" » del.icio.us/fenng/oracle
07:08 我落伍了 » 柔嘉维则@life.oracle.eng
06:00 Technological advances continue... » The Tom Kyte Blog
01:53 在 Mountain View 骑自行车 » Fenng's shared items in Google Reader
00:52 Technological advances continue... » Fenng's shared items in Google Reader

2007-10-30 Tue

21:30 年末岁尾 升职加薪 » Orange Tiger 木匠 的 移民生活
21:01 AIX Version 6 中的简化内核扩展 » developerWorks : AIX 专区的文章,教程
20:00 We have a winner... » The Tom Kyte Blog
20:00 Back to school... » The Tom Kyte Blog
16:03 Yet another presentation submission » MySQL Performance Blog
14:32 We have a winner... » Fenng's shared items in Google Reader
08:30 A challenge... » The Tom Kyte Blog
07:11 Nagios 分布式架构示意图 » Photos from dbanotes
06:36 Mediawiki Perf » Photos from dbanotes
06:30 Slashdot 网站架构补遗 » DBA notes