每天为您提供极速合击,无英雄,传奇sf刚开一秒,1.76传奇合击私服!
广告联系
传奇外传下载
  • 热血传奇免费外挂
  • 超变态
  • 新开传奇私服刚开一秒
  • 超变态合击私服
  • 传奇世界sf 一直以来伴随我的一些学习习惯(part1) - 刘未鹏C++的罗浮宫 - 博客频道 - CSDN.NETUtilities之E
    文章作者:新开传奇私服1.76复古版 文章来源:http://WWW.XA1861.COM/ 更新时间:2012-02-23 06:23:31  
    通过之前的几篇文章大致了解了EXP\IMP使用的一些参数,下面开始结合一些例子来加上了解。
    show下EXP\IMP使用帮助吧。
    [oracle@localhost test]$ exp help=y

    Export: Release 10.2.0.4.0 - Production on Thu Jan 19 17:25:53 2012

    Copyright (c) 1982, 2007, Oracle. All rights reserved.



    You can let Export prompt you for parameters by entering the EXP
    command followed by your username/password:

    Example: EXP SCOTT/TIGER

    Or, you can control how Export runs by entering the EXP command followed
    by various arguments. To specify parameters, you use keywords:

    Format: EXP KEYWORD=value or KEYWORD=(value1,value2,...,valueN)
    Example: EXP SCOTT/TIGER GRANTS=Y TABLES=(EMP,DEPT,MGR)
    or TABLES=(T1:P1,T1:P2), if T1 is partitioned table

    USERID must be the first parameter on the command line.

    Keyword Description (Default) Keyword Description (Default)
    --------------------------------------------------------------------------
    USERID username/password FULL export entire file (N)
    BUFFER size of data buffer OWNER list of owner usernames
    FILE output files (EXPDAT.DMP) TABLES list of table names
    COMPRESS import into one extent (Y) RECORDLENGTH length of IO record
    GRANTS export grants (Y) INCTYPE incremental export type
    INDEXES export indexes (Y) RECORD track incr. export (Y)
    DIRECT direct path (N) TRIGGERS export triggers (Y)
    LOG log file of screen output STATISTICS analyze objects (ESTIMATE)
    ROWS export data rows (Y) PARFILE parameter filename
    CONSISTENT cross-table consistency(N) CONSTRAINTS export constraints (Y)

    OBJECT_CONSISTENT transaction set to read only during object export (N)
    FEEDBACK display progress every x rows (0)
    FILESIZE maximum size of each dump file
    FLASHBACK_SCN SCN used to set session snapshot back to
    FLASHBACK_TIME time used to get the SCN closest to the specified time
    QUERY select clause used to export a subset of a table
    RESUMABLE suspend when a space related error is encountered(N)
    RESUMABLE_NAME text string used to identify resumable statement
    RESUMABLE_TIMEOUT wait time for RESUMABLE
    TTS_FULL_CHECK perform full or partial dependency check for TTS
    VOLSIZE number of bytes to write to each tape volume
    TABLESPACES list of tablespaces to export
    TRANSPORT_TABLESPACE export transportable tablespace metadata (N)
    TEMPLATE template name which invokes iAS mode export

    Export terminated successfully without warnings.
    [oracle@localhost test]$ imp help=y

    Import: Release 10.2.0.4.0 - Production on Thu Jan 19 17:25:58 2012

    Copyright (c) 1982, 2007, Oracle. All rights reserved.



    You can let Import prompt you for parameters by entering the IMP
    command followed by your username/password:

    Example: IMP SCOTT/TIGER

    Or, you can control how Import runs by entering the IMP command followed
    by various arguments. To specify parameters, you use keywords:

    Format: IMP KEYWORD=value or KEYWORD=(value1,value2,...,valueN)
    Example: IMP SCOTT/TIGER IGNORE=Y TABLES=(EMP,DEPT) FULL=N
    or TABLES=(T1:P1,T1:P2), if T1 is partitioned table

    USERID must be the first parameter on the command line.

    Keyword Description (Default) Keyword Description (Default)
    --------------------------------------------------------------------------
    USERID username/password FULL import entire file (N)
    BUFFER size of data buffer FROMUSER list of owner usernames
    FILE input files (EXPDAT.DMP) TOUSER list of usernames
    SHOW just list file contents (N) TABLES list of table names
    IGNORE ignore create errors (N) RECORDLENGTH length of IO record
    GRANTS import grants (Y) INCTYPE incremental import type
    INDEXES import indexes (Y) COMMIT commit array insert (N)
    ROWS import data rows (Y) PARFILE parameter filename
    LOG log file of screen output CONSTRAINTS import constraints (Y)
    DESTROY overwrite tablespace data file (N)
    INDEXFILE write table/index info to specified file
    SKIP_UNUSABLE_INDEXES skip maintenance of unusable indexes (N)
    FEEDBACK display progress every x rows(0)
    TOID_NOVALIDATE skip validation of specified type ids
    FILESIZE maximum size of each dump file
    STATISTICS import precomputed statistics (always)
    RESUMABLE suspend when a space related error is encountered(N)
    RESUMABLE_NAME text string used to identify resumable statement
    RESUMABLE_TIMEOUT wait time for RESUMABLE
    COMPILE compile procedures, packages, and functions (Y)
    STREAMS_CONFIGURATION import streams general metadata (Y)
    STREAMS_INSTANTIATION import streams instantiation metadata (N)
    VOLSIZE number of bytes in file on each volume of a file on tape

    The following keywords only apply to transportable tablespaces
    TRANSPORT_TABLESPACE import transportable tablespace metadata (N)
    TABLESPACES tablespaces to be transported into database
    DATAFILES datafiles to be transported into database
    TTS_OWNERS users that own data in the transportable tablespace set

    Import terminated successfully without warnings.
    有心的话数数有多少个参数吧,还真别说,有的面试官就问这问题,所以,赶快数数吧。
    example.0. 显示导入对象的创建语句
    首先创建测试表。
    [oracle@localhost test]$ sqlplus gtlions/gtlions

    SQL*Plus: Release 10.2.0.4.0 - Production on Thu Jan 19 17:34:30 2012

    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.


    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options

    SQL> create table expimptest as select object_id,object_name from dba_objects where rownum<=100;

    Table created.
    SQL> alter table expimptest add constraint PK_OBJID primary key (object_id);

    Table altered.

    SQL> create index IDX_OBJNAME on expimptest (object_name);

    Index created.
    下面先做一个导出操作。
    [oracle@localhost test]$ exp gtlions/gtlions file=exp log=exp

    Export: Release 10.2.0.4.0 - Production on Thu Jan 19 17:39:28 2012

    Copyright (c) 1982, 2007, Oracle. All rights reserved.


    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Export done in ZHS16GBK character set and AL16UTF16 NCHAR character set

    About to export specified users ...
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user GTLIONS
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions for user GTLIONS
    About to export GTLIONS's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    . about to export GTLIONS's tables via Conventional Path ...
    . . exporting table EXPIMPTEST 100 rows exported
    . exporting synonyms
    . exporting views
    . exporting stored procedures
    . exporting operators
    . exporting referential integrity constraints
    . exporting triggers
    . exporting indextypes
    . exporting bitmap, functional and extensible indexes
    . exporting posttables actions
    . exporting materialized views
    . exporting snapshot logs
    . exporting job queues
    . exporting refresh groups and children
    . exporting dimensions
    . exporting post-schema procedural objects and actions
    . exporting statistics
    Export terminated successfully without warnings.
    执行导入,但是并不导入数据,只是需要获得对象创建语句。
    [oracle@localhost test]$ imp gtlions/gtlions file=exp log=imp fromuser=gtlions show=y

    Import: Release 10.2.0.4.0 - Production on Thu Jan 19 17:40:00 2012

    Copyright (c) 1982, 2007, Oracle. All rights reserved.


    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options

    Export file created by EXPORT:V10.02.01 via conventional path
    import done in ZHS16GBK character set and AL16UTF16 NCHAR character set
    . importing GTLIONS's objects into GTLIONS
    "BEGIN "
    "sys.dbms_logrep_imp.instantiate_schema(schema_name=>SYS_CONTEXT('USERENV','"
    "CURRENT_SCHEMA'), export_db_name=>'TEST', inst_scn=>'80271930');"
    "COMMIT; END;"
    "CREATE TABLE "EXPIMPTEST" ("OBJECT_ID" NUMBER, "OBJECT_NAME" VARCHAR2(128))"
    " PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREEL"
    "ISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "GTLIONS" LOGGING "
    "NOCOMPRESS"
    . . skipping table "EXPIMPTEST"

    "CREATE UNIQUE INDEX "PK_OBJID" ON "EXPIMPTEST" ("OBJECT_ID" ) PCTFREE 10 I"
    "NITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 "
    "BUFFER_POOL DEFAULT) TABLESPACE "GTLIONS" LOGGING"
    "CREATE INDEX "IDX_OBJNAME" ON "EXPIMPTEST" ("OBJECT_NAME" ) PCTFREE 10 INI"
    "TRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BU"
    "FFER_POOL DEFAULT) TABLESPACE "GTLIONS" LOGGING"
    "ALTER TABLE "EXPIMPTEST" ADD CONSTRAINT "PK_OBJID" PRIMARY KEY ("OBJECT_ID"
    "") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FRE"
    "ELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "GTLIONS" LOGGIN"
    "G ENABLE "
    Import terminated successfully without warnings.
    [oracle@localhost test]$ cat imp.log

    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options

    Export file created by EXPORT:V10.02.01 via conventional path
    import done in ZHS16GBK character set and AL16UTF16 NCHAR character set
    . importing GTLIONS's objects into GTLIONS
    "BEGIN "
    "sys.dbms_logrep_imp.instantiate_schema(schema_name=>SYS_CONTEXT('USERENV','"
    "CURRENT_SCHEMA'), export_db_name=>'TEST', inst_scn=>'80271930');"
    "COMMIT; END;"
    "CREATE TABLE "EXPIMPTEST" ("OBJECT_ID" NUMBER, "OBJECT_NAME" VARCHAR2(128))"
    " PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREEL"
    "ISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "GTLIONS" LOGGING "
    "NOCOMPRESS"
    . . skipping table "EXPIMPTEST"

    "CREATE UNIQUE INDEX "PK_OBJID" ON "EXPIMPTEST" ("OBJECT_ID" ) PCTFREE 10 I"
    "NITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 "
    "BUFFER_POOL DEFAULT) TABLESPACE "GTLIONS" LOGGING"
    "CREATE INDEX "IDX_OBJNAME" ON "EXPIMPTEST" ("OBJECT_NAME" ) PCTFREE 10 INI"
    "TRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BU"
    "FFER_POOL DEFAULT) TABLESPACE "GTLIONS" LOGGING"
    "ALTER TABLE "EXPIMPTEST" ADD CONSTRAINT "PK_OBJID" PRIMARY KEY ("OBJECT_ID"
    "") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FRE"
    "ELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "GTLIONS" LOGGIN"
    "G ENABLE "
    Import terminated successfully without warnings.
    从上面导入过程的输出或者日志中均可以获得我们想要的DML语句。
    再来一个现实创建索引的语句的例子。
    [oracle@localhost test]$ imp gtlions/gtlions file=exp log=imp fromuser=gtlions indexfile=index

    Import: Release 10.2.0.4.0 - Production on Fri Jan 20 15:07:47 2012

    Copyright (c) 1982, 2007, Oracle. All rights reserved.


    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP,传奇私服发布, Data Mining and Real Application Testing options

    Export file created by EXPORT:V10.02.01 via conventional path
    import done in ZHS16GBK character set and AL16UTF16 NCHAR character set
    . . skipping table "EXPIMPTEST"

    Import terminated successfully without warnings.
    [oracle@localhost test]$ cat index.sql

    REM CREATE TABLE "GTLIONS"."EXPIMPTEST" ("OBJECT_ID" NUMBER,
    REM "OBJECT_NAME" VARCHAR2(128)) PCTFREE 10 PCTUSED 40 INITRANS 1
    REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
    REM BUFFER_POOL DEFAULT) TABLESPACE "GTLIONS" LOGGING NOCOMPRESS ;
    REM ... 100 rows
    CONNECT GTLIONS;
    CREATE UNIQUE INDEX "GTLIONS"."PK_OBJID" ON "EXPIMPTEST" ("OBJECT_ID" )
    PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
    FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "GTLIONS" LOGGING ;
    CREATE INDEX "GTLIONS"."IDX_OBJNAME" ON "EXPIMPTEST" ("OBJECT_NAME" )
    PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
    FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "GTLIONS" LOGGING ;
    REM ALTER TABLE "GTLIONS"."EXPIMPTEST" ADD CONSTRAINT "PK_OBJID" PRIMARY
    REM KEY ("OBJECT_ID") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
    REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
    REM DEFAULT) TABLESPACE "GTLIONS" LOGGING ENABLE ;
    example.1. 挂起测试
    下面测试一个空间不够的例子,在测试之前将用户的空间使用权限收回。
    SQL> select * from dba_sys_privs where grantee='GTLIONS';

    GRANTEE PRIVILEGE ADM
    ------------------------------ ---------------------------------------- ---
    GTLIONS UNLIMITED TABLESPACE NO

    SQL> revoke unlimited tablespace from gtlions;

    Revoke succeeded.

    SQL> select * from dba_sys_privs where grantee='GTLIONS';

    no rows selected

    接着进行导入,正常情况下就会导入失败提示没有使用空间。
    [oracle@localhost test]$ imp gtlions/gtlions file=exp.dmp log=imp.log fromuser=gtlions

    Import: Release 10.2.0.4.0 - Production on Fri Jan 20 15:26:02 2012

    Copyright (c) 1982,复古传奇私服, 2007, Oracle. All rights reserved.


    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options

    Export file created by EXPORT:V10.02.01 via conventional path
    import done in ZHS16GBK character set and AL16UTF16 NCHAR character set
    . importing GTLIONS's objects into GTLIONS
    IMP-00017: following statement failed with ORACLE error 1536:
    "CREATE TABLE "EXPIMPTEST" ("OBJECT_ID" NUMBER, "OBJECT_NAME" VARCHAR2(128))"
    " PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREEL"
    "ISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) LOGGING "
    "NOCOMPRESS"
    IMP-00003: ORACLE error 1536 encountered
    ORA-01536: space quota exceeded for tablespace 'USERS'
    Import terminated successfully with warnings.
    如果增加了挂起参数,可以看到导入并不会失败,只是挂起:
    [oracle@localhost test]$ imp gtlions/gtlions file=exp.dmp log=imp.log fromuser=gtlions resumable=y resumable_name=not_enough_space resumable_timeout=3600

    Import: Release 10.2.0.4.0 - Production on Fri Jan 20 15:33:12 2012

    Copyright (c) 1982, 2007, Oracle. All rights reserved.


    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options

    Export file created by EXPORT:V10.02.01 via conventional path
    import done in ZHS16GBK character set and AL16UTF16 NCHAR character set
    . importing GTLIONS's objects into GTLIONS
    这个时候可以去数据库查看相关视图并解决,问题解决后导入就会自动继续。
    SQL> select user_id,name,sql_text from dba_resumable;

    USER_ID
    ----------
    NAME
    ----------------------------------------------------------------------------------------------------------------------------------
    SQL_TEXT
    ----------------------------------------------------------------------------------------------------------------------------------
    57
    not_enough_space
    CREATE TABLE "EXPIMPTEST" ("OBJECT_ID" NUMBER, "OBJECT_NAME" VARCHAR2(128)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE
    (INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) LOGGING NOCOMPRESS


    SQL> grant unlimited tablespace to gtlions;

    Grant succeeded.
    example.2. 传输表空间
    注意:
    传输表空间要求表空间置于只读状态;
    且必须dba操作;
    目标库必须存在对应用户。
    操作步骤:导出表空间置于只读->执行导出->传输表空间的数据文件->导出表空间置于读写->执行导入。
    [oracle@localhost test]$ exp gtlions/gtlions file=exp.dmp log=exp.log tablespaces=gtlions transport_tablespace=y

    Export: Release 10.2.0.4.0 - Production on Fri Jan 20 15:38:47 2012

    Copyright (c) 1982, 2007, Oracle. All rights reserved.


    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP,变态传奇私服, Data Mining and Real Application Testing options
    EXP-00044: must be connected 'AS SYSDBA' to do Point-in-time Recovery or Transportable Tablespace import
    EXP-00000: Export terminated unsuccessfully
    [oracle@localhost test]$ exp \"gtlions/gtlions as sysdba \" file=exp.dmp log=exp.log tablespaces=gtlions transport_tablespace=y

    Export: Release 10.2.0.4.0 - Production on Fri Jan 20 15:39:11 2012

    Copyright (c) 1982, 2007, Oracle. All rights reserved.


    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Export done in ZHS16GBK character set and AL16UTF16 NCHAR character set
    Note: table data (rows) will not be exported
    About to export transportable tablespace metadata...
    EXP-00008: ORACLE error 29335 encountered
    ORA-29335: tablespace 'GTLIONS' is not read only
    ORA-06512: at "SYS.DBMS_PLUGTS", line 507
    ORA-06512: at line 1
    EXP-00000: Export terminated unsuccessfully
    [oracle@localhost test]$ sqlplus "/as sysdba"

    SQL*Plus: Release 10.2.0.4.0 - Production on Fri Jan 20 15:39:21 2012

    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.


    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options

    SQL> alter tablespace gtliosn read only;
    alter tablespace gtliosn read only
    *
    ERROR at line 1:
    ORA-00959: tablespace 'GTLIOSN' does not exist


    SQL> alter tablespace gtlions read only;

    Tablespace altered.

    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [oracle@localhost test]$ exp \"gtlions/gtlions as sysdba \" file=exp.dmp log=exp.log tablespaces=gtlions transport_tablespace=y

    Export: Release 10.2.0.4.0 - Production on Fri Jan 20 15:39:53 2012

    Copyright (c) 1982, 2007, Oracle. All rights reserved.


    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Export done in ZHS16GBK character set and AL16UTF16 NCHAR character set
    Note: table data (rows) will not be exported
    About to export transportable tablespace metadata...
    For tablespace GTLIONS ...
    . exporting cluster definitions
    . exporting table definitions
    . . exporting table EXPIMPTEST
    . exporting referential integrity constraints
    . exporting triggers
    . end transportable tablespace metadata export
    Export terminated successfully without warnings.
    [oracle@localhost test]$ imp \"sys/test as sysdba \" file=exp.dmp log=imp.log fromuser=gtlions touser=gtlions datafiles='/usr/oracle/oradata/TEST1/gtlions01.dbf' tablespaces=gtlions transport_tablespace=y

    Import: Release 10.2.0.4.0 - Production on Fri Jan 20 15:49:47 2012

    Copyright (c) 1982, 2007, Oracle. All rights reserved.


    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options

    Export file created by EXPORT:V10.02.01 via conventional path
    About to import transportable tablespace(s) metadata...
    import done in ZHS16GBK character set and AL16UTF16 NCHAR character set
    . importing GTLIONS's objects into GTLIONS
    . . importing table "EXPIMPTEST"
    Import terminated successfully without warnings.
    大概的测试了下比较使用而且可能会用到的几个参数,其实大部分的参数只要有个了解,以后遇到问题的时候能够想起即可,到时临时报下佛脚即可。
    -The End-




    [2]

    11. 关于习惯的养成,必须要说明的:经常看到有些人传奇sf说,说说容易,做起来哪有那么容易啊(另一个无关习惯的“说起来容易做起来难”则是因为纸上谈兵不可能算计到所有现实中的因素,但那是另一个问题)。对此我要说的是,做起来当然不容易,所谓江山易改,本性难移。人的性格和认识事物的框架是长期积累养成的,并且人们非常珍视自己的信念(英语里面表达不相信某个东西叫做“I don't buy it”)。从进化心理学上这是有依据的,一个经过时间检验的信念往往是更靠谱的。只不过可惜的是靠谱不代表最佳,一个信念能让你活下来并不代表能让你活得最好(详见,更多的例子参见)。我们评判一个信念的标准是原则(即足够,能行就好,这个术语不是我提的,是大牛提的),并不是optimizing原则。话说回来,为什么说起来容易做起来难,是因为“说”只是理性上承认正确,最新网通传奇私服,并没有考虑到我们每个人大脑中居住的那个非理性自我。这个以强大的情绪力量为动机,以习惯为己任,每时每刻都我们的行为。因为它掌握了“情绪”这个武器,传奇私服合击版,所以我们只能时时拿它当大爷。不记得是哪位哲学家说的了,理性是感性的奴隶。那么,是不是就是说无法克服既有习惯了?以我的经验(以及观察到的别人的经验),还是可以的。第一条就是认识到习惯的改变绝不是一天两天的事情,承认它的难度。第二条就是如果你真想改掉习惯,就需要在过程中常常注意观察自己的行为,否则习惯会以一种你根本觉察不到的方式左右你的行为让你功亏一篑。有一个认知技巧也许可以缓解更改习惯过程中的不适:即把居住在内心的那个非理性自我当成你自己的孩子(你要去培养他),或者你的对手(你要去打败他)也行。总之不能当成自己,因为每个人都不想改变自己。这里转一个认知技巧的例子:李笑来老师在(顺便也推荐这本开放电子书)中他一个朋友用另一个认知技巧来克服背单词的枯燥的:

    相关文章

    1. Google&Wiki(遇到问题做的第一件事情,也是学习某个东西做功课(homework)最先用到的东西。

    By 刘未鹏

    7. 多看的书,因为它们是跨学科的。知识分两种,一是我们通常所谓的知识,即领域知识。二是关于我们的大脑吸收知识的机制的知识,后者不妨称为元知识。虽说这也是领域知识,但跟其它的领域知识不同的是,它指导着我们学习其它所有的领域知识。

    因为,一共要搞定20,000个单词,而因此可能获得的奖学金是每年40,000美元左右——并且连续四年没有失业可能(后来的事实是,他直到五年之后才获得了博士学位)。当时的美元兑换传奇世界sf的汇率差不多是8:1,所以,大约应该相当于320,000元传奇世界sf。而如果一年的税后收入是320,000元传奇世界sf的话,那么税前就要赚取差不多400,000元传奇世界sf。那么,每个单词应该大约值20元传奇世界sf——这还只不过是这算了一年的收入而已。

    3. 做读书笔记。一是将自己阅读的时候的思考(包括闪念)总结下来,二是将书中的好例子摘抄下来。(这个习惯是一年前才养成的,发现受益极大。)有了google note,笔记可以加上tag,非常便于回顾,加深理解。我觉得,人与人学习的差距不在资质上,而在花在思考的时间和思考的深度上(后两者常常也是相关的)。

    [3]

    所以,他终于明白背单词是非常快乐的。他每天都强迫自己背下200个单词。而到了晚上验收效果的时候,每在确定记住了的单词前面画上一个勾的时候,他就要想象一下刚刚数过一张20元冒险岛私服的钞票。每天睡觉的时候总感觉心满意足,因为今天又赚了4000块!

    4. 提到思考,我有一个小习惯。利用走路和吃饭的时候思考,还有睡觉前必然要弄一个问题放在脑子里面,在思考中迷糊入睡。发现这样一来往往在不知不觉中多出来大量的思考时间。

    C++的罗浮宫()

    [4]

    2. 看书挑剔,。如何选择经典,可以到网上做做功课,看看评价,综合分析一下。

    [1]

    10. 善于利用小块时间,也就是《奇特的一生》中所说的“时间下脚料”,如何利用前面有几个方法。同时,也善于创造整块时间(如通过要事优先)。

    6. 重要的事情营造比较大的时间块来完成。比如一本好书,或者一个重要的知识点,最好不要切得太琐碎了看,否则看了后面忘了前面。不利于知识的组织&联系。

    4a. 将思考成为习惯还有一个很大的好处——避免焦虑。卡耐基用讲了一个有效的做法来避免焦虑——底线思考。然而实际上还有另一个有效的做法,就是投入地做另一件事情。不去想"喜马拉雅山上的猴子"的方法并不是使劲的告诉自己不去想"喜马拉雅山上的猴子",因为那样等于就是脑袋里想了那只猴子,正确的做法是真的不去想那猴子,而是想别的。用别的东西充满工作记忆,其他的神经活动自然会被抑制(神经科学基本事实)。所以,感到焦虑的时候不妨思考吧,甚至完全可以去理性分析和思考导致焦虑的问题本身,将其拆解,分析来源,在不知不觉中,大脑的工作重心就从情绪模块转向了推理模块了,而且这思考也可能顺带更有效地解决了导致焦虑的问题呢:)

    8. 学习一项知识,必须问自己三个重要问题:1. 它的本质是什么。2. 它的第一原则是什么。3. 它的知识结构是怎样的。

    9. 获得的多少并不取决于读了多少,而取决于思考了多少、多深。

    5. 重要的事情优先(详见史蒂芬·柯维的)。尽量避免琐事骚扰,不重要的事情能不做就不做。有时候,紧急的事情往往只是当事人觉得必须马上做完才显得紧急或者干脆就是紧他人之急,最糟糕的就是纯属性格上原因觉得每件事情都得第一时间完成,很多看上去紧急的事情实际上并不是真的"不能再拖了",有的干脆就并不需要或值得去做。有很多事情都是可以先放一放甚至完全let go的,否则的话就整天被所谓"紧急"的事情牵着鼻子走了。

    我也不知道这会有几个parts,总结到哪是哪吧:)

    注意,这跟自我欺骗不同。一来,我们的情绪系统只能这般对付(中提到,大脑中的新皮层(neocortex,所谓“理性”居住的地方,尤其是前额叶)在进化历史上是较为新近的年代才进化出来的,跟底层较原始的模块(如主管情绪的杏仁核)之间的神经网络沟通并不是合作无间,这就解释了为什么有些事情我们明明知道是对的,但就是不能说服自己,情绪还是在那里不依不挠的驱使你去做另一样事情)。二来,我们知道在干什么,所以不能算欺骗:P 总之,对于习惯的更改,除了最重要的一日三省,加上一些认知技巧(其实每个人都是自己的心理学家,你可以自己看看能不能想出什么法子)。其实是没有什么速效银弹的。但是,知难而不退嘛,值得做的事情几乎总是如此:)

    一直以来伴随我的一些学习习惯(part1)

    浏览次数:
    最新文章
    ·传奇世界sf 一直以来伴随我的一些学习习
    ·熬夜博客39健康搜(转)营养与健康jian
    ·传奇私服发布 算法面试:精选微软经典的
    ·春季养肝护肝最需七种营养 - 保健常识
    ·CCTV播完美新闻 镜头泄漏《圣斗士OL》
    ·传世sf 瘦了,怎么办
    ·梁祝的相册??东方财富网博客华菱钢铁(
    ·BD蓝光(BD)光盘的基本知识-影音时尚-ZO
    ·传奇私服服务器 破天一剑sf权重提高的方
    ·人生道路上,请你为自己喝彩
    热门文章
    · 传奇世界sf 一直以来伴随我的一些学习习
    · 熬夜博客39健康搜(转)营养与健康jian
    · 传奇私服发布 算法面试:精选微软经典的
    · 春季养肝护肝最需七种营养 - 保健常识
    · 梁祝的相册??东方财富网博客华菱钢铁(
    · CCTV播完美新闻 镜头泄漏《圣斗士OL》
    · 传世sf 瘦了,怎么办
    · BD蓝光(BD)光盘的基本知识-影音时尚-ZO
    · 传奇私服服务器 破天一剑sf权重提高的方
    · 洋河股份(002304) 研报一览 数据中心
    Copyright © 2009 http://WWW.XA1861.COM/ All rights reserved.
    传奇外传下载 提供1.85传奇似服发布网,传奇外传私服刷元宝,新开网通热血传奇,传世私发布网sf,牛b三英雄传奇 版权所有
    请使用1024*768分辨率浏览本站以达到最佳视觉效果