less

oracle表空间表分区详解(转)

老子叫甜甜 提交于 2019-11-28 05:05:05
oracle表空间表分区详解(转) 此文从以下几个方面来整理关于分区表的概念及操作: 1.表空间及分区表的概念 2.表分区的具体作用 3.表分区的优缺点 4.表分区的几种类型及操作方法 5.对表分区的维护性操作. 表空间及分区表的概念 表空间:是一个或多个数据文件的集合,所有的数据对象都存放在指定的表空间中,但主要存放的是表, 所以称作表空间。 分区表:当表中的数据量不断增大,查询数据的速度就会变慢,应用程序的性能就会下降,这时就应该考虑对表进行分区。表进行分区后,逻辑上表仍然是一张完整的表,只是将表中的数据在物理上存放到多个表空间(物理文件上),这样查询数据时,不至于每次都扫描整张表。 表分区的具体作用 Oracle的表分区功能通过改善可管理性、性能和可用性,从而为各式应用程序带来了极大的好处。通常,分区可以使某些查询以及维护操作的性能大大提高。此外,分区还可以极大简化常见的管理任务,分区是构建千兆字节数据系统或超高可用性系统的关键工具。 分区功能能够将表、索引或索引组织表进一步细分为段,这些数据库对象的段叫做分区。每个分区有自己的名称,还可以选择自己的存储特性。从数据库管理员的角度来看,一个分区后的对象具有多个段,这些段既可进行集体管理,也可单独管理,这就使数据库管理员在管理分区后的对象时有相当大的灵活性。但是,从应用程序的角度来看,分区后的表与非分区表完全相同,使用 SQL

LESS CSS - accessing classes further up the dom tree from within a nested class

依然范特西╮ 提交于 2019-11-28 04:34:22
问题 I want to be able to access classes further up the dom tree from within a nested class using LESS CSS, see example: HTML: <html class="svg"> <body> <div class="content"> <div class="container"> <div class="logo"></div> </div> </body> </html> LESS: .container { .logo { background:url(/images/ws-logo.gif); } } I want to target the .svg class on the html tag from within the .logo nested rule, to keep things tidy instead of writing another rule like this: .svg { .container { .logo { background

Less/Sass debugging in Chrome Dev Tools/Firebug [closed]

旧街凉风 提交于 2019-11-28 04:27:48
How do you guys do maintenance on CSS built with Less/Sass? One of the things I like about Dev Tools/Firebug is the ability to see the line number of a css styling. Is there a good way to do this with CSS preprocessors other than having to manually search through the .less/.scss file to find the code I want to modify? Chrome Developer Tools now supports Sass debugging out-of-the-box. Updated to include source maps: Previous versions used inline comment in your css to provide a refernce to the source code (see below how-to). recent versions of sass (3.3+) and chrome (31+) use source maps for

CSS3 Keyframe Animations: End and stay on the last frame

我的梦境 提交于 2019-11-28 04:20:52
I've run into some difficulty trying to play a CSS3 keyframe animation and have the relevant element stick at the last frame after the animation has completed. To my understanding, the property that I have to set for this to work should be animation-fill-mode, which should have the value of forwards; this doesn't do anything. .animatedSprite { .animation-name: sprite; .animation-duration: .5s; .animation-iteration-count: 1; .animation-direction: normal; .animation-timing-function: steps(3); .animation-fill-mode: forwards; //Vendor prefixes... } This will just play the animation once and then

Using LESS variables in media queries

霸气de小男生 提交于 2019-11-28 04:05:57
问题 When I enter the following less code: (paste it into http://less2css.org) @item-width: 120px; @num-cols: 3; @margins: 2 * 20px; @layout-max-width: @num-cols * @item-width + @margins; @media (min-width: @layout-max-width) { .list { width: @layout-max-width; } } ... the resulting CSS is: @media (min-width: 3 * 120px + 40px) { .list { width: 400px; } } Notice that the same variable @layout-max-width - in the media query it produces an expression (which isn't what I want) and when used as the

Less.js - strong nested rules?

◇◆丶佛笑我妖孽 提交于 2019-11-28 03:51:56
问题 I love the ability of less.js to make nested rules. For example .A{ .B{ width:50px; } } which results in .A .B{ width:50px; } But is there a way to make it result in this: .A > .B{ width:50px; } I´ve already tried to do this: .A{ &>.B{ width:50px; } } But it does not work... Thanks! 回答1: It's as simple as this: .A { > .B { width: 50px; } } Another related question: Immediate Child selector in LESS Some documentation: http://lesscss.org/features/#features-overview-feature-nested-rules (doesn't

LessCSS stops processing styles

南笙酒味 提交于 2019-11-28 03:26:27
问题 I'm using Less in JS mode (less.js) the following way: <link rel="stylesheet/less" href="assets/styles/less/bootstrap.less" media="all"> <script src="assets/scripts/libs/less-1.1.5.min.js"></script> And after some page views, it stops processing the styles and gives a "cached" version. To make it re-parse the styles I have to clear browser cookies. Does anybody knows why is this? Is there any option to make it re-parse on every page view? Thanks a lot! UPDATE: Reviewing some of the library

How do I convert a hexadecimal color to rgba with the Less compiler?

吃可爱长大的小学妹 提交于 2019-11-28 03:13:40
I have the following code: @color : #d14836; .stripes span { -webkit-background-size: 30px 30px; -moz-background-size: 30px 30px; background-size: 30px 30px; background-image: -webkit-gradient(linear, left top, right bottom, color-stop(.25, rgba(209, 72, 54, 1)), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, rgba(209, 72, 54, 1)), color-stop(.75, rgba(209, 72, 54, 1)), color-stop(.75, transparent), to(transparent)); I need to convert @color to rgba(209, 72, 54, 1) . So I need to replace rgba(209, 72, 54, 1) in my code with a Less function that generates an rgba()

escape whole declaration in less css

北城以北 提交于 2019-11-28 02:58:35
问题 Is it possible to escape whole declaration? This complies fine in less.js (I'm using less.app) margin: e(" 0 10px"); But this throws an error: e("margin: 0 10px"); I've tried putting 'margin' in a variable but without success. 回答1: Sorry that's not possible. A couple things though: The official escape designation (according to lesscss.org is the tilde-quote, not the e() syntax, like so: margin: ~"0 10px"; Second, the code you provided is not nearly complex enough to warrant a LESS CSS string

Fancy Media Queries with some LESS Magic

孤街醉人 提交于 2019-11-28 02:41:43
It would be nice to wrap css-styles for different resolutions within some css-classes using less. I'd like to do something like: footer { width: 100%; } .tablet { footer { width: 768px; } } .desktop { footer { width: 940px; } } At the end something like this should be the result: footer { width: 100%; } @media screen and (min-width: 768px) { footer { width: 768px; } } @media screen and (min-width: 992px) { footer { width: 940px; } } .tablet could look somehow like this: @media screen and (min-width: 768px) { .tablet { } } Hope somebody has a nice idea! Here is what I've done in my projects: