2019-01-15

fast csv export

https://blogs.oracle.com/opal/fast-generation-of-csv-and-json-from-oracle-database


sqlplus -s -m 'csv on' cj@localhost/pdb1 @t.sql
(Pro tip: the -s silent option may hide the password prompt on some platforms making SQL*Plus appear to hang! Enter the password and all will be well.)
CSV mode bypasses the traditional SQL*Plus pagination routines, making output faster to generate. And using the -m 'csv on' option additionally invokes a faster I/O subsystem, and also automatically sets some SET options to the values of another new option sqlplus -f. Two of the changes are increasing SET ARRAYSIZE to 100 and SET ROWPRETCH to 2.
Increasing SET ARRAYSIZE allows larger amounts of data to be returned in each low level request to the database, thus improving overall efficiency. Having SET ROWPRETCH to 2 reduces the database 'round trips' required between SQL*Plus and the database for queries that return only single rows. You should adjust the values of these, and other, settings to suit your data size and performance goals.
CSV mode can be used when connecting SQL*Plus 12.2 to Oracle Database 12.2 or earlier.

2019-01-14

pcionianic

https://www.decatorevista.ro/firesc/

Pentru el a fost o traumă îngrozitoare, față de sistemul medical din Marea Britanie, România e foarte departe. Patru luni de zile cât a stat mama în spitale, nimeni nu a spălat-o. Nimeni. Singurii care făceam asta eram noi, de două-trei ori pe zi. S-a șocat când a văzut cum arată saloanele, s-a șocat când a văzut că punga de colostomă se golea într-o sticlă de Perwoll tăiată cu foarfeca, s-a șocat când vedea că infirmierele aduceau mâncarea cu cărucioarele și aveau pe mâini mănuși de menaj, care erau nesterile și cu aceleași mănuși adunau prosoapele sau cearșafurile pline de puroi și sânge.
Bacteriile au omorât-o pe mama, nu cancerul. Mama a murit de septicemie. A fost o pierdere enormă pentru mine, dar și pentru prietenii mei. 

P

https://republica.ro/zmi-am-gasit-masina-zgariata-stergatoarele-trase-in-asa-fel-incat-au-fost-deteriorate-un-adevarat-cosmar

2019-01-09

8lei/zi

Cercul vicios al alimentației proaste
Pentru a lua decizii bune, corpul tău trebuie să funcționeze bine. Am realizat că cei care nu au bani și nu au educația nutrițională la care am avut eu acces, locuind în unul din cele mai mari centre universitare din țară și având acces la internet, intră într-un fel de cerc vicios.
Nu se simt bine pentru că nu au o alimentație corectă, asta îi face să își spună o poveste despre cât de rău le este, iar această stare îi face să ia decizii care îi mențin acolo și tot așa. E greu să ai perspectivă când te simți ca naiba.

2019-01-07

ppor performance after upgrade to oracle 12c

http://blog.solvaria.com/performance-hit-after-migrating-to-oracle-12c

optimizer_adaptive_features = FALSE - After upgrading to Oracle Database 12c, many PeopleSoft customers have noticed overall performance degradation which is related to Oracle 12c Optimizer Adaptive Feature (OAF). It is recommended that this value be disabled in all Oracle Databases running PeopleSoft Applications.
As stated, the parameter in Oracle 12.1 that controls Adaptive features is: OPTIMIZER_ADAPTIVE_FEATURES.
In Oracle 12.2, that parameter is obsolete and it is now controlled by two separate parameters: OPTIMIZER_ADAPTIVE_PLANS, OPTIMIZER_ADAPTIVE_STATISTICS.
NOTE: If you apply patch 22652097 to a 12.1.xx database, it will “split” OPTIMIZER_ADAPTIVE_FEATURES into the two separate parameters that 12.2 uses.
The parameter can be dynamically changed and set at the session level as well (no restart required!).
If you’re struggling with performance issues after a 12c upgrade, try disabling the adaptive features to see if it helps.
 After disabling OPTIMIZER_ADAPTIVE_FEATURES, PeopleSoft performance was excellent and we had no more end user complaints.

AI in FINLAND

https://www.politico.eu/article/finland-one-percent-ai-artificial-intelligence-courses-learning-training/