create public database link mylink connect to orclname identified by orclpasswd using 'ORCL'; drop public database link mylink; select count(1) from tabname@mylink;…
expdp导出:(打开CMD) 先创建(任意盘符):\oracle_data 文件夹 1.sqlplus / as sysdba;2.create or replace directory d_name as 'd:\oracle_data(创建的文件夹)';3.select * from dba_directories;4.grant read,write on directory d_name to 数据库用户名;重新打开一个cmd窗口expdp 数据库用户名/数据库密码@orcl dire…
ALTER SYSTEM SET OPTIMIZER_MODE=RULE scope=both; 其他可以选择的模式还有ALL_ROWS/CHOOSE/FIRST_ROWS/ALL_ROWS. 应用系统优化最好对大查询单独调优,修改优化器模式之后,有可能别的查询又会变慢. 首先,应在PL/SQL工具的执行计划中查看,各种优化器模式下的索引执行情况.然后设置合适的优化器模式…
使用CocoaPods更新第三方库出错的解决办法 执行完pod install或pod update之后,控制台抛出以下警告信息: [!] The xx [Debug] target overrides the PODS_ROOT build setting defined in Pods/Target Support Files/Pods-**/Pods-**.debug.xcconfig'. This can lead to problems with the CocoaPods insta…