
select status,enabled, name, bytes/1024/1024 file_size from v_$tempfile--sys用户查看
2、缩小临时表空间大小
alter database tempfile 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\TELEMT\TEMP01.DBF' resize 100M
3、扩展临时表空间:
方法一、增大临时文件大小:
SQL>alter database tempfile ‘/u01/app/oracle/oradata/orcl/temp01.dbf’ resize 100m
方法二、将临时数据文件设为自动扩展:
SQL>alter database tempfile ‘/u01/app/oracle/oradata/orcl/temp01.dbf’ autoextend on next 5m maxsize unlimited
方法三、向临时表空间中添加数据文件:
SQL>alter tablespace temp add tempfile ‘/u01/app/oracle/oradata/orcl/temp02.dbf’ size 100m
4、创建临时表空间:
SQL>create temporary tablespace temp1 tempfile ‘/u01/app/oracle/oradata/orcl/temp11.dbf’ size 10M
5、更改系统的默认临时表空间:
--查询默认临时表空间
select * from database_properties where property_name='DEFAULT_TEMP_TABLESPACE'
--修改默认临时表空间
alter database default temporary tablespace temp1
所有用户的默认临时表空间都将切换为新的临时表空间:
select username,temporary_tablespace,default_ from dba_users
--更改某一用户的临时表空间:
alter user scott temporary tablespace temp
6、删除临时表空间
删除临时表空间的一个数据文件:
SQL>alter database tempfile ‘/u01/app/oracle/oradata/orcl/temp02.dbf’ drop
删除临时表空间(彻底删除):
SQL>drop tablespace temp1 including contents and datafiles cascade constraints
7、查看临时表空间的使用情况(GV_$TEMP_SPACE_HEADER视图必须在sys用户下才能查询)
GV_$TEMP_SPACE_HEADER视图记录了临时表空间的使用大小与未使用的大小
dba_temp_files视图的bytes字段记录的是临时表空间的总大小
SELECT temp_used.tablespace_name,
total - used as "Free",
total as "Total",
round(nvl(total - used, 0) * 100 / total, 3) "Free percent"
FROM (SELECT tablespace_name, SUM(bytes_used) / 1024 / 1024 used
FROM GV_$TEMP_SPACE_HEADER
GROUP BY tablespace_name) temp_used,
(SELECT tablespace_name, SUM(bytes) / 1024 / 1024 total
FROM dba_temp_files
GROUP BY tablespace_name) temp_total
WHERE temp_used.tablespace_name = temp_total.tablespace_name
ORDER BY B.TABLESPACE, B.SEGFILE#, B.SEGBLK#, B.BLOCKS
希望能帮到您!
一、增删改查SQL语法:?
1.查询语句
第一种法方:
select 列名 from table(数据库表名) where(条件)
第二种法方:
select *(表示所有的列) from table(数据库表名) where(条件)
注意:列名与列名之间用逗号分开。
eg:
1.select ProductID,ProductName,Price
from Product
where Price>5.0
2.select * from Product where Price>5.0
3.如何给列加汉子名称:
格式:“‘列标题’=列名” 或 “'列名'AS 列标题”
eg:
select ProductID=‘产品编号’,ProductName,Price
from Product
where Price>5.0
select '产品编号'as ProductID,ProductName,Price
from Product
where Price>5.0
where 语句中可以使用逻辑运算符
AND OR NOT
eg:
select ProductID,ProductName,Price
from Product
where Price>=5.0 And Price<=10.0
2.使用字符串模糊匹配
格式:
expression[not] like 'string'(escape"换码字符")
3.使用查询列表
如果列的取值范围不是一个连续的区间,而是一些离散的值,此时就应使用 SQL Server 提供的另一个关键字 IN 。
语法格式:column_name [not] IN (value1,value2....)
eg:
select SaleID,SaleName,Sex,Birthday,HireDate,Address
form Seller
where SaleID IN('S01','S02',S07)
4.空值的判定
在SQL Server中,通过null。
5.top 和 distinct
语法:select top integer || top interger percent columnName
from tableName
eg:
分别从Customer表中检索出前5个及表中前20%的顾客信息。
select top 5 *
from Customer
select top 20 percent *
from Customer
查询Product 表中价格最高的6种商品。
eg:
select top 6 *
from Product
order by price desc
asc(低—>高) desc(高->低)
2.向表中插入数据
语法:insert into tableName(columnName...(要插入的数据的列名)) values(expression(与columnName相对应的值))
注意:再插入数据时,对于允许为空的列可以使用NUll插入空值;对于具有默认值的列,可使用Defaulf插入默认值。
eg:
向Seller 表中插入一行数据,其中Sex字段使用默认值为‘男’,HireDate等字段均去空值。
insert into seller(saleid,saleName,sex,birthday,hireDate,address,telephone,telephone,notes)
values('s11','赵宇飞',default,'1974-07-25',null,null,null,null)
or
insert into seller(saleid,saleName,brithday)
values('s11','赵宇飞','1974-07-25')
3.修改表中的数据
语法:update tableName
set columnName=expression(...)
where search_conditions
eg:
1.将Product表中"啤酒"的价格改为4元
update product
set price=4
where productName='啤酒'(注意:一定要加条件 +“where”)
4.删除数据
语法:delete [from] tableName
where search_conditions
eg:
delete from Seller
where SaleID='s11'(注意:一定要加条件 +“where”,不然就把该表中所有的数据删除了)
知道上面传不了,先给你看两个题目:Cost-effectiveness related to the earthquake resisting system of multi-span bridges
成本效益与地震有关的多跨桥梁抵抗系统
Vibration, control and monitoring of long-span bridges—recent research, developments and practice in Japan
日本振动,控制和监测研究,发展大跨度桥梁最新研究与实践
上面文献来自Elsevier 数据库
文献不会有Word格式,一般是pdf,你可以转化为Word;桥梁类文献都会有图片的,你不需要的话自己去掉就行了;另外文献一般不会有10-30页这么多,你需要的话我可以传给你,或者你查到其它满意的文献不方便下的话可以找我,我可以通过教育网下载。
查外文文献可以在以下数据库中查到:
APS美国物理学会期刊数据库
Conference Proceedings Citation Index - Science (CPCI-S)
Emerald期刊库数据库
Essential Science Indicators数据库
Encyclopedia Britannica Online
Elsevier 数据库
Ei Compendex
EBSCO 数据库
ICE(英国土木工程师协会)全文期刊数据库
I Mech E(英国机械工程师协会)数据库
INSPEC科学文摘数据库
IEEE/IEE(IEL)数据库
ICONDA(国际建筑数据库)
Intel Technology Journal
Index to Scientific and Technical Proceedings
Journal Citation Reports on the Web
JSTOR西文过刊全文库
科技报告数据库
LexisNexis
LWW数据库
MathSciNet
美国科学研究出版社免费期刊
Marklines全球汽车信息平台(Marklines Automobile Information Platform)
MIT &IEEE-Wiley eBooks电子书数据库
Nature Geoscience电子期刊数据库
nature期刊电子版的回溯档
Nature系列电子期刊
NTIS数据库
netlibrary(ebsco电子图书)网络图书馆
NSTL国家科技图书文献中心
OSA美国光学学会Optics Infobase数据库
OCLC First Search
OVID 数据库
OSO牛津在线学术专著数据库
OUP牛津期刊数据库
PQDD博硕士论文文摘数据库
PQDD学位论文全文数据库
Royal Society of Chemistry电子期刊数据库
REASON睿则恩教育视频数据库
Springer电子图书数据库
SpringerProtocols实验室指南
SpringerMaterials数据库
SAGE Knowledge电子书数据库
SAGE Premier电子期刊
SEG( Society of Exploration Geophysicists) Digital Library
Social Sciences Citation Index,Arts &Humanities Citation Index
SciFinder Scholar
Science Online
Springer Link
SIAM数据库
TRANSPORT(交通运输文摘)
Taylor &Francis Online
Taylor &Francis社科期刊数据库
Tech science press电子期刊数据库
Taylor &Francis科技期刊数据库
WorldSciNet世界科技期刊网
Ulrich s Periodicals Directory乌里希期刊指南
Web of Science(SCI)
Wiley-Blackwell电子期刊数据库
卓越联盟图书馆知识共享服务平台
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)