B
B
Bakotiinii2012-08-19 14:33:12
Form style
Bakotiinii, 2012-08-19 14:33:12

What is the proper name for indentation?

Good afternoon. We want to brand the site, and fill in the indents on the left and right with logos, etc. The question is, how is this distance on the left and right correctly called.

Of course, I understand that this question is a little strange, but I really did not find it anywhere-)

Answer the question

In order to leave comments, you need to log in

10 answer(s)
V
vanxant, 2012-08-19
@vanxant

Ears. This is called ears.

D
Dmitry, 2012-08-19
@DedalX

Even in layout, in CSS, this is the “margin” property (margin-left, margin-right).

T
Timur, 2012-08-19
@XAKEPEHOK

There is also padding.
Let's assume that there is some container with contents. The margin from the outside of the container is the margin. Padding inside the container (from borders to content) - padding

A
Alexander, 2012-08-19
@Alexx_ps

Fields, but the developers call them "ears".

V
vldkr, 2012-08-19
@vldkr

image

K
kk86, 2012-08-19
@kk86

In our office they are called sidebars.

L
Lacaille, 2014-03-18
@Lacaille

This query does not need to be optimized, because, despite the frightening size, its structure is simple. The speed of its operation depends on the indexing of the fields by which the tables are linked.
All brackets after FROM can be removed as unnecessary.

I
Ivan Starkov, 2014-03-17
@icelaba

DROP DATABASE yourdb
No database, no problem :-)
But seriously, you need to reduce the number of JOINs, for example, saving some or all of them in a temporary table, it depends on how often the main table is updated.
For example, if the time of adding-changing a record is not critical, then you can create a temporary table immediately after adding the change.
Indexes on fields from ON, I hope, have already been placed

A
Alexander Litvinov, 2014-03-17
@Sander_Li

1) Try Analize The database will tell you
2) Defragment the tables (OPTIMIZE TABLE `t`)
3) Check what happens through explain when you try your options.
4) Make sure that the correct data types are substituted in the request. For example `field` = '1' and `field` = 1 - the result is the same, but the second option is faster.

A
Alexander Khirenko, 2014-03-17
@Satanpit

You can try to denormalize and bind the data with triggers if the number of reads significantly exceeds the number of writes.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question