- DEP
xxxx
- Author
Marc Tamlyn, Akshesh Doshi
- Status
Draft
- Type
Feature
- Created
2016-03-03
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#model | |
class Student(models.Model): | |
name = models.CharField(max_length=200, db_index=True, unique=True) | |
branch = models.CharField(max_length=20, db_index=True) | |
college = models.CharField(max_length=100, unique=True) | |
year = models.CharField(max_length=100) | |
def __unicode__(self): | |
return self.name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Desired output: | |
relname | array | indisunique | indisprimary | order | type (can skip this if it is difficult to get this column) | |
---------------------------------+-------+-------------+--------------+-------------+----------------------------------------------------------- | |
ticket26180_indexes_spamin_pkey | {id} | t | t | {ASC} | btree | |
ticket26180_a_6fe9a5_idx | {a,b} | f | f | {ASC, ASC} | btree | |
test26180_indexes_spamin_atpata | {a,b} | f | f | {ASC, DESC} | btree | |
test26180_indexes_spamin_b_hsh | {b} | f | f | | hash | |
test26180_indexes_spamin_a_hsh | {a} | f | f | | hash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir /var/lock/subsys | |
touch /var/lock/subsys/listener | |
sudo rm -rf /dev/shm | |
sudo mkdir /dev/shm | |
sudo mount -t tmpfs shmfs -o size=2048m /dev/shm | |
sudo service oracle-xe restart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
___ _ __ _ _ ___ ___ ___ | |
/ \__ _| |_ __ _ / _(_) | ___ / \/ __\ / _ \ | |
/ /\ / _` | __/ _` | |_| | |/ _ \ / /\ /__\// / /_\/ | |
/ /_// (_| | || (_| | _| | | __/ / /_// \/ \/ /_\\ | |
/___,' \__,_|\__\__,_|_| |_|_|\___| /___,'\_____/\____/ | |
Collection to check: | |
Prints details (Y/N/full)? Checking collection #8: | |
------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://qph.ec.quoracdn.net/main-qimg-b1a6103989e261ac377e821fbd192393-c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" zip.vim version v27 | |
" Browsing zipfile /home/hadoopuser/hadoop/lib/mongo-hadoop-core-2.0.2.jar | |
" Select a file with cursor and press ENTER | |
META-INF/ | |
META-INF/MANIFEST.MF | |
com/ | |
com/mongodb/ | |
com/mongodb/hadoop/ | |
com/mongodb/hadoop/MongoOutputFormat.class |
OlderNewer