Posts by Eduardo Klein • 93 points
6 posts
-
0
votes3
answers80
viewsA: Access to Mysql
Expensive, The database name inside the server hasn’t changed? It looks like you are connecting correctly in the database, but you are not accessing the database. Check the database name in the…
phpanswered Eduardo Klein 93 -
0
votes1
answer96
viewsA: Create Mongodb database and user via shell
Friend, as you did not post the error returned, it is difficult to be sure, but I believe the problem is that the delimiter of your command are double quotes, which are used in the command itself.…
-
1
votes2
answers68
viewsA: Mongodb Agregation + Lookup
Friend, Unlike the SQL paradigm, where you relate tables and cross-reference data in the query, in Mongodb (Nosql) you will not relate the lists. You have two possibilities here: Search the desired…
mongodbanswered Eduardo Klein 93 -
4
votes1
answer295
viewsQ: Slow query about Mongodb with index
I have a Mongodb collection of about 1.7 million documents, averaging 6kb per document. The bank is in a reasonable machine, with 6Gb of RAM and 4 Cpus This collection has an index on all fields of…
mongodbasked Eduardo Klein 93 -
1
votes3
answers1220
viewsA: Use of the sub function in R - string with special characters
Another alternative, which I consider more elegant, is to treat the file encoding in the load of the same, instead of correcting wrongly configured load errors. It is possible to define the encoding…
-
3
votes1
answer2369
viewsQ: Stacked Bar Graph - Labels and Sort - GGPLOT
I am building a graph indicating the population of the Brazilian states, organized by regions, according to the code below: State <- c("Rondônia", "Acre", "Amazonas", "Roraima", "Pará", "Amapá",…