标签云
asm恢复 bbed bootstrap$ dul In Memory kcbzib_kcrsds_1 kccpb_sanity_check_2 MySQL恢复 ORA-00312 ORA-00607 ORA-00704 ORA-00742 ORA-01110 ORA-01555 ORA-01578 ORA-01595 ORA-08103 ORA-600 2131 ORA-600 2662 ORA-600 3020 ORA-600 4000 ORA-600 4137 ORA-600 4193 ORA-600 4194 ORA-600 16703 ORA-600 kcbzib_kcrsds_1 ORA-600 KCLCHKBLK_4 ORA-15042 ORA-15196 ORACLE 12C oracle dul ORACLE PATCH Oracle Recovery Tools oracle加密恢复 oracle勒索 oracle勒索恢复 oracle异常恢复 Oracle 恢复 ORACLE恢复 ORACLE数据库恢复 oracle 比特币 OSD-04016 YOUR FILES ARE ENCRYPTED 勒索恢复 比特币加密文章分类
- Others (2)
- 中间件 (2)
- WebLogic (2)
- 操作系统 (103)
- 数据库 (1,769)
- DB2 (22)
- MySQL (77)
- Oracle (1,610)
- Data Guard (52)
- EXADATA (8)
- GoldenGate (24)
- ORA-xxxxx (166)
- ORACLE 12C (72)
- ORACLE 18C (6)
- ORACLE 19C (15)
- ORACLE 21C (3)
- Oracle 23ai (8)
- Oracle ASM (69)
- Oracle Bug (8)
- Oracle RAC (54)
- Oracle 安全 (6)
- Oracle 开发 (28)
- Oracle 监听 (29)
- Oracle备份恢复 (592)
- Oracle安装升级 (97)
- Oracle性能优化 (62)
- 专题索引 (5)
- 勒索恢复 (86)
- PostgreSQL (30)
- pdu工具 (6)
- PostgreSQL恢复 (9)
- SQL Server (32)
- SQL Server恢复 (13)
- TimesTen (7)
- 达梦数据库 (3)
- 达梦恢复 (1)
- 生活娱乐 (2)
- 至理名言 (11)
- 虚拟化 (2)
- VMware (2)
- 软件开发 (39)
- Asp.Net (9)
- JavaScript (12)
- PHP (2)
- 小工具 (22)
-
最近发表
- 2025年的Oracle 8.0.5数据库恢复
- ORA-600 kokiasg1故障分析(obj$中核心字典序列全部被恶意删除)
- ORA-00756 ORA-10567故障数据0丢失恢复
- 数据库文件变成32k故障恢复
- tcp连接过多导致监听TNS-12532 TNS-12560 TNS-00502错误
- 文件系统格式化MySQL数据库恢复
- .sstop勒索加密数据库恢复
- 解决一次硬件恢复之后数据文件0kb的故障恢复case
- Error in invoking target ‘libasmclntsh19.ohso libasmperl19.ohso client_sharedlib’问题处理
- ORA-01171: datafile N going offline due to error advancing checkpoint
- linux环境oracle数据库被文件系统勒索加密为.babyk扩展名溯源
- ORA-600 ksvworkmsgalloc: bad reaper
- ORA-600 krccfl_chunk故障处理
- Oracle Recovery Tools恢复案例总结—202505
- ORA-600 kddummy_blkchk 数据库循环重启
- 记录一次asm disk加入到vg通过恢复直接open库的案例
- CHECKDB 发现了 N 个分配错误和 M 个一致性错误
- 达梦数据库dm.ctl文件异常恢复
- Oracle Recovery Tools修复ORA-00742、ORA-600 ktbair2: illegal inheritance故障
- 可能是 tempdb 空间用尽或某个系统表不一致故障处理
月归档:二月 2012
Timesten安装与试用
1.安装timesten
[oracle@bas linux8664]$ ./setup.sh NOTE: Each TimesTen installation is identified by a unique instance name. The instance name must be a non-null alphanumeric string, not longer than 255 characters. Please choose an instance name for this installation? [ tt1122 ] xifenfei Instance name will be 'xifenfei'. Is this correct? [ yes ] yes Of the three components: [1] Client/Server and Data Manager [2] Data Manager Only [3] Client Only Which would you like to install? [ 1 ] 1 Of the following options : [1] /home/oracle [2] /home/oracle/timesten [3] Specify a location [q] Quit the installation Where would you like to install the xifenfei instance of TimesTen? [ 1 ] 2 Where would you like to create the daemon home directory? [ /home/oracle/timesten/TimesTen/xifenfei/info ] The daemon logs will be located in /home/oracle/timesten/TimesTen/xifenfei/info Would you like to specify a different location for the daemon logs? [ no ] Installing into /home/oracle/timesten/TimesTen/xifenfei ... Uncompressing ... NOTE: If you are configuring TimesTen for use with Oracle Clusterware, the daemon port number must be the same across all TimesTen installations managed within the same Oracle Clusterware cluster. NOTE: All installations that replicate to each other must use the same daemon port number that is set at installation time. The daemon port number can be verified by running 'ttVersion'. The default port number is 53396. Do you want to use the default port number for the TimesTen daemon? [ yes ] The daemon will run on the default port number (53396). NOTE: For security, we recommend that you restrict access to the TimesTen installation to members of a single OS group. Only members of that OS group will be allowed to perform direct mode connections to TimesTen, and only members of that OS group will be allowed to perform operations that access TimesTen data stores, TimesTen files and shared memory. The OS group defaults to the primary group of the instance administrator. You can default to this group, choose another OS group or you can make this instance world-accessible. If you choose to make this instance world-accessible, all database files and shared memory are readable and writable by all users. Restrict access to the the TimesTen installation to the group 'oinstall'? [ yes ] yes NOTE: Enabling PL/SQL will increase the size of some TimesTen libraries. Would you like to enable PL/SQL for this instance? [ yes ] yes TNS_ADMIN was not set in your environment but there is a tnsnames.ora file in /opt/app/oracle/product/10.2.0/db_1/network/admin. Would you like to use this TNS_ADMIN setting for the In-Memory Database Cache? [ yes ] yes TNS_ADMIN will be set to /opt/app/oracle/product/10.2.0/db_1/network/admin You can change TNS_ADMIN later by running <install_dir>/bin/ttmodinstall. NOTE: It appears that you are running version 3.4 or higher of the g++ compiler. TimesTen ships with multiple sets of client libraries and server binaries : one built for compatibility with g++ 3.4.6 and one with g++ 4.1.0. The installer has created links to the 3.4.6 library in the <install_dir>/lib directory and to the 3.4.6 server binary in the <install_dir>/bin directory. If you want to use a different compiler, please modify the links to point to the desired library and server binary. Installing server components ... What is the TCP/IP port number that you want the TimesTen Server to listen on? [ 53397 ] Do you want to install QuickStart and the TimesTen Documentation? [ no ] no Would you like to install the documentation (without QuickStart)? [ yes ] Where would you like to create the doc directory (s=skip)? [ /home/oracle/timesten/TimesTen/xifenfei/doc ] s Installing client components ... Would you like to use TimesTen Replication with Oracle Clusterware? [ no ] no NOTE: The TimesTen daemon startup/shutdown scripts have not been installed. Run the 'setuproot' script : cd /home/oracle/timesten/TimesTen/xifenfei/bin ./setuproot -install This will move the TimesTen startup script into its appropriate location. The startup script is currently located here : '/home/oracle/timesten/TimesTen/xifenfei/startup/tt_xifenfei'. The documentation was not installed. To manually install the documentation, run the command 'setup.sh -installDoc' The 11.2.2.2 Release Notes are located here : '/home/oracle/timesten/TimesTen/xifenfei/README.html' Starting the daemon ... TimesTen Daemon startup OK. End of TimesTen installation. --设置开机启动 [root@bas linux8664]# cd /home/oracle/timesten/TimesTen/xifenfei/bin/ [root@bas bin]# ./setuproot -install Would you like to install the TimesTen daemon startup scripts into /etc/init.d? [ yes ] yes Copying /home/oracle/timesten/TimesTen/xifenfei/startup/tt_xifenfei to /etc/init.d Successfully installed the following scripts : /etc/init.d/tt_xifenfei /etc/rc.d/rc0.d/K45tt_xifenfei /etc/rc.d/rc1.d/K45tt_xifenfei /etc/rc.d/rc2.d/S90tt_xifenfei /etc/rc.d/rc3.d/S90tt_xifenfei /etc/rc.d/rc5.d/S90tt_xifenfei /etc/rc.d/rc6.d/K45tt_xifenfei
2.配置DSN
[root@bas info]# pwd /home/oracle/timesten/TimesTen/xifenfei/info [root@bas info]# more sys.odbc.ini [ODBC Data Sources] TT_1122=TimesTen 11.2.2 Driver [TT_1122] Driver=/home/oracle/timesten/TimesTen/xifenfei/lib/libtten.so DataStore=/home/oracle/timesten/TimesTen/xifenfei/info/TT_1122 DatabaseCharacterSet=ZHS16GBK PermSize=300 TempSize=64 OracleNetServiceName=orcl_tt
Driver = the TimesTen Direct Linked ODBC Driver
DataStore = the location and the name of the database files
LogDir = the directory for the transaction logs
PermSize = the size of the permanent region of the database. In the above example, this is configured for 40MB
TempSize = the size of the temporary region of the database. In the above example, this is configured for 32MB
DatabaseCharacterSet = the character set used by the database
OracleNetServiceName = the TNS service name to the Oracle database. This attribute is required for In-Memory Database Cache only.
3.查看相关文件和进程
[root@bas info]# ps -ef|grep timesten|grep -v grep oracle 30391 1 0 00:01 ? 00:00:00 /home/oracle/timesten/TimesTen/xifenfei/bin/timestend -initfd 13 oracle 30395 30391 0 00:01 ? 00:00:00 /home/oracle/timesten/TimesTen/xifenfei/bin/timestensubd -verbose -userlog tterrors.log -supportlog ttmesg.log -id 1000000 -facility user oracle 30396 30391 0 00:01 ? 00:00:00 /home/oracle/timesten/TimesTen/xifenfei/bin/timestensubd -verbose -userlog tterrors.log -supportlog ttmesg.log -id 1000001 -facility user oracle 30397 30391 0 00:01 ? 00:00:00 /home/oracle/timesten/TimesTen/xifenfei/bin/timestensubd -verbose -userlog tterrors.log -supportlog ttmesg.log -id 1000002 -facility user oracle 30398 30391 0 00:01 ? 00:00:00 /home/oracle/timesten/TimesTen/xifenfei/bin/timestensubd -verbose -userlog tterrors.log -supportlog ttmesg.log -id 1000003 -facility user oracle 30400 30391 0 00:01 ? 00:00:00 /home/oracle/timesten/TimesTen/xifenfei/bin/ttcserver -verbose -userlog tterrors.log -supportlog ttmesg.log -id 1000004 -p 53397 -facility user -group oinstall
[root@bas TimesTen]# pwd /home/oracle/timesten/TimesTen [root@bas TimesTen]# ls -l total 4 drwxr-x--- 17 oracle oinstall 4096 Feb 12 00:01 xifenfei [root@bas TimesTen]# cd xifenfei [root@bas xifenfei]# ls -l total 140 drwxr-x--- 4 oracle oinstall 4096 Feb 12 00:01 3rdparty drwxr-x--- 2 oracle oinstall 4096 Feb 12 00:43 bin drwxr-x--- 3 oracle oinstall 4096 Dec 24 00:23 include drwxr-x--- 2 oracle oinstall 4096 Feb 12 00:18 info drwxr-x--- 2 oracle oinstall 4096 Feb 12 00:00 lib drwxr-x--- 2 oracle oinstall 4096 Dec 24 00:23 mibs drwxr-x--- 3 oracle oinstall 4096 Dec 24 00:23 network drwxr-x--- 3 oracle oinstall 4096 Dec 24 00:23 nls drwxr-x--- 2 oracle oinstall 4096 Dec 24 00:23 oraclescripts drwxr-x--- 4 oracle oinstall 4096 Feb 11 23:59 PERL drwxr-x--- 8 oracle oinstall 4096 Dec 24 00:23 plsql -r--r----- 1 oracle oinstall 74764 Feb 12 00:00 README.html drwxr-x--- 2 oracle oinstall 4096 Feb 11 23:59 startup drwxr-x--- 2 oracle oinstall 4096 Dec 24 00:23 support drwxrw---- 5 oracle oinstall 4096 Feb 12 00:00 ttclasses drwxr-x--- 3 oracle oinstall 4096 Feb 11 23:59 ttoracle_home
4.试用Timesten
[oracle@bas bin]$ ttisql -version TimesTen Release 11.2.2.2.0 [oracle@bas info]$ ttisql TT_1122 Copyright (c) 1996-2011, Oracle. All rights reserved. Type ? or "help" for help, type "exit" to quit ttIsql. connect "DSN=TT_1122"; Warning 01S00: Undefined connection attribute "ConnectionCharacte" on line 144 of file /home/oracle/timesten/TimesTen/xifenfei/info/sys.odbc.ini Connection successful: DSN=TT_1122;UID=oracle;DataStore=/home/oracle/timesten/TimesTen/xifenfei/info/TT_1122;DatabaseCharacterSet=ZHS16GBK;ConnectionCharacterSet=US7ASCII;DRIVER=/home/oracle/timesten/TimesTen/xifenfei/lib/libtten.so;PermSize=300;TempSize=64;TypeMode=0;OracleNetServiceName=orcl_tt; (Default setting AutoCommit=1) Command> tables; 0 tables found. Command> create table t_xff(id number,name varchar2(100)); Command> tables; ORACLE.T_XFF 1 table found. Command> desc t_xff; Table ORACLE.T_XFF: Columns: ID NUMBER NAME VARCHAR2 (100) INLINE 1 table found. Command> insert into t_xff values(1,'xifenfei'); 1 row inserted. Command> insert into t_xff values(2,'www.xifenfei.com'); 1 row inserted. Command> commit; Command> select * from t_xff; < 1, xifenfei > < 2, www.xifenfei.com > 2 rows found. Command> update t_xff set name='xff' where id=1; 1 row updated. Command> select * from t_xff; < 1, xff > < 2, www.xifenfei.com > 2 rows found. Command> delete from t_xff where id=1; 1 row deleted. Command> commit; Command> select * from t_xff; < 2, www.xifenfei.com > 1 row found. Command> help Use "help all" to get a description of all commands or use "help <cmd>" to limit it to that command. ? free sqlcolumns ! functions sqlgetinfo @@ globalprocessing sqlquerytimeout accept help sqlstatistics allfunctions history sqltables allindexes host statsclear allpackages if statsestimate allprocedures indexes statsupdate allsequences isolation synonyms allsynonyms monitor tables alltables tblsize timing allviews multipleconnections tryglobalprocessing autocommit ncharencoding tryhash builtins optfirstrow trymaterialize cachegroups optprofile trymergejoin cachesqlget packages trynestedloopjoin clearhistory passthrough tryrowid clienttimeout prefetchcount tryrowlocks close prepare tryserial closeall print trytbllocks cmdcache procedures trytmphash columnlabels quantify trytmptable commit prompt trytmprange commitdurable remark tryrange compact repschemes undefine compare retryconnect unsetjoinorder connect rollback unsetuseindex define run use describe savehistory variable disconnect sequences verbosity dssize set version e: setjoinorder vertical exec setuseindex views execandfetch setvariable waitfor exit show whenever explain showjoinorder xlabookmarkdelete fetchall showplan <sql_statement> fetchone sleep Command> exit Disconnecting... Done.
发表在 TimesTen
评论关闭
nmon使用说明
Nmon 工具是 IBM 提供的免费的监控 AIX 系统与 Linux 系统资源的工具。该工具可实时监控系统性能,也可以将服务器的系统资源耗用情况收集起来并输出一个特定的文件,并可利用 excel 分析工具进行数据的统计分析,非常利用 UNIX 或者 Linux 系统的性能数据分析。
1.下载地址
nmon官网
NMON_Analyser官网
本地下载nmon
本地下载nmon_analyser
2.安装nmon
在压缩包中找到相应的版本,上传至服务器,然后授予执行权限
3.主要操作说明
+-HELP---------most-keys-toggle-on/off------------------------------------------+ |h = Help information q = Quit nmon 0 = reset peak counts | |+ = double refresh time - = half refresh r = ResourcesCPU/HW/MHz/AIX | |c = CPU by processor C=upto 128 CPUs p = LPAR Stats (if LPAR) | |l = CPU avg longer term k = Kernel Internal # = PhysicalCPU if SPLPAR | |m = Memory & Paging M = Multiple Page Sizes P = Paging Space | |d = DiskI/O Graphs D = DiskIO +Service times o = Disks %Busy Map | |a = Disk Adapter e = ESS vpath stats V = Volume Group stats | |^ = FC Adapter (fcstat) O = VIOS SEA (entstat) v = Verbose=OK/Warn/Danger | |n = Network stats N=NFS stats (NN for v4) j = JFS Usage stats | |A = Async I/O Servers w = see AIX wait procs "="= Net/Disk KB<-->MB | |b = black&white mode g = User-Defined-Disk-Groups (see cmdline -g) | |t = Top-Process ---> 1=basic 2=CPU-Use 3=CPU(default) 4=Size 5=Disk-I/O | |u = Top+cmd arguments U = Top+WLM Classes . = only busy disks & procs | |W = WLM Section S = WLM SubClasses) |
4.实时监控结果
1)监控内存使用情况
| Memory -----------------------------------------------------------------------| | Physical PageSpace | pages/sec In Out | FileSystemCache | |% Used 93.8% 34.3% | to Paging Space 0.0 0.0 | (numperm) 44.3% | |% Free 6.2% 65.7% | to File System 0.0 257.9 | Process 18.2% | |MB Used 1786.0MB 175.8MB | Page Scans 0.0 | System 31.4% | |MB Free 118.0MB 336.2MB | Page Cycles 0.0 | Free 6.2% | |Total(MB) 1904.0MB 512.0MB | Page Steals 0.0 | ------| | | Page Faults 279.9 | Total 100.0% | |------------------------------------------------------------ | numclient 44.3% | |Min/Maxperm 361MB( 19%) 1443MB( 76%) <--% of RAM | maxclient 75.8% | |Min/Maxfree 960 1088 Total Virtual 2.4GB | User 58.4% | |Min/Maxpgahead 2 8 Accessed Virtual 0.9GB 40.1%| Pinned 28.6% | |-------------------------------------------------------------------------------|
2)监控cpu使用情况
| 0----------25-----------50----------75----------100 |CPU User% Sys% Wait% Idle%| | | | | | 0 0.0 0.0 0.0 100.0|> | | 1 0.0 0.0 0.0 100.0|> | | 2 0.0 0.0 0.0 100.0|> | | 3 0.0 0.0 0.0 100.0|> | |Physical Averages +-----------|------------|-----------|------------+ |All 0.2 2.5 0.7 96.6|> | | +-----------|------------|-----------|------------+
3)监控进程状态
| Top-Processes-(147) -----Mode=3 [1=Basic 2=CPU 3=Perf 4=Size 5=I/O 6=Cmds]-----------------------------| | PID %CPU Size Res Res Res Char RAM Paging Command | | Used KB Set Text Data I/O Use io other repage | | 1908868 0.8 30508 29764 132 29632 2 2% 0 3 0 secldapclntd | | 2306196 0.7 512 512 0 512 0 0% 1 8 0 trclogio | | 2732116 0.6 2520 0 0 0 0 0% 0 33 0 <defunct Zombie>| | 340036 0.2 1416 296 72 224 0 0% 0 0 0 dtgreet |
5.监控一段时间性能
-f spreadsheet output format [note: default -s300 -c288] optional -s <seconds> between refreshing the screen [default 2] -c <number> of refreshes [default millions] -t spreadsheet includes top processes 具体信息nmon -h
例如:nmon -f -t -s 30 -c 120
-s 30:每30秒进行一次数据采集
-c 120:一共采集120次
6.分析数据
打开nmon analyser,设置宏的安全级别是低 ,之后点击 Analyser NMON data 按钮 输入文件 保存成excel格式即可。
Easy Connect Naming Method与EZCONNECT关系
Easy Connect Naming Method这个东西是Oracle 10g推出的东东,我想不用我解释它的好,dba和开发人员都喜欢它,以前一直都用它,从没有关注到它和sqlnet.ora中的NAMES.DIRECTORY_PATH的关系,昨天一朋友和我说到了EZCONNECT,今天查询了一些资料和做了一些实验,使得自己对NAMES.DIRECTORY_PATH和EZCONNECT有了新的认识,也怪自己一致忽略了这个知识点。
1.NAMES.DIRECTORY_PATH= (TNSNAMES)
[oracle@node1 samples]$ more $ORACLE_HOME/network/admin/sqlnet.ora #NAMES.DIRECTORY_PATH= (EZCONNECT) NAMES.DIRECTORY_PATH= (TNSNAMES) [oracle@node1 samples]$ sqlplus hr/xifenfei@127.0.0.1/ecp SQL*Plus: Release 10.2.0.5.0 - Production on Wed Feb 8 23:12:12 2012 Copyright (c) 1982, 2010, Oracle. All Rights Reserved. ERROR: ORA-12154: TNS:could not resolve the connect identifier specified Enter user-name: ERROR: ORA-01017: invalid username/password; logon denied Enter user-name: ERROR: ORA-01017: invalid username/password; logon denied SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
证明sqlnet.ora中的NAMES.DIRECTORY_PATH设置为TNSNAMES时,Easy Connect Naming Method不能工作。
2.NAMES.DIRECTORY_PATH= (EZCONNECT)
[oracle@node1 samples]$ more $ORACLE_HOME/network/admin/sqlnet.ora NAMES.DIRECTORY_PATH= (EZCONNECT) #NAMES.DIRECTORY_PATH= (TNSNAMES) [oracle@node1 samples]$ sqlplus hr/xifenfei@127.0.0.1/ecp SQL*Plus: Release 10.2.0.5.0 - Production on Wed Feb 8 23:13:21 2012 Copyright (c) 1982, 2010, Oracle. All Rights Reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL>
登录成功,其实这里生效是因为设置了NAMES.DIRECTORY_PATH为EZCONNECT的功效,从EZCONNECT的上面也可以看出是
3.NAMES.DIRECTORY_PATH为默认值
[oracle@node1 samples]$ more $ORACLE_HOME/network/admin/sqlnet.ora #NAMES.DIRECTORY_PATH= (EZCONNECT) #NAMES.DIRECTORY_PATH= (TNSNAMES) [oracle@node1 samples]$ sqlplus hr/xifenfei@127.0.0.1/ecp SQL*Plus: Release 10.2.0.5.0 - Production on Wed Feb 8 23:13:49 2012 Copyright (c) 1982, 2010, Oracle. All Rights Reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL>
当NAMES.DIRECTORY_PATH为默认值时,使用Easy Connect Naming Method也可以登录成功(正是因为这个原因,导致我忽略了EZCONNECT的存在).
4.sqlnet.ora中关于NAMES.DIRECTORY_PATH说明
#names.directory_path # #Syntax: <adapter-name> #Default: TNSNAMES,ONAMES,HOSTNAME # # Sets the (ordered) list of naming adaptors to use in resolving a name. # The default is as shown for 3.0.2 of sqlnet onwards. The default was # (TNSNAMES, ONAMES) before that. The value can be presented without # parentheses if only a single entry is being specified. The parameter is # recognized from version 2.3.2 of sqlnet onward. Acceptable values include: # TNSNAMES -- tnsnames.ora lookup # ONAMES -- Oracle Names # HOSTNAME -- use the hostname (or an alias of the hostname) # NIS -- NIS (also known as "yp") # CDS -- OSF DCE's Cell Directory Service # NDS -- Novell's Netware Directory Service
5.关于NAMES.DIRECTORY_PATH参数的补充说明
tnsnames:local naming naming method Set to resolve a net service name through the tnsnames.ora file on the client. hostname:host naming method Set to resolve a host name alias through an existing names resolution service or a centrally-maintained set of /etc/hosts files. onames:Oracle Names method Set to resolve database objects through a Oracle Names server. ldap:directory naming naming method Set to resolve a database service name, net service name, or net service alias through a directory server. cds:Cell Directory Services (CDS) external naming method Set to resolve an Oracle database name in a Distributed Computing Environment (DCE) environment. nis:Network Information Service (NIS) external naming method Set to resolve service information through an existing NIS. Ezconnect:The easy connect naming method eliminates the need for service name lookup in the tnsnames.ora files for TCP/IP environments; in fact, no naming or directory system is required if you use this method.