#agile

serge_cheminade@diaspora-fr.org

#révolution_apolitique_trÚs_sociale

Avec ce post je souhaite, entre autres, répondre aux interrogations de @illustre_inconnu@diaspora-fr.org

Voici comment je pense faire venir de nombreux internautes sur diaspora-fr

Pour rappel ou pour information pour ceux qui n’auraient pas encore lu mes Ă©crits j’ai initiĂ© la transformation d’un projet de fermeture d’établissement Ă©laborĂ© par une #multinationale #amĂ©ricaine en un #projet de #construction.( https://www.larousse.fr/dictionnaires/francais/initier/43148 sens5 ) Cela dĂ©montre que j’ai une autre façon de penser que l’élite française et que cette façon de penser est meilleure.

Pour plus d’informations lire : https://diaspora-fr.org/posts/9880414

Voici actuellement des actions que j’ai faites et que je compte faire (Ce n’est pas exhaustif) :

Ceci dit je n’ai pas d’idĂ©es que je dois absolument suivre. J’ai une approche agile https://www.reussirsesprojets.com/methode-agile/ https://fr.wikipedia.org/wiki/MĂ©thode_agile

  • Mettre du contenu sur diaspora-fr et mettre des liens vers ce contenu en publiant des commentaires sur Internet exemple : https://twitter.com/search?q=rĂ©volution_apolitique_trĂšs_sociale&src=recent_search_click

  • Constituer sur diaspora-fr un groupe dĂ©terminĂ© pour agir. Parmi les personnes qui vont constituer ce groupe, certaines pourraient apporter des internautes. Mais ce sera nĂ©gligeable par rapport Ă  l’audience de Facebook en France.

  • Trouver des financements pour que l’association #Framasoft https://framasoft.org/fr/manifest/https://framablog.org/2023/12/28/framasoft-en-chiffres-edition-2023/ https://fr.wikipedia.org/wiki/Framasoft puisse embaucher du personnel pour travailler sur diaspora-fr avec pour objectif de concurrencer Facebook .Quand je parle de financement je ne pense pas Ă  endetter l’association Framasoft, cet argent lui sera donnĂ©. Bien sĂ»r, il faudra d’abord que Framasoft soit d’accord avec l’objectif. Elle aura par la suite Ă  prĂ©senter ses besoins chiffrĂ©s. Je vais attendre une rĂ©ponse de Framasoft avant d’aller plus loin.

Framasoft avait pour objectif de DĂ©googliser https://framablog.org/2017/09/27/se-degoogliser-en-toute-facilite/ L’objectif Ă©tait celui-là : Les GAFAM, au bĂ»cheeeeeeer ! Article de 2017. Il me semble, mais je peux ĂȘtre dĂ©menti, que cet objectif n’a eu aucune incidence sur les #GAFAM. En avançant de maniĂšre #agile , en unissant nos efforts , il pourrait en ĂȘtre autrement.

J’ai vu Ă  https://fr.wikipedia.org/wiki/Framasoft que Framasoft avait Ă©tĂ© crĂ©Ă© par Alexis Kauffmann. Et Ă  https://fr.wikipedia.org/wiki/Alexis_Kauffmann

 En 2021, il rejoint la direction du numérique pour l'éducation en tant que chef de projet logiciels et ressources éducatives libres.

Ce n’est pas un problĂšme pour moi qui affirme que tĂŽt ou tard la #rĂ©volution_apolitique_trĂšs_sociale va provoquer l’écrasement de la #politique. Je prĂ©cise que les logiciels qui vont gĂ©rer l’organisation Ă©conomique trĂšs sociale que je veux initier devront ĂȘtre libres si possible.

Je cherchais de vrais journalistes. Je voulais éviter les faux journalistes c'est-à dire ceux qui font passer la politique avant leur métier de journalisme. Je pense avoir trouvé ce que je souhaite à :
https://www.alliancepresse.fr/alliance-en-chiffres/ Vous pouvez lire sur ce site :

Avec 297 titres, issus des 4 familles de la presse d'information, l'Alliance est l'organisme représentatif de la presse d'information en France.  PrÚs de la moitié des journalistes français travaillent pour nos adhérents, faisant de l'Alliance le principal représentant patronal.
et les chiffres suivants : 5 millions d’exemplaires distribuĂ©s chaque jour, 50 millions de lecteurs mensuels ; 12 000 journalistes.

Je compte sur alliancepresse.fr et ses 297 titres pour faire venir un trĂšs grand nombre d’internautes vers diaspora-fr Mais avant cela je compte convaincre Alliance presse de financer Framasoft car il ne me paraĂźt pas souhaitable de faire venir un grand nombre d’internautes vers diaspora-fr si le site n’est pas prĂȘt pour les accueillir. Pour convaincre l'alliance presse de financer Framasoft nous allons avancer plusieurs arguments Ă©conomiques. Le premier d’entre eux et le plus important sera de montrer comment nous allons rĂ©duire l’importance des Gafam.

Voici quelques informations sur les enjeux financiers :
À https://www.lesechos.fr/tech-medias/medias/publicite-meta-facebook-marque-le-pas-en-france-pour-la-premiere-fois-1776217 nous pouvons lire :

-En 2022, le marché publicitaire numérique français devrait croßtre de 14 %, sur un an, à 8,8 milliards d'euros.

-Résultat, la part de marché cumulée du triopole Google-Meta-Amazon (GMA) recule de 68 % à 66 %, sur un an, sur le marché publicitaire numérique français. 

Pourquoi est-ce que je vais passer, principalement, par la presse pour faire connaßtre la révolution apolitique trÚs sociale et non pas par les réseaux sociaux, les blogs, les influenceurs... ?

J’ai bien lu par exemple :
La presse traditionnelle contre l’information “open source”  https://h16free.com/2023/11/17/75746-la-presse-traditionnelle-contre-linformation-open-source qui termine par :

Malheureusement pour eux, le combat est inĂ©gal : trop de communautĂ©s vĂ©rifient trop d’informations trop vite et de façon trop pertinente pour que la presse traditionnelle puisse espĂ©rer faire le poids un jour. Siles mĂ©dias de grand chemin parviennent Ă  se concentrer sur les potins, peut-ĂȘtre arriveront-ils Ă  tirer leur Ă©pingle du jeu, mais ça n’en prend pas le chemin.

J’ai bien vu que lorsque je commence par parler de solution apolitique pour financer les #retraites et tout le #social je me heurte Ă  un mur d’incomprĂ©hension. D ‘abord parce que mes interlocuteurs ont du mal Ă  comprendre qu’au moins une #solution #apolitique, donc qui n’est pas politique, existe. Ensuite quand on finit par leur faire comprendre qu’il s’agit d’un #service #marchand, donc quelque chose de non politique alors ils pensent qu’il s’agit de quelque chose qui sera plus bĂ©nĂ©fique aux #riche s qu’aux #pauvre s et, le plus souvent, ne cherchent pas en Ă  savoir plus. Donc pour moi il est prĂ©fĂ©rable de proposer Ă  la #presse de prĂ©senter la rĂ©volution apolitique trĂšs sociale que je veux initier sous forme d’épisodes. Ils donneront Ă  cette rĂ©volution le nom qu’ils veulent. Avec elle je pense qu’ils ont un sujet qui non seulement peut permettre de #fidĂ©liser leur #clientĂšle mais aussi de la #dĂ©velopper et cela, probablement, pour plusieurs dizaines d’annĂ©es. Bien sĂ»r il ne s’agit que d’une proposition et il n’est pas sĂ»r qu’elle soit retenue par la presse. Il me faudra peut-ĂȘtre en chercher une ou plusieurs autres.

Je prĂ©fĂšre passer par la presse plutĂŽt que par les rĂ©seaux sociaux parce que les journalistes ont une charte d’éthique professionnelle https://www.snj.fr/content/charte-d’éthique-professionnelle-des-journalistes Ils ne rĂ©Ă©crivent pas l’#histoire comme le font certains sites qui font rĂ©fĂ©rence sur #Internet. Par exemple, j'affirme ĂȘtre un #prĂ©curseur. J’affirme par ĂȘtre un des premiers si ce n ’est le premier Ă  avoir initier la transformation d’un projet de fermeture d’établissement Ă©laborĂ© par une multinationale amĂ©ricaine en un projet de construction. Actuellement aucun internaute ne peux vĂ©rifier si ce que je raconte est vrai.

En ce qui concerne la rĂ©Ă©criture de l’histoire je vous propose de consulter la page WikipĂ©dia sur les ordinateurs Amstrad. https://fr.wikipedia.org/wiki/Amstrad Vous pouvez y lire :

 Son succÚs rapide s'explique par l'essor que connaßt alors la consommation de masse et par la multiplication des hypermarchés distribuant la marque.

Moi j’ai une autre explication. Voici un extrait du message que je prĂ©pare Ă  destination de l’antenne locale du journal Sud Ouest Ă  Libourne. https://www.sudouest.fr/gironde/libourne :

Je pense ĂȘtre un prĂ©curseur. J‘ai ouvert Ă  Libourne en juin 1985 une boutique de micro informatique familiale rue Jules Ferry : Micromonde. A l’époque il n’y avait pas de marchĂ© au niveau des particuliers. Le comptable que j’ai contactĂ© pour Ă©tablir des comptes prĂ©visionnels afin d’emprunter n’avait aucune idĂ©e du chiffre d'affaires que mon commerce pouvait engendrer. C’est donc moi qui ait fourni les chiffres.

Ma boutique a fonctionnĂ© jusqu’à 1989. En matĂ©riel j’ai vendu principalement des ordinateurs Amstrad. J’ai aussi vendu des ordinateurs d’autres marques. J’ai fait de la publicitĂ©. Je me rappelle de l’une d‘elle qui reprĂ©sente deux personnes: un clochard et un homme bien habillĂ©. C’est un dessin qui a Ă©tĂ© fait par l’un de mes frĂšres Ă  ma demande. (Il est plus jeune que moi. Il Ă©tait encore scolarisĂ© mais il savait mieux dessiner que moi. ) . Il est possible que vous retrouviez ce dessin dans vos archives car il se peut, mais c’est pas sĂ»r, que je l’ai fait paraĂźtre dans Le RĂ©sistant ou sur Sud Ouest.

Cela fait un moment que je pense à écrire à ce journal. Pour vous donner une date voici le début de mon message :  

Le13/11/2023 j’ai Ă©tĂ© dĂ©marchĂ©, Ă  mon domicile, par deux personnes qui m’ont proposĂ© le journal Sud Ouest. J’ai refusĂ© faute de temps pour lire votre journal et je leur ai dit que j’écrirai Ă  Sud Ouest Libourne sans dire pourquoi. Mais je travaillais dĂ©jĂ  sur le sujet que je vais vous proposer.

Le journal Sud Ouest est un des titres de l’Alliance Presse dont j’ai parlĂ© plus haut. Je ne vais pas encore envoyer le message que j’ai commencĂ© Ă  prĂ©parer. Avant cela je vais faire venir des personnes sur diaspora-fr Pour arriver Ă  cela je prends le temps nĂ©cessaire pour pouvoir les convaincre de crĂ©er un compte ici.

#diaspora-fr #journal #journaliste #journalisme #libourne

anonymiss@despora.de

#Agile #Project #Management: Today I got the #proof for something I always suspected.

A core element of agile project management is the daily standup, where each project member says what they are working on. This should be done according to the textbook, briefly while standing up, and in no case should it degenerate into a discussion or be too verbose. In the case of globally distributed teams or in home work, you can of course not force anyone to stand up.

Unfortunately, it happens again and again that project members believe that whoever says a lot is also more important. In a good agile project, this should be counteracted.

In my project, I said what I was doing every day. Short and to the point, but with all the necessary information, while my colleagues often gave me a few minutes of empty phrases. Today my project manager, who participated in every standup, said that he didn't know exactly what I was working on. First of all, he never listened during the standup and only evaluated the project members according to their speaking time :(

#software #development #fail #wtf #work #job #problem

virtual7@pod.dapor.net

A Day in a Life as a Business Intelligence Developer

with Gerhard Höll

Many paths lead to the goal if you want to become a Business
Intelligence Developer. There is no defined route, much more important
is the fun and enthusiasm for this job. Gerhard has always been
interested in the BI environment and enjoyed working in it the most. In
his studies in Business Informatics, he got to know the whole range of
BI, from Business Intelligence to Data Warehousing and Data Analytics.
In his role as Recruiting Support, he can give you important tips about
his job that can increase your chances of landing your dream job.

::: {.wp-block-spacer style="height: 15px;"}
:::

Are there any main tasks that arise on a daily basis?

That depends on the project. As a developer, not really, apart from the
coordination rounds within the development team.  I am currently
involved in a project in which I have contact with the business side,
DWH operations and the developers of the source system. In this project,
the entire spectrum of data warehouse development is covered -- from
requirements gathering to development and operation. We look at making
sure the data warehouse is running smoothly and that up-to-date data is
being delivered daily for users to work with. When you come in after
your morning coffee, the first task that comes up is to see if the load
runs have gone correctly. It is important that the business users can
work with the BI and DWH system.

::: {.wp-block-spacer style="height: 15px;"}
:::

{.wp-image-58454
width="1024" height="683"}

::: {.wp-block-spacer style="height: 0px;"}
:::

What influence do you have on the customer's work?

Efficiency and benefit should always be at the priority to make sure
that the customer gets the most value from what we do. You can avert or
recommend various things that can harm or benefit the system. In this
way you can influence customers in their decisions. In the area of
evaluations and graphical presentations, you also have influence on the
use of the various presentation options. The goal is always to recognize
facts and contexts more quickly through the evaluations in order to gain
new insights.

::: {.wp-block-spacer style="height: 0px;"}
:::

What do you enjoy the most?

The best part of my job is dealing with issues together with my
colleagues and finding solutions together. You are involved in exchanges
and coordination on a wide variety of topics. Both at the customer's
site and with colleagues at virtual7.  It is always a welcome change to
work together with other people and not just to develop in a quiet room.
Of course, that also has to be done, but the variety and interaction is
crucial for me here.

::: {.wp-block-spacer style="height: 0px;"}
:::

Which skills are essential for a job at virtual7?

The requirements are first of all of a technological nature, of course.
Since we work with Oracle products, you should be familiar with Oracle
technologies. These include: The Oracle Database, SQL and PL/SQL, Oracle
Data Integrator and Oracle Analytics Server. You will also need to be
familiar with the methods to create data warehouse architectures and
models, dashboards and analytics. Since we are always working with
different people and teams, soft skills are just as important, if not a
bit more important. Communication is especially important here. You have
to be able to ask the right questions. Likewise, being able to present
and explain complicated issues in a simple way. The knowledge level and
perspectives of individuals on different aspects can vary greatly, so
you need to have an understanding and background knowledge of the
project and the subject area. It is not always easy to get everyone
involved on the same page. Apart from that, you need to be a team player
and be able to organize yourself in your team. As a developer you always
need a good grasp and analytical thinking, as well as convincing
presentation skills.

::: {.wp-block-spacer style="height: 0px;"}
:::

{.wp-image-58453
width="1024" height="683"}

::: {.wp-block-spacer style="height: 0px;"}
:::

Is Oracle a must have to work for us?

Our clients make it a point to see in resumes that you have experience
with Oracle. So hard facts: X/Y years of Oracle experience. Everything
that is Oracle-specific about the tools can be learned quickly.
Methodological knowledge in the data warehouse and BI environment are
much more important in our projects. You should know modeling approaches
and how to represent certain facts and justify them. It is important to
be honest about your experience, this will bring you and us much further
than a pimped CV.

::: {.wp-block-spacer style="height: 0px;"}
:::

Good to know that...
  • virtual7 likes to celebrate successes together.
  • the job is not just a consulting assignment, but a safe place to work for several years.
  • you mainly work at the customer's and can also do a lot at virtual7.
  • team building is huge internally, be it at the conference, chat 'n' chills or meet-ups.
  • you can be yourself and (almost) everything is informal.

Der Beitrag <strong>A Day in a Life as a Business Intelligence
Developer</strong>

erschien zuerst auf virtual7 GmbH - Blog.

https://blog.virtual7.de/a-day-in-a-life-as-a-business-intelligence-developer/

#virtual7 #digitalisierung #deutschland #virtual #digitalezukunft #digital #zukunft #agile #virtual7gmbh #BI #job #Oracle #Recruiting #SQL

virtual7@pod.dapor.net

virtual7 at the Pitch Club Developer Edition

*To give everyone a chance to understand Felix's interview, we have
translated the original
interview
.

Felix is a Technical Consultant at virtual7 in Karlsruhe. Members of the PCDE talked to him about his tasks in the company and learned why his title only partially reflects his day-to-day work. He also talks about his experiences at virtual7, future challenges, and his participation at the P*CDE.*

::: {.wp-block-spacer style="height: 25px;"}
:::

Who are you and what are your tasks at virtual7?

Hey, I'm Felix and my official job title is Technical Consultant.
However, my tasks are much better described by my Roles in the company.
For example, I have the Role of „DevOps Engineer", in which I support
DevOps applications at one of our customers. In addition to my work with
customers, I also have the Role of „Content Creator", in which I help
produce our podcasts, write articles for the virtual7 magazine, or
report on why it's worth applying for a job at virtual7. I also really
enjoy the Role of „Technical Presales". Here I support our Core Cluster
Sales in winning new customers by contributing my technical knowledge to
the applications.

::: {.wp-block-spacer style="height: 25px;"}
:::

What do you appreciate most about virtual7 as an employer?

There are a few aspects I would like to mention in this context. I think
you can recognize the most important one from the answer to the previous
question: The versatility of the tasks. Instead of just working quietly
on your project, you can take on responsibility and contribute in a wide
range of areas. The fact that something like this is possible is due to
our responsive corporate organization. In addition to the varied tasks,
I appreciate the fact that we communicate very transparently about both
successes and difficulties.

What kind of company culture can new colleagues expect at your company?

Responsiveness is a key factor here. This means that each Cluster
(something like a department) is self-organized and does not have a
classic head or a typical hierarchy. Instead, tasks are divided among
different Roles and employees. If you want to know more about this, you
can listen to episode 16 of our german
podcast. This allows us to work in a
very agile way and, above all, to involve each individual with his or
her ideas right from the start.

::: {.wp-block-spacer style="height: 25px;"}
:::

Where do you see the biggest challenges for your Cluster in the future?

I would say that at this point you have to mention employee recruitment.
It's an open secret at the moment that talented applicants can more or
less choose their employer. Of course, as an IT service provider, we are
also affected by this development. However, I think that we as a team,
as a company, and the way we are organized have enough arguments to
convince enough future colleagues in the coming years.

::: {.wp-block-spacer style="height: 25px;"}
:::

In which role did you have experience with the PCDE?

I only know the PCDE from the applicant's side. So I didn't have to
sweat too much! Nevertheless, I can imagine switching sides next time
and convincing others to work for us. So with a bit of luck, you'll soon
get to meet me in person.

::: {.wp-block-spacer style="height: 25px;"}
:::

What did you like most about the PCDE?

Breaking through the black box that opens up when you send your
application to hr\@firma-x.de appealed to me the most. Instead of
sending your resume through departments, your future „Team Development"
is sitting right in front of you. „Team Development" is a Role at our
company that takes care of the personal development of our employees.
This gives you the chance to see right away whether you fit into the
company in terms of structure, content, and, above all, personality.

::: {.wp-block-spacer style="height: 25px;"}
:::

Would you recommend your best friend to attend PCDE?

Now, this sounds a lot like one of those „we want your feedback" emails
you get every day. But yes, I would recommend everyone, including my
best friend, to participate in the PCDE. In the best case, you'll find
the right employer for you, in the worst case, you'll get free pizza. 

Der Beitrag virtual7 at the Pitch Club Developer
Edition

erschien zuerst auf virtual7 GmbH - Blog.

https://blog.virtual7.de/virtual7-at-the-pitch-club-developer-edition/

#virtual7 #digitalisierung #deutschland #virtual #digitalezukunft #digital #zukunft #agile #virtual7gmbh #Allgemein #Events #event #PCDE #Podcast #Recruiting

virtual7@pod.dapor.net

Gedanken zum Datenbanktuning

Es kommt immer wieder es vor, dass (Oracle-) Datenbankanwendungen „zu
langsam" sind. Dann wird versucht herauszufinden woran es liegt und wenn
man GlĂŒck hat findet sich eine Idee das verursachende SQL-Statement so
zu Ă€ndern, dass die Anwendung „schnell genug" wird. Es wird bei diesem
ganzen Vorgang oft ĂŒbersehen, dass die Ursachen(n) fĂŒr die schlechte
Performance nicht erst im SQL-Statement begrĂŒndet ist, sondern viel
frĂŒher ihren Ursprung hat.

Die Planung einer performanten Datenbankanwendung beginnt mit der
Planung der Datenbank. Um eine Datenbank planen zu können sollten die
Anforderungen an die mit ihr zu realisierenden Anwendungen bekannt sein.
Einige der Fragen, die fĂŒr die Planung relevant sind:

\
Ist es eine ERP-Anwendung oder ein Datawarehouse?\
Gibt es Tabellen mit sehr unterschiedlichen SatzlÀngen?\
Wird mit der Anwendung hauptsÀchlich abgefragt oder Daten bearbeitet?\
Gibt es mehrere Anwendungen, die mit den Daten arbeiten sollen und haben
diese Anwendungen unterschiedliche Anwendungsmuster?

Mit den gesammelten Anforderungen kann die Physik der Datenbank geplant
werden.

::: {.wp-block-spacer style="height: 36px;"}
:::

Tablespaces und BlockgrĂ¶ĂŸen {#h-tablespaces-und-blockgr-en}

Die BlockgrĂ¶ĂŸe(n) der Tablespaces sollten an die Anforderungen der
Anwendung angepasst werden. Zur Erinnerung: Oracle liest immer nur ganze
Blöcke und nicht einzelne DatensÀtze. Falls es in den Anforderungen an
die einzelnen Tabellen große Unterschiede gibt sollten die Tabellen auf
Tablespaces mit geeigneten unterschiedlichen BlockgrĂ¶ĂŸen verteilt
werden.

Kleine BlockgrĂ¶ĂŸen (2KB/4KB) eignen sich fĂŒr kurze SatzlĂ€ngen auf die
oft einzeln zugegriffen wird. Sie eignen sich nicht fĂŒr lange SatzlĂ€ngen
und wenn oft auf große Mengen an DatensĂ€tzen zugegriffen wird.

Große BlockgrĂ¶ĂŸen (8KB -- 32KB) eignen sich fĂŒr lange SatzlĂ€ngen und
wenn große Datenmengen sequenziell abgefragt werden.

Falls wegen eines kleinen Datensatzes ein großer Block gelesen werden
muss oder falls wegen eines langen DatensÀtzes dieser auf mehrere Blöcke
verteilt werden muss (chaining), so mindert dies die Performance der
spÀteren Anwendung.

Gegebenenfalls lohnt es sich Tablespaces mit unterschiedlichen
BlockgrĂ¶ĂŸen anzulegen.

::: {.wp-block-spacer style="height: 36px;"}
:::

Tabellen {#h-tabellen}

Die DatensÀtze einer Tabelle werden in den Blöcken des zu verwendenden
Tablespaces gespeichert. Sobald ein Block eines Tablespace einer Tabelle
zugewiesen ist gehört er zu dieser Tabelle, auch dann, wenn alle
DatensÀtze in diesem Block gelöscht wurden (high water mark). Bei einem
Full Table Scan werden auch diese inzwischen leeren Blöcke gelesen und
kosten Zeit. Oracle bietet mehrere Möglichkeiten diese Blöcke
freizugeben ( export/import, alter table .. shrink space, usw...)

Oracle vermerkt alle leeren oder teilweise leeren Blöcke einer Tabelle
in die noch DatensĂ€tze geschrieben werden dĂŒrfen in einer Freelist.\
Mit den Speicherparametern pctfree und pctused (Prozentwerte) kann
angegeben werden, unter welchen Bedingungen ein Block auf die Freelist
gesetzt oder von dieser entfernt wird. Ist der Block zu mehr als pctfree
frei, so wird der Block auf die Freelist gesetzt. Ist der Block zu mehr
als pctused belegt, so wird er von der Freelist genommen.

::: {.wp-block-spacer style="height: 36px;"}
:::

Chaining {#h-chaining}

Falls ein Datensatz nicht in einen Block passt, so wird er ĂŒber mehrere
Blöcke verteilt. Dann mĂŒssen um diesen einen Datensatz zu lesen alle
diese Blöcke nacheinander gelesen werden. (Ob in einer Tabelle solche
DatensÀtze existieren kann z.B. in user_tables in der Spalte chain_cnt
ĂŒberprĂŒft werden)

Zu Chaining kommt es, wenn große DatensĂ€tze in (zu) kleine Blöcke
geschrieben werden, oder wenn bestehende DatensÀtze beim Aktualisieren
verlÀngert werden (z.B. wenn ein varchar2-Wert verlÀngert wird). Falls
der Datensatz lĂ€nger ist als die BlockgrĂ¶ĂŸe, so lĂ€sst sich chaining
nicht verhindern. In diesem Fall kann man darĂŒber nachdenken die Tabelle
in einen Tablespace mit grĂ¶ĂŸerer BlockgrĂ¶ĂŸe zu verschieben.

Falls die VerlÀngerung eines Datensatzes aufgrund der
Anwendungsanforderungen vorhersehbar ist, so kann durch setzen eines
geeigneten Werts fĂŒr pctused der Tabelle dafĂŒr gesorgt werden, dass in
den Blöcken genĂŒgend freier Platz gelassen wird, so dass eine
VerlĂ€ngerung eines Datensatzes in den bestehenden Block passt. FĂŒr
Tabellen mit DatensÀtzen, die nur einmal geschrieben und dann nicht mehr
verÀndert werden, kann pctused hoch gewÀhlt werden.

Falls DatensĂ€tze regelmĂ€ĂŸig gelöscht und neu geschrieben werden, so
sollte pctfree so gewÀhlt werden, dass ein neuer Datensatz in den noch
freien Platz eines bereits teilweise belegten Blocks passt:

::: {.wp-block-spacer style="height: 36px;"}
:::

Beispiel {#h-beispiel}

BlockgrĂ¶ĂŸe: 4096 Bytes\
mittlere SatzlÀnge eines Datensatzes (user_tables.avg_row_len): 400
Bytes

Zwei Bemerkungen:

  • Diese mittlere LĂ€nge kann sich Ă€ndern.
  • Viele DatensĂ€tze sind sicherlich lĂ€nger als 400 Bytes.

Mit „select sum(c.DATA_LENGTH) from user_tab_columns c where
c.TABLE_NAME = \$NAME\$\
können wir die maximale LÀnge eines Datensatzes ermitteln.

\
Beispiel a) die mittlere DatensatzlÀnge wÀre 600 Bytes.\
Mit pctfree = 15 (4096*0,15 = 614) sind wir auf der sicheren Seite.

Beispiel b) die mittlere DatensatzlÀnge wÀre 6000 Bytes.\
Da wir die Verteilung der DatensatzlĂ€ngen nicht kennen, mĂŒssen wir eine
Annahme treffen:\
pctfree = 20 (2096*0,20 = 819) sollte fĂŒr die meisten DatensĂ€tze
ausreichend sein.

Wir tauchen ein bisschen tiefer ein. Falls wir mit verlÀsslichern Werten
arbeiten wollen, können wir uns mit etwas Aufwand bessere Kennzahlen
ermitteln:

dump() liefert uns einen String, der u.a. die LĂ€nge in Bytes des
Ausdrucks zurĂŒckgibt:

Z.B: select dump( 'Ă€' ) from dual;
DUMP('Ä')
Typ=96 Len=2: 195,164

Dies nutzen wir, um die LĂ€nge der einzelnen Spalten zu ermitteln und
diese aufzusummieren.

2 Anmerkungen:

  • Jede Spalte benötigt ein zusĂ€tzliches Byte Speicherplatz. (Dies berĂŒcksichtigen wir nachfolgend)
  • NULL-Spalten (auch mehrere) am Ende eines Datensatzes benötigen keinen Speicherplatz. (Dies berĂŒcksichtigen wir nachfolgend nicht!)

mit

select '+ coalesce( to_number( regexp_substr( dump( ' || rpad( column_name, 32, ' ' ) ||q'{ ), 'Len=(\d*):', 1, 1, 'x', 1 ) ), 0) +1}' as term
from user_tab_columns
where table_name = $tabellenname$
order by column_id;

können wir uns den schreibintensiven Teil des folgenden Statements
erzeugen lassen:

with len_ as 
( select coalesce( to_number( regexp_substr( dump( ), 'Len=(\d):', 1, 1, 'x', 1 ) ), 0) +1 
+ coalesce( to_number( regexp_substr( dump( ), 'Len=(\d):', 1, 1, 'x', 1 ) ), 0) +1 + 
 
+ coalesce( to_number( regexp_substr( dump( ), 'Len=(\d*):', 1, 1, 'x', 1 ) ), 0) +1 as bytes from $tabellenname$ ) 
select min(bytes), avg(bytes), max(bytes), stddev(bytes) from len_;

Hinweis: fĂŒr sehr große Tabellen kann diese Auswertung lang dauern. In
diesem Fall sollte sie auf eine ausreichend große reprĂ€sentative Menge
begrenzt werden ( where rownum < X ).

Die Werte sind wegen Anmerkung 2 nicht 100% zuverlĂ€ssig. FĂŒr eine
AbschÀtzung der Verteilung der DatensatzlÀngen sind sie aber
ausreichend. Unter der Annahme, dass die LĂ€ngen normalverteilt sind,
kann die MindestgrĂ¶ĂŸe fĂŒr pctfree wie folgt bestimmt werden:

pctfree = 100 * ( avg + stddev ) / BlockgrĂ¶ĂŸe (fĂŒr ~84% aller
DatensÀtze ausreichend)\
pctfree = oder 100 * ( avg + 2*stddev ) / BlockgrĂ¶ĂŸe (fĂŒr ~98% aller
DatensÀtze ausreichend)

Siehe auch:

https://docs.oracle.com/en/database/oracle/oracle-database/21/sqlrf/physical_attributes_clause.html#GUID-A15063A9-3237-43D3-B0AE-D01F6E80B393

Der Beitrag Gedanken zum
Datenbanktuning

erschien zuerst auf virtual7 GmbH - Blog.

https://blog.virtual7.de/gedanken-zum-datenbanktuning/

#virtual7 #digitalisierung #deutschland #virtual #digitalezukunft #digital #zukunft #agile #Finance #OracleDatabase #Technology #Chaining #database #Datenbank #Oracle #Tuning

mbed67@diasp.eu

Grok your world - #nvc card game

Today this new card game arrived: Grok your world (Dutch version: Grok)
It has many cards with feelings and needs and several games you can play using them.
I actually bought it because I hope to use it one day in an #agile #retrospective. For instance to find the feelings we have and the needs that were met when we have something to celebrate. Or, the other way around. When there is tension or frustration, we can use these cards and games as well.
In the meantime, I can use them for myself 😉