热门标签 | HotTags
当前位置:  开发笔记 > 数据库 > 正文

RMAN恢复案例之--不完全恢复错误案例

RMAN恢复案例之--不完全恢复错误案例RMAN恢复案例:不完全恢复,由于在先前的数据文件备份有误,导致恢复失败。[oracle@rh6~]$rmantargetRecoveryManager:Release11.2.0.1.0-ProductiononSatSep2015:54:252014Copyright(c)1982,2009,Oracleandoritsaffi

RMAN恢复案例之--不完全恢复错误案例 RMAN恢复案例: 不完全恢复,由于在先前的数据文件备份有误,导致恢复失败。 [oracle@rh6~]$rmantarget/RecoveryManager:Release11.2.0.1.0-ProductiononSatSep2015:54:252014Copyright(c)1982,2009,Oracleand/oritsaffi

RMAN恢复案例之--不完全恢复错误案例


RMAN恢复案例:

不完全恢复,由于在先前的数据文件备份有误,导致恢复失败。

[oracle@rh6 ~]$ rman target /
Recovery Manager: Release 11.2.0.1.0 - Production on Sat Sep 20 15:54:25 2014
Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
connected to target database: TEST1 (DBID=1195893416)

RMAN> run {
2> shutdown immediate;
3> startup mount;
4> set until time '2014-09-20 15:49:36';
5> restore database;
6> recover database ;
7> alter database open resetlogs;
8> sql'alter system switch logfile';
9> }
using target database control file instead of recovery catalog
database closed
database dismounted
Oracle instance shut down
connected to target database (not started)
Oracle instance started
database mounted
Total System Global Area     175767552 bytes
Fixed Size                     1335276 bytes
Variable Size                142606356 bytes
Database Buffers              29360128 bytes
Redo Buffers                   2465792 bytes
executing command: SET until clause
Starting restore at 20-SEP-14
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=18 device type=DISK
flashing back control file to SCN 9601534
channel ORA_DISK_1: starting datafile backup set restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_DISK_1: restoring datafile 00002 to /u01/app/oracle/oradata/test1/sysaux01.dbf
channel ORA_DISK_1: restoring datafile 00004 to /u01/app/oracle/oradata/test1/users01.dbf
channel ORA_DISK_1: restoring datafile 00005 to /u01/app/oracle/oradata/test1/perfs.dbf
channel ORA_DISK_1: restoring datafile 00007 to /u01/app/oracle/oradata/test1/undotbs2.dbf
channel ORA_DISK_1: restoring datafile 00010 to /u01/app/oracle/oradata/test1/index01.dbf
channel ORA_DISK_1: reading from backup piece /dsk1/backup/test1/TEST1_240.bak
channel ORA_DISK_1: piece handle=/dsk1/backup/test1/TEST1_240.bak tag=TAG20140920T152720
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:00:35
channel ORA_DISK_1: starting datafile backup set restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_DISK_1: restoring datafile 00013 to /u01/app/oracle/oradata/test1/tbs_16.dbf
channel ORA_DISK_1: reading from backup piece /dsk1/backup/test1/TEST1_241.bak
channel ORA_DISK_1: piece handle=/dsk1/backup/test1/TEST1_241.bak tag=TAG20140920T152720
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
channel ORA_DISK_1: starting datafile backup set restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_DISK_1: restoring datafile 00001 to /u01/app/oracle/oradata/test1/system01.dbf
channel ORA_DISK_1: restoring datafile 00003 to /u01/app/oracle/oradata/test1/test1.dbf
channel ORA_DISK_1: restoring datafile 00006 to /u01/app/oracle/oradata/test1/dict1.dbf
channel ORA_DISK_1: reading from backup piece /dsk1/backup/test1/TEST1_239.bak
channel ORA_DISK_1: piece handle=/dsk1/backup/test1/TEST1_239.bak tag=TAG20140920T152720
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:00:45
Finished restore at 20-SEP-14
Starting recover at 20-SEP-14
using channel ORA_DISK_1
starting media recovery

recover 失败......

media recovery failed

RMAN-00571: ===========================================================

RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============

RMAN-00571: ===========================================================

RMAN-03002: failure of recover command at 09/20/2014 15:59:01

RMAN-20505: create datafile during recovery

RMAN-11003: failure during parse/execution of SQL statement: alter database recover if needed

start until time 'SEP 20 2014 15:49:36'

ORA-00283: recovery session canceled due to errors

ORA-01244: unnamed datafile(s) added to control file by media recovery

ORA-01110: data file 8: '/u01/app/oracle/oradata/test1/tbs2.dbf'

查看备份信息:

RMAN> list backup of database;
List of Backup Sets
===================
BS Key  Type LV Size       Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
229     Full    158.89M    DISK        00:01:18     20-SEP-14      
        BP Key: 229   Status: AVAILABLE  Compressed: NO  Tag: TAG20140920T152720
        Piece Name: /dsk1/backup/test1/TEST1_240.bak
  List of Datafiles in backup set 229
  File LV Type Ckp SCN    Ckp Time  Name
  ---- -- ---- ---------- --------- ----
  2       Full 9601534    20-SEP-14 /u01/app/oracle/oradata/test1/sysaux01.dbf
  4       Full 9601534    20-SEP-14 /u01/app/oracle/oradata/test1/users01.dbf
  5       Full 9601534    20-SEP-14 /u01/app/oracle/oradata/test1/perfs.dbf
  7       Full 9601534    20-SEP-14 /u01/app/oracle/oradata/test1/undotbs2.dbf
  10      Full 9601534    20-SEP-14 /u01/app/oracle/oradata/test1/index01.dbf
BS Key  Type LV Size       Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
230     Full    1.06M      DISK        00:00:01     20-SEP-14      
        BP Key: 230   Status: AVAILABLE  Compressed: NO  Tag: TAG20140920T152720
        Piece Name: /dsk1/backup/test1/TEST1_241.bak
  List of Datafiles in backup set 230
  File LV Type Ckp SCN    Ckp Time  Name
  ---- -- ---- ---------- --------- ----
  13      Full 9601534    20-SEP-14 /u01/app/oracle/oradata/test1/tbs_16.dbf
BS Key  Type LV Size       Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
231     Full    609.73M    DISK        00:01:32     20-SEP-14      
        BP Key: 231   Status: AVAILABLE  Compressed: NO  Tag: TAG20140920T152720
        Piece Name: /dsk1/backup/test1/TEST1_239.bak
  List of Datafiles in backup set 231
  File LV Type Ckp SCN    Ckp Time  Name
  ---- -- ---- ---------- --------- ----
  1       Full 9601534    20-SEP-14 /u01/app/oracle/oradata/test1/system01.dbf
  3       Full 9601534    20-SEP-14 /u01/app/oracle/oradata/test1/test1.dbf
  6       Full 9601534    20-SEP-14 /u01/app/oracle/oradata/test1/dict1.dbf
  8       Full 9601534    20-SEP-14 /u01/app/oracle/product/11.2.0/db_1/dbs/UNNAMED00008

在备份中发现:

'/u01/app/oracle/product/11.2.0/db_1/dbs/UNNAMED00008',而在数据库中并没有这个数据文件!

解决方法:

将datafile offline,open数据库:

16:02:43 SYS@ test1 >alter database datafile 8 offline;
Database altered.

recover database跳过此表空间:

RMAN> recover database skip tablespace tbs2;

Starting recover at 20-SEP-14
using channel ORA_DISK_1
Executing: alter database datafile 8 offline
starting media recovery
media recovery complete, elapsed time: 00:00:30
Finished recover at 20-SEP-14

查看告警日志:

alter database datafile 8 offline
Completed: alter database datafile 8 offline
alter database recover datafile list clear
Completed: alter database recover datafile list clear
alter database recover datafile list
 1 , 2 , 3 , 4 , 5 , 6 , 7 , 10 , 13
Completed: alter database recover datafile list
 1 , 2 , 3 , 4 , 5 , 6 , 7 , 10 , 13
alter database recover if needed
 start
Media Recovery Start
Serial Media Recovery started
Recovery of Online Redo Log: Thread 1 Group 5 Seq 15 Reading mem 0
  Mem# 0: /dsk1/oradata/test1/redo05a.log
Sat Sep 20 16:06:51 2014
Media Recovery Complete (test1)
Completed: alter database recover if needed
 start

打开数据库删除此表空间:

 16:04:42 SYS@ test1 >conn /as sysdba;
Connected.
16:10:10 SYS@ test1 >alter database open;
Database altered.
Elapsed: 00:00:21.63
16:10:54 SYS@ test1 >select name from v$datafile;
NAME
--------------------------------------------------
/u01/app/oracle/oradata/test1/system01.dbf
/u01/app/oracle/oradata/test1/sysaux01.dbf
/u01/app/oracle/oradata/test1/test1.dbf
/u01/app/oracle/oradata/test1/users01.dbf
/u01/app/oracle/oradata/test1/perfs.dbf
/u01/app/oracle/oradata/test1/dict1.dbf
/u01/app/oracle/oradata/test1/undotbs2.dbf
/u01/app/oracle/product/11.2.0/db_1/dbs/UNNAMED000
08
/u01/app/oracle/oradata/test1/index01.dbf
/u01/app/oracle/oradata/test1/tbs_16.dbf
10 rows selected.

16:11:10 SYS@ test1 >drop tablespace tbs2 including contents and datafiles;
Tablespace dropped.

16:11:32 SYS@ test1 >select name from v$datafile;
NAME
--------------------------------------------------
/u01/app/oracle/oradata/test1/system01.dbf
/u01/app/oracle/oradata/test1/sysaux01.dbf
/u01/app/oracle/oradata/test1/test1.dbf
/u01/app/oracle/oradata/test1/users01.dbf
/u01/app/oracle/oradata/test1/perfs.dbf
/u01/app/oracle/oradata/test1/dict1.dbf
/u01/app/oracle/oradata/test1/undotbs2.dbf
/u01/app/oracle/oradata/test1/index01.dbf
/u01/app/oracle/oradata/test1/tbs_16.dbf
9 rows selected.

对数据库做重新做全备,再次做数据恢复!

恢复过程又出错:

RMAN> run {
2> shutdown immediate;
3> startup mount;
4> set until time '2014-09-20 16:19:30';
5> restore database;
6> recover database;
7> alter database open resetlogs;
8> }
database closed
database dismounted
Oracle instance shut down
connected to target database (not started)
Oracle instance started
database mounted
Total System Global Area     175767552 bytes
Fixed Size                     1335276 bytes
Variable Size                142606356 bytes
Database Buffers              29360128 bytes
Redo Buffers                   2465792 bytes
executing command: SET until clause
Starting restore at 20-SEP-14
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=18 device type=DISK
flashing back control file to SCN 9603237
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 09/20/2014 16:21:46
RMAN-06085: must use SET NEWNAME command to restore datafile /u01/app/oracle/product/11.2.0/db_1/dbs/UNNAMED00008

查看备份信息:

RMAN> list backup;
List of Backup Sets
===================
BS Key  Type LV Size       Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
233     Full    164.45M    DISK        00:01:04     20-SEP-14      
        BP Key: 233   Status: AVAILABLE  Compressed: NO  Tag: TAG20140920T161544
        Piece Name: /dsk1/backup/test1/TEST1_244.bak
  List of Datafiles in backup set 233
  File LV Type Ckp SCN    Ckp Time  Name
  ---- -- ---- ---------- --------- ----
  2       Full 9603220    20-SEP-14 /u01/app/oracle/oradata/test1/sysaux01.dbf
  5       Full 9603220    20-SEP-14 /u01/app/oracle/oradata/test1/perfs.dbf
  7       Full 9603220    20-SEP-14 /u01/app/oracle/oradata/test1/undotbs2.dbf
  10      Full 9603220    20-SEP-14 /u01/app/oracle/oradata/test1/index01.dbf
BS Key  Type LV Size       Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
234     Full    1.06M      DISK        00:00:02     20-SEP-14      
        BP Key: 234   Status: AVAILABLE  Compressed: NO  Tag: TAG20140920T161544
        Piece Name: /dsk1/backup/test1/TEST1_245.bak
  List of Datafiles in backup set 234
  File LV Type Ckp SCN    Ckp Time  Name
  ---- -- ---- ---------- --------- ----
  13      Full 9603220    20-SEP-14 /u01/app/oracle/oradata/test1/tbs_16.dbf
BS Key  Type LV Size       Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
235     Full    613.10M    DISK        00:01:28     20-SEP-14      
        BP Key: 235   Status: AVAILABLE  Compressed: NO  Tag: TAG20140920T161544
        Piece Name: /dsk1/backup/test1/TEST1_243.bak
  List of Datafiles in backup set 235
  File LV Type Ckp SCN    Ckp Time  Name
  ---- -- ---- ---------- --------- ----
  1       Full 9603220    20-SEP-14 /u01/app/oracle/oradata/test1/system01.dbf
  3       Full 9603220    20-SEP-14 /u01/app/oracle/oradata/test1/test1.dbf
  4       Full 9603220    20-SEP-14 /u01/app/oracle/oradata/test1/users01.dbf
  6       Full 9603220    20-SEP-14 /u01/app/oracle/oradata/test1/dict1.dbf
BS Key  Type LV Size       Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
236     Full    11.33M     DISK        00:00:05     20-SEP-14      
        BP Key: 236   Status: AVAILABLE  Compressed: NO  Tag: TAG20140920T161714
        Piece Name: /dsk4/backup/TEST1/autobackup/2014_09_20/o1_mf_s_858788041_b1tg0gds_.bkp
  SPFILE Included: Modification time: 03-SEP-14
  SPFILE db_unique_name: TEST1
  Control File Included: Ckp SCN: 9603237      Ckp time: 20-SEP-14

restore controlfile:

RMAN> list backup of controlfile;
List of Backup Sets
===================
BS Key  Type LV Size       Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
236     Full    11.33M     DISK        00:00:05     20-SEP-14      
        BP Key: 236   Status: AVAILABLE  Compressed: NO  Tag: TAG20140920T161714
        Piece Name: /dsk4/backup/TEST1/autobackup/2014_09_20/o1_mf_s_858788041_b1tg0gds_.bkp
  Control File Included: Ckp SCN: 9603237      Ckp time: 20-SEP-14
  
RMAN> shutdown immediate;
database dismounted
Oracle instance shut down
RMAN> startup nomount;
connected to target database (not started)
Oracle instance started
Total System Global Area     175767552 bytes
Fixed Size                     1335276 bytes
Variable Size                142606356 bytes
Database Buffers              29360128 bytes
Redo Buffers                   2465792 bytes

RMAN> restore controlfile from autobackup;
Starting restore at 20-SEP-14
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=19 device type=DISK
recovery area destination: /dsk4/backup
database name (or database unique name) used for search: TEST1
channel ORA_DISK_1: AUTOBACKUP /dsk4/backup/TEST1/autobackup/2014_09_20/o1_mf_s_858788041_b1tg0gds_.bkp found in the recovery area
channel ORA_DISK_1: looking for AUTOBACKUP on day: 20140920
channel ORA_DISK_1: restoring control file from AUTOBACKUP /dsk4/backup/TEST1/autobackup/2014_09_20/o1_mf_s_858788041_b1tg0gds_.bkp
channel ORA_DISK_1: control file restore from AUTOBACKUP complete
output file name=/u01/app/oracle/oradata/test1/control01.ctl
output file name=/dsk1/oradata/test1/control02.ctl
output file name=/dsk2/oradata/test1/control03.ctl
Finished restore at 20-SEP-14

重新做恢复:

RMAN> run {
2>  shutdown immediate;
3>  startup mount;
4>  set until time '2014-09-20 16:19:30';
5>  restore database;
6>  recover database;
7>  alter database open resetlogs;
8>  }

Oracle instance shut down
connected to target database (not started)
Oracle instance started
database mounted
Total System Global Area     175767552 bytes
Fixed Size                     1335276 bytes
Variable Size                142606356 bytes
Database Buffers              29360128 bytes
Redo Buffers                   2465792 bytes
executing command: SET until clause
Starting restore at 20-SEP-14
Starting implicit crosscheck backup at 20-SEP-14
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=18 device type=DISK
Crosschecked 3 objects
Finished implicit crosscheck backup at 20-SEP-14
Starting implicit crosscheck copy at 20-SEP-14
using channel ORA_DISK_1
Finished implicit crosscheck copy at 20-SEP-14
searching for all files in the recovery area
cataloging files...
cataloging done
List of Cataloged Files
=======================
File Name: /dsk4/backup/TEST1/autobackup/2014_09_20/o1_mf_s_858788041_b1tg0gds_.bkp
File Name: /dsk4/backup/TEST1/autobackup/2014_09_14/o1_mf_s_858262943_b1bf156d_.bkp
File Name: /dsk4/backup/TEST1/autobackup/2014_09_14/o1_mf_s_858259416_b1b9lv2j_.bkp
File Name: /dsk4/backup/TEST1/autobackup/2014_09_14/o1_mf_s_858261087_b1bc76lg_.bkp
File Name: /dsk4/backup/TEST1/autobackup/2014_09_14/o1_mf_s_858260002_b1bb58sq_.bkp
File Name: /dsk4/backup/TEST1/autobackup/2013_11_10/o1_mf_s_831135549_97ycp30c_.bkp
File Name: /dsk4/backup/TEST1/autobackup/2013_11_10/o1_mf_s_831134795_97yc0vk0_.bkp
File Name: /dsk4/backup/TEST1/autobackup/2013_11_10/o1_mf_s_831136532_97ydnsbl_.bkp
File Name: /dsk4/backup/TEST1/autobackup/2013_11_10/o1_mf_s_831135962_97yd2z3r_.bkp
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile backup set restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_DISK_1: restoring datafile 00002 to /u01/app/oracle/oradata/test1/sysaux01.dbf
channel ORA_DISK_1: restoring datafile 00005 to /u01/app/oracle/oradata/test1/perfs.dbf
channel ORA_DISK_1: restoring datafile 00007 to /u01/app/oracle/oradata/test1/undotbs2.dbf
channel ORA_DISK_1: restoring datafile 00010 to /u01/app/oracle/oradata/test1/index01.dbf
channel ORA_DISK_1: reading from backup piece /dsk1/backup/test1/TEST1_244.bak
channel ORA_DISK_1: piece handle=/dsk1/backup/test1/TEST1_244.bak tag=TAG20140920T161544
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:00:25
channel ORA_DISK_1: starting datafile backup set restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_DISK_1: restoring datafile 00013 to /u01/app/oracle/oradata/test1/tbs_16.dbf
channel ORA_DISK_1: reading from backup piece /dsk1/backup/test1/TEST1_245.bak
channel ORA_DISK_1: piece handle=/dsk1/backup/test1/TEST1_245.bak tag=TAG20140920T161544
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
channel ORA_DISK_1: starting datafile backup set restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_DISK_1: restoring datafile 00001 to /u01/app/oracle/oradata/test1/system01.dbf
channel ORA_DISK_1: restoring datafile 00003 to /u01/app/oracle/oradata/test1/test1.dbf
channel ORA_DISK_1: restoring datafile 00004 to /u01/app/oracle/oradata/test1/users01.dbf
channel ORA_DISK_1: restoring datafile 00006 to /u01/app/oracle/oradata/test1/dict1.dbf
channel ORA_DISK_1: reading from backup piece /dsk1/backup/test1/TEST1_243.bak
channel ORA_DISK_1: piece handle=/dsk1/backup/test1/TEST1_243.bak tag=TAG20140920T161544
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:00:55
Finished restore at 20-SEP-14
Starting recover at 20-SEP-14
using channel ORA_DISK_1
starting media recovery
archived log for thread 1 with sequence 17 is already on disk as file /dsk1/oradata/test1/redo04a.log
archived log for thread 1 with sequence 18 is already on disk as file /dsk1/oradata/test1/redo05a.log
archived log file name=/dsk1/oradata/test1/redo04a.log thread=1 sequence=17
archived log file name=/dsk1/oradata/test1/redo05a.log thread=1 sequence=18
media recovery complete, elapsed time: 00:00:08
Finished recover at 20-SEP-14
Starting recover at 20-SEP-14
using channel ORA_DISK_1
starting media recovery
archived log for thread 1 with sequence 17 is already on disk as file /dsk1/oradata/test1/redo04a.log
archived log for thread 1 with sequence 18 is already on disk as file /dsk1/oradata/test1/redo05a.log
archived log file name=/dsk1/oradata/test1/redo04a.log thread=1 sequence=17
archived log file name=/dsk1/oradata/test1/redo05a.log thread=1 sequence=18
media recovery complete, elapsed time: 00:00:08
Finished recover at 20-SEP-14
database opened

@至此,不完全恢复成功!







推荐阅读
  • 大数据SQL优化:全面解析数据倾斜解决方案
    本文深入探讨了大数据SQL优化中的数据倾斜问题,提供了多种解决策略和实际案例,旨在帮助读者理解和应对这一常见挑战。 ... [详细]
  • 本文介绍了多种Eclipse插件,包括XML Schema Infoset Model (XSD)、Graphical Editing Framework (GEF)、Eclipse Modeling Framework (EMF)等,涵盖了从Web开发到图形界面编辑的多个方面。 ... [详细]
  • 深入浅出:Hadoop架构详解
    Hadoop作为大数据处理的核心技术,包含了一系列组件如HDFS(分布式文件系统)、YARN(资源管理框架)和MapReduce(并行计算模型)。本文将通过实例解析Hadoop的工作原理及其优势。 ... [详细]
  • 使用Python模拟登录教务系统抓取成绩并分析存储
    本文详细介绍如何使用Python编程语言模拟登录学校教务系统,抓取学生的成绩信息,并进行数据分析和可视化处理,最终将数据存储到MySQL数据库中。 ... [详细]
  • React Native 开发者如何高效替换 Android 图标与布局资源
    针对未接触过 Android 开发的 React Native 开发者,本文提供了详细的指南,帮助他们了解如何轻松替换 Android 应用中的图标和布局资源,包括对 APK 结构的基本认识及多种替换方法。 ... [详细]
  • 深入解析 Android 中的 ActivityGroup 实现
    本文详细探讨了如何在 Android 应用中使用 ActivityGroup 来实现类似微博客户端主界面的效果,并分析了 TabActivity 的局限性,推荐使用更为灵活的 ActivityGroup 方案。 ... [详细]
  • 本文探讨了Thrift作为一款支持多语言的服务开发框架,其在体积、功能、扩展性以及多协议支持等方面的显著优势。特别地,Thrift作为一种RPC(远程过程调用协议)框架,非常适合用于构建可扩展且低耦合的分布式服务系统。文章通过多种编程语言对Thrift服务进行了性能测试,并提供了详细的测试结果。 ... [详细]
  • Nibblestutotials.net教程 – Blend  Silverlight1系列之Button Basic
    Basic:createonebutton文中三部分所用资源及代码下载:part1,part2,part3Buttonsbasicpart1:drawingNibbl ... [详细]
  • Android开发经验分享:优化用户体验的关键因素
    随着Android市场的不断扩展,用户对于移动应用的期望也在不断提高。本文探讨了在Android开发中如何优化用户体验,以及为何用户体验的重要性超过了技术本身。 ... [详细]
  • 搜索引擎架构设计
    本文详细介绍了搜索引擎的主要组成部分,包括爬虫模块、索引模块和搜索模块。其中,索引模块采用了高效的二元分词技术进行数据存储,而搜索模块则基于ASP.NET框架实现了一个用户友好的界面和高效的搜索算法。 ... [详细]
  • 本文探讨了For和Foreach循环在不同数据结构(如数组和IEnumerable)下的性能表现,分析了它们各自的优势和适用场景。 ... [详细]
  • ODB 2.1.0 版本现已推出,此更新引入了多项新功能,如通过访问器、修饰符、函数及表达式访问数据成员,支持虚拟数据成员,并允许在数据成员上直接定义数据库索引等。 ... [详细]
  • 深入探讨Web服务器与动态语言的交互机制:CGI、FastCGI与PHP-FPM
    本文详细解析了Web服务器(如Apache、Nginx等)与动态语言(如PHP)之间通过CGI、FastCGI及PHP-FPM进行交互的具体过程,旨在帮助开发者更好地理解这些技术背后的原理。 ... [详细]
  • 本文详细介绍了Java Web项目的开发流程,从环境搭建到项目部署,为初学者和开发者提供了一套完整的指南。 ... [详细]
  • 本文介绍了在解决Hive表中复杂数据结构平铺化问题后,如何通过创建视图来准确计算广告日志的曝光PV,特别是针对用户对应多个标签的情况。同时,详细探讨了UDF的使用方法及其在实际项目中的应用。 ... [详细]
author-avatar
手机用户2502887703
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有